Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
MeWGeometryI Class Referenceabstract

MeshViz Abstract interface to write unstructured mesh geometry. More...

#include <MeshVizXLM/extrmesh/geometry/MeWGeometryI.h>

+ Inheritance diagram for MeWGeometryI:

Public Member Functions

virtual void addInterpolatedCoord (const MbVec3d &coord, const MbVec3d &pcoord)=0
 Add a new interpolated node computed by the tessellator and its associated parametric coordinate to the tessellated geometry.
 
virtual void addInputCoord (const MbVec3d &coord, size_t nodeId)=0
 Add an input node associated with its index in the input geometry.
 
virtual void addCellCenter (const MiCell *cell, const MiGeometryI &geometry)=0
 Add the center of a given cell.
 
virtual void addFacetCenter (const MiVolumeCell *cell, size_t facetId, const MiGeometryI &geometry)=0
 Add the center of a facet in the given volume cell.
 
- Public Member Functions inherited from MeXGeometryI
virtual size_t getSize () const =0
 Returns the number of points in the geometry.
 
- Public Member Functions inherited from MiGeometryI
virtual MbVec3d getCoord (size_t i) const =0
 Returns the i-th coordinate of this geometry.
 
- 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.
 
- Public Member Functions inherited from MeXGeometryExplicit
virtual const SoBufferObjectgetBuffer () const =0
 Returns the buffer that stores the geometry of the extracted shape.
 
- Public Member Functions inherited from MeXGeometry
virtual MbVec3d getMin () const =0
 Returns the minimum value of this set.
 
virtual MbVec3d getMax () const =0
 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 Abstract interface to write unstructured mesh geometry.

This interface is used by the existing tessellator instances (see MiTessellator) to write into the geometry of the tessellated line, surface and volume meshes. It is designed to allow the application to implement its own tessellator class.

Definition at line 48 of file MeWGeometryI.h.

Member Function Documentation

◆ addCellCenter()

virtual void MeWGeometryI::addCellCenter ( const MiCell cell,
const MiGeometryI geometry 
)
pure virtual

Add the center of a given cell.

Parameters
[in]cellGiven cell.
[in]geometryGeometry to used for center computation

◆ addFacetCenter()

virtual void MeWGeometryI::addFacetCenter ( const MiVolumeCell cell,
size_t  facetId,
const MiGeometryI geometry 
)
pure virtual

Add the center of a facet in the given volume cell.

Parameters
[in]cellGiven volume cell.
[in]facetIdFacet id in the given cell.
[in]geometryGeometry used for coordinate computation

◆ addInputCoord()

virtual void MeWGeometryI::addInputCoord ( const MbVec3d coord,
size_t  nodeId 
)
pure virtual

Add an input node associated with its index in the input geometry.

Parameters
[in]coordNode coordinate.
[in]nodeIdNode id in the input mesh.

◆ addInterpolatedCoord()

virtual void MeWGeometryI::addInterpolatedCoord ( const MbVec3d coord,
const MbVec3d pcoord 
)
pure virtual

Add a new interpolated node computed by the tessellator and its associated parametric coordinate to the tessellated geometry.

Parameters
[in]coordNode coordinate.
[in]pcoordParametric coordinate.

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