Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
MiSurfaceGeometryRectilinear Class Referenceabstract

MeshViz Generic rectilinear surface geometry. More...

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

+ Inheritance diagram for MiSurfaceGeometryRectilinear:

Public Member Functions

virtual double getX (size_t i) const =0
 Returns the i-th coordinate along the X axis.
 
virtual double getY (size_t j) const =0
 Returns the j-th coordinate along the Y axis.
 
virtual MbVec3d getNormal () const
 Returns the normal of the plane on which the rectilinear mesh is defined.
 
virtual double getDistance () const
 Returns the distance to the origin of the plane on which the rectilinear mesh is defined.
 
- 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.
 
virtual SoDEPRECATED MbVec3d getMin () const
 Returns the minimum value of this set.
 
virtual SoDEPRECATED MbVec3d getMax () const
 Returns the maximum value of this set.
 

Additional Inherited Members

- Protected Member Functions inherited from MiGeometry
virtual std::ostream & toStream (std::ostream &s) const
 Performs an output operation on a stream which is returned afterward.
 

Detailed Description

MeshViz Generic rectilinear surface geometry.

This interface is used by MiSurfaceMeshRectilinear to access the geometry describing a rectilinear surface mesh.

Note
The existing representation nodes that use this type of geometry currently only handle geometry on the XY, YZ or ZX plane even though getNormal() could define any plane for this geometry.

Definition at line 42 of file MiSurfaceGeometryRectilinear.h.

Member Function Documentation

◆ getDistance()

virtual double MiSurfaceGeometryRectilinear::getDistance ( ) const
inlinevirtual

Returns the distance to the origin of the plane on which the rectilinear mesh is defined.

Returns
0 by default.

Definition at line 68 of file MiSurfaceGeometryRectilinear.h.

◆ getNormal()

virtual MbVec3d MiSurfaceGeometryRectilinear::getNormal ( ) const
inlinevirtual

Returns the normal of the plane on which the rectilinear mesh is defined.

Returns
(0,0,1) by default (defining the plane XY).

Definition at line 59 of file MiSurfaceGeometryRectilinear.h.

◆ getX()

virtual double MiSurfaceGeometryRectilinear::getX ( size_t  i) const
pure virtual

Returns the i-th coordinate along the X axis.

◆ getY()

virtual double MiSurfaceGeometryRectilinear::getY ( size_t  j) const
pure virtual

Returns the j-th coordinate along the Y axis.


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