MiVolumeMeshRegular Class Reference
[Mesh interfaces]

MeshViz Regular volume mesh abstract interface. More...

#include <MeshVizXLM/mesh/MiVolumeMeshRegular.h>

Inheritance diagram for MiVolumeMeshRegular:
MiMeshIjk MiMeshRegular MiMesh MiMesh MbVolumeMeshRegular< _CoordT, _ScalarT, _Vec3T, _Layout > MyVolumeMeshRegular

List of all members.

Protected Member Functions

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

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

See related examples:

Bench_Probe, TutorialComputeSliceArea, MyVolumeMeshRegular


Member Function Documentation

virtual std::ostream& MiVolumeMeshRegular::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 from MiMeshIjk.


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

Open Inventor Toolkit reference manual, generated on 28 Oct 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/