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

MeshViz Generic parallelepiped, rectangular or straight line geometry. More...

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

+ Inheritance diagram for MiGeometryRegular:

Public Member Functions

virtual MbVec3d getMin () const =0
 Returns the minimum value of this set.
 
virtual MbVec3d getMax () const =0
 Returns the maximum value of this set.
 
- Public Member Functions inherited from MiGeometry
virtual ~MiGeometry ()
 
virtual size_t getTimeStamp () const =0
 Returns for this geometry a unique time stamp across all geometries in the application.
 

Protected Member Functions

virtual std::ostream & toStream (std::ostream &s) const
 Performs an output operation on a stream which is returned afterward.
 

Detailed Description

MeshViz Generic parallelepiped, rectangular or straight line geometry.

A generic abstract interface for a parallelepiped geometry, a rectangle geometry or a straight line geometry. The geometry is given by two points defining two extremities. (see getMin() and getMax()).

Definition at line 40 of file MiGeometryRegular.h.

Member Function Documentation

◆ getMax()

virtual MbVec3d MiGeometryRegular::getMax ( ) const
pure virtual

Returns the maximum value of this set.

Reimplemented from MiGeometry.

Implemented in MeXGeometryRegular.

◆ getMin()

virtual MbVec3d MiGeometryRegular::getMin ( ) const
pure virtual

Returns the minimum value of this set.

Reimplemented from MiGeometry.

Implemented in MeXGeometryRegular.

◆ toStream()

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

Reimplemented from MiGeometry.

Definition at line 56 of file MiGeometryRegular.h.


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