MiLineMeshRegular Class Reference
[Mesh interfaces]

MeshViz Regular line mesh abstract interface. More...

#include <MeshVizXLM/mesh/MiLineMeshRegular.h>

Inheritance diagram for MiLineMeshRegular:
MiMeshRegular MiMesh

List of all members.

Public Member Functions

virtual const MiTopologyIgetTopology () const =0

Protected Member Functions

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

Detailed Description

MeshViz Regular line mesh abstract interface.

This interface defines a regular line mesh. This is a straight line subdivided into getNumCells() segment cells of equal size. The number of cells is given by getNumCells(), in the MiTopologyI interface. The bounds of this line are given by getMin() and getMax() inherited from MiMeshRegular::getGeometry().

SEE ALSO

MiLineMeshCurvilinear, MiLineMeshUnstructured

See related examples:

MyLineMeshRegular


Member Function Documentation

virtual const MiTopologyI& MiLineMeshRegular::getTopology (  )  const [pure virtual]

Returns the topology of this mesh.

virtual std::ostream& MiLineMeshRegular::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 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/