Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MiSurfaceMeshCurvilinear Class Referenceabstract

MeshViz Curvilinear surface mesh abstract interface. More...

#include <MeshVizXLM/mesh/MiSurfaceMeshCurvilinear.h>

+ Inheritance diagram for MiSurfaceMeshCurvilinear:

Public Member Functions

virtual const MiGeometryIjgetGeometry () const =0
 Returns the geometry of this mesh.
 
- Public Member Functions inherited from MiMeshIj
virtual const MiTopologyIjgetTopology () const =0
 Returns the topology 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...
 

Detailed Description

MeshViz Curvilinear surface mesh abstract interface.

A Curvilinear Surface mesh is similar to a MiMeshIJ except that nodes are organized in a (NUMI+1,NUMJ+1) array where they can be accessed by (i,j) indices. So each node located inside the mesh (not on a border) is shared by four cells. However, the nodes are not evenly spaced as they can be in the MiSurfaceMeshRectilinear or MiSurfaceMeshRegular.

Note
Notice that, the virtual methods are the same as in the parent class. The RTTI system is used by some extraction algorithms to identify the mesh type in order to implement some specific optimization based on the properties described above.

SEE ALSO

MiSurfaceMeshRectilinear, MiSurfaceMeshRegular, MiSurfaceMeshUnstructured

Definition at line 53 of file MiSurfaceMeshCurvilinear.h.

Member Function Documentation

◆ getGeometry()

virtual const MiGeometryIj & MiSurfaceMeshCurvilinear::getGeometry ( ) const
pure virtual

Returns the geometry of this mesh.

Implemented in MeXSurfaceMeshCurvilinear.

◆ toStream()

virtual std::ostream & MiSurfaceMeshCurvilinear::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.

Implements MiMesh.

Definition at line 65 of file MiSurfaceMeshCurvilinear.h.


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