MiVolumeMeshUnstructured Class Reference
[Mesh interfaces]

MeshViz Unstructured volume mesh abstract interface. More...

#include <MeshVizXLM/mesh/MiVolumeMeshUnstructured.h>

Inheritance diagram for MiVolumeMeshUnstructured:
MiMeshUnstructuredI MiMeshUnstructured MiMesh MeXVolumeMeshUnstructured

List of all members.

Public Member Functions

virtual const
MiVolumeTopologyExplicitI
getTopology () const =0
virtual const
MiVolumeMeshUnstructured
getNewClone () const

Protected Member Functions

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

Detailed Description

MeshViz Unstructured volume mesh abstract interface.

This interface defines an unstructured volume mesh. It can contain any type of volume cell, like tetrahedrons, hexahedrons etc.

SEE ALSO

MiVolumeMeshCurvilinear, MiVolumeMeshHexahedronIJK, MiVolumeMeshRectilinear, MiVolumeMeshRegular, MiVolumeMeshUnstructuredIJK, MiVolumeMeshVertexHexahedronIjk

See related examples:

TutorialComputeSliceArea, MyVolumeMeshUnstructured


Member Function Documentation

virtual const MiVolumeMeshUnstructured* MiVolumeMeshUnstructured::getNewClone (  )  const [inline, virtual]

Gets a new clone of this mesh.

This method creates and returns a new instance of the class of this object by copying all fields of this instance. The application is responsible for deleting the new instance returned. This method is not pure virtual because it is not always necessary to get a copy of a mesh. However the mesh instances returned by any extraction method are always cloneable. By default this method throws an exception of type MiAbstractMethodError.

Reimplemented in MeXVolumeMeshUnstructured.

virtual const MiVolumeTopologyExplicitI& MiVolumeMeshUnstructured::getTopology (  )  const [pure virtual]

Returns the topology of this mesh.

Implements MiMeshUnstructuredI.

Implemented in MeXVolumeMeshUnstructured.

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

Implements MiMesh.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/