Regular line mesh abstract interface. More...
#include <MeshVizXLM/mesh/MiLineMeshRegular.h>
Public Member Functions | |
virtual const MiTopologyI & | getTopology () const =0 |
Returns the topology of this mesh. | |
Public Member Functions inherited from MiMeshRegular | |
virtual const MiGeometryRegular & | getGeometry () const =0 |
Returns the geometry of this mesh. | |
Public Member Functions inherited from MiMesh | |
virtual | ~MiMesh () |
Protected Member Functions | |
virtual std::ostream & | toStream (std::ostream &s) const |
Performs an output operation on a stream which is returned afterward. | |
Additional Inherited Members | |
Public Types inherited from MiMesh | |
enum | Dimension { DIMENSION_I = 0 , DIMENSION_J = 1 , DIMENSION_K = 2 } |
Defines the dimensions in a one, two, or three-dimensional array. More... | |
Regular line mesh abstract interface.
This interface defines a regular line mesh. This is a straight line subdivided into getNumCells() segment cells of equal size. The number of cells is given by getNumCells(), in the MiTopologyI interface. The bounds of this line are given by getMin() and getMax() inherited from MiMeshRegular::getGeometry().
MiLineMeshCurvilinear, MiLineMeshUnstructured
Definition at line 54 of file MiLineMeshRegular.h.
|
pure virtual |
Returns the topology of this mesh.
|
inlineprotectedvirtual |
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.
Implements MiMesh.
Definition at line 66 of file MiLineMeshRegular.h.