Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
MiVolumeMeshRegular Class Reference

MeshViz Regular volume mesh abstract interface. More...

#include <MeshVizXLM/mesh/MiVolumeMeshRegular.h>

+ Inheritance diagram for MiVolumeMeshRegular:

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 MiMeshIjk
enum  StorageLayout {
  LAYOUT_IJK ,
  LAYOUT_IKJ ,
  LAYOUT_JKI ,
  LAYOUT_JIK ,
  LAYOUT_KJI ,
  LAYOUT_KIJ ,
  LAYOUT_UNKNOWN
}
 Hint about data organization in memory. More...
 
- 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...
 
- Public Member Functions inherited from MiMeshIjk
virtual const MiTopologyIjkgetTopology () const =0
 Returns the topology of this mesh.
 
- Public Member Functions inherited from MiMesh
virtual ~MiMesh ()
 
- Public Member Functions inherited from MiMeshRegular
virtual const MiGeometryRegulargetGeometry () const =0
 Returns the geometry of this mesh.
 

Detailed Description

MeshViz Regular volume mesh abstract interface.

This interface defines a regular volume mesh. It is a parallelepiped subdivided into parallelepiped cells. All cells have the same size. The geometry of this parallelepiped is given by getMin() and getMax() inherited from MiMeshRegular::getGeometry(). The number of cells on each axis is given by getNumCellsI(), getNumCellsJ() and getNumCellsK() inherited from MiMeshIjk::getTopology().

SEE ALSO

MiVolumeMeshCurvilinear, MiVolumeMeshRectilinear, MiVolumeMeshUnstructured, MiVolumeMeshHexahedronIjk, MiVolumeMeshVertexHexahedronIjk

Definition at line 57 of file MiVolumeMeshRegular.h.

Member Function Documentation

◆ toStream()

virtual std::ostream & MiVolumeMeshRegular::toStream ( std::ostream &  s) const
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.

Reimplemented from MiMeshIjk.

Definition at line 64 of file MiVolumeMeshRegular.h.


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