MiLineTopologyExplicitI Class Reference
[Topology]

MeshViz List of line cells interface. More...

#include <MeshVizXLM/mesh/topology/MiLineTopologyExplicitI.h>

Inheritance diagram for MiLineTopologyExplicitI:
MiTopologyExplicitI MiTopologyI MiTopology MeXLineTopologyExplicitI MeWLineTopologyExplicitI

List of all members.

Public Member Functions

virtual const MiLineCellgetCell (size_t id) const =0

Protected Member Functions

virtual std::ostream & toStream (std::ostream &s) const

Detailed Description

MeshViz List of line cells interface.

A generic abstract interface for unstructured line mesh topology.

See related examples:

MyLineMeshUnstructured


Member Function Documentation

virtual const MiLineCell* MiLineTopologyExplicitI::getCell ( size_t  id  )  const [pure virtual]

Returns a cell of this topology.

The cell is identified by one id.

Reimplemented from MiTopologyExplicitI.

Implemented in MeXLineTopologyExplicitI.

virtual std::ostream& MiLineTopologyExplicitI::toStream ( std::ostream &  s  )  const [inline, protected, virtual]

Performs an output operation on a stream which is returned afterward. This method is protected since only called by the output operator <<. This method is not pure virtual and output by default the geometry and topology of a mesh. Whenever a different output is needed, this method can be implemented in the subclass to get a different output format. No std::ostream& operator << needs to be defined in any subclass. This allows you to benefit from the virtual inheritance when using the output operator on an abstract class.

Reimplemented from MiTopologyExplicitI.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/