MiGeometry Class Reference
[Geometry]

MeshViz Generic geometry interface. More...

#include <MeshVizXLM/mesh/geometry/MiGeometry.h>

Inheritance diagram for MiGeometry:
MbGeometry MeXGeometry MiGeometryHexahedronIjk MiGeometryI MiGeometryIj MiGeometryIjk MiGeometryRegular MiSurfaceGeometryRectilinear MiVolumeGeometryRectilinear

List of all members.

Public Member Functions

virtual ~MiGeometry ()
virtual size_t getTimeStamp () const =0

Protected Member Functions

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

Friends

std::ostream & operator<< (std::ostream &s, const MiGeometry &dataset)

Deprecated



virtual SoDEPRECATED MbVec3d getMin () const
virtual SoDEPRECATED MbVec3d getMax () const

Detailed Description

MeshViz Generic geometry interface.

Generic base class of geometry interfaces used by mesh interfaces.


Constructor & Destructor Documentation

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

Member Function Documentation

virtual SoDEPRECATED MbVec3d MiGeometry::getMax (  )  const [inline, virtual]
virtual SoDEPRECATED MbVec3d MiGeometry::getMin (  )  const [inline, virtual]
virtual size_t MiGeometry::getTimeStamp (  )  const [pure virtual]

Returns for this geometry a unique time stamp across all geometries in the application.

When the content of the geometry changes, the time stamp must increase. The time stamp allows extractors to identify this geometry and to be aware of any changes to it.

Note:
MxTimeStamp can be used to generate a valid time stamp.

Implemented in MbGeometry, MbGeometryHexahedronIjk< LAYOUT >, MyGeometryI, MyGeometryRegular, MyGeometryI, MyGeometryIj, MySurfaceGeometryRectilinear, MyGeometryRegular, MyGeometryI, MyGeometryIjk, MyGeometryI, MyVolumeGeometryRectilinear, MyGeometryRegular, MyGeometryI, MyGeometryHexahedronIjk, and MbGeometryHexahedronIjk< _LAYOUT >.

virtual std::ostream& MiGeometry::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 in MiGeometryRegular.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const MiGeometry dataset 
) [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 17 Dec 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/