MiMesh Class Reference
[Mesh interfaces]

MeshViz Abstract mesh interface. More...

#include <MeshVizXLM/mesh/MiMesh.h>

Inheritance diagram for MiMesh:
MiMeshIj MiMeshIjk MiMeshRegular MiMeshUnstructured MeXMeshIj MiSurfaceMeshCurvilinear MiSurfaceMeshRectilinear MiSurfaceMeshRegular MiVolumeMeshCurvilinear MiVolumeMeshHexahedronIjk MiVolumeMeshRectilinear MiVolumeMeshRegular MiVolumeMeshVertexHexahedronIjk MiLineMeshRegular MiSurfaceMeshRegular MiVolumeMeshRegular MeXMeshUnstructured MiLineMeshCurvilinear MiMeshUnstructuredI MiPointMeshCurvilinear MiVolumeMeshHexahedronIjk

List of all members.

Public Types

enum  Dimension {
  DIMENSION_I = 0,
  DIMENSION_J = 1,
  DIMENSION_K = 2
}

Public Member Functions

virtual ~MiMesh ()

Protected Member Functions

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

Friends

std::ostream & operator<< (std::ostream &s, const MiMesh &mesh)

Detailed Description

MeshViz Abstract mesh interface.

This interface defines an abstract mesh. An abstract mesh organizes the domain by using a geometry and a topology. Thus, any implementing class of MiMesh must implement the methods getGeometry() and getTopology().

See also:
MiLineMeshRegular
MiLineMeshCurvilinear
MiLineMeshUnstructured
MiSurfaceMeshRegular
MiSurfaceMeshRectilinear
MiSurfaceMeshCurvilinear
MiSurfaceMeshUnstructured
MiVolumeMeshRegular
MiVolumeMeshRectilinear
MiVolumeMeshCurvilinear
MiVolumeMeshUnstructured
MiVolumeMeshHexahedronIjk
MiVolumeMeshVertexHexahedronIjk
See related examples:

MeshVizTemplates


Member Enumeration Documentation

Defines the dimensions in a one, two, or three-dimensional array.

Enumerator:
DIMENSION_I 
DIMENSION_J 
DIMENSION_K 

Constructor & Destructor Documentation

virtual MiMesh::~MiMesh (  )  [inline, virtual]

Member Function Documentation

virtual std::ostream& MiMesh::toStream ( std::ostream &  s  )  const [protected, pure 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.

Implemented in MiLineMeshCurvilinear, MiLineMeshRegular, MiLineMeshUnstructured, MiMeshIjk, MiPointMeshCurvilinear, MiSurfaceMeshCurvilinear, MiSurfaceMeshRectilinear, MiSurfaceMeshRegular, MiSurfaceMeshUnstructured, MiVolumeMeshCurvilinear, MiVolumeMeshHexahedronIjk, MiVolumeMeshRectilinear, MiVolumeMeshRegular, MiVolumeMeshUnstructured, and MiVolumeMeshVertexHexahedronIjk.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const MiMesh mesh 
) [friend]

Outputs the mesh to a stream using the toStream protected method implemented in all derived classes.


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/