Abstract interface to write unstructured mesh geometry.
More...
#include <MeshVizXLM/extrmesh/geometry/MeWGeometryI.h>
|
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.
|
|
virtual size_t | getSize () const =0 |
| Returns the number of points in the geometry.
|
|
virtual MbVec3d | getCoord (size_t i) const =0 |
| Returns the i-th coordinate of this geometry.
|
|
virtual | ~MiGeometry () |
|
virtual size_t | getTimeStamp () const =0 |
| Returns for this geometry a unique time stamp across all geometries in the application.
|
|
virtual const SoBufferObject * | getBuffer () const =0 |
| Returns the buffer that stores the geometry of the extracted shape.
|
|
virtual MbVec3d | getMin () const =0 |
| Returns the minimum value of this set.
|
|
virtual MbVec3d | getMax () const =0 |
| Returns the maximum value of this set.
|
|
|
virtual std::ostream & | toStream (std::ostream &s) const |
| Performs an output operation on a stream which is returned afterward.
|
|
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.
◆ addCellCenter()
virtual void MeWGeometryI::addCellCenter |
( |
const MiCell * |
cell, |
|
|
const MiGeometryI & |
geometry |
|
) |
| |
|
pure virtual |
Add the center of a given cell.
- Parameters
-
[in] | cell | Given cell. |
[in] | geometry | Geometry 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] | cell | Given volume cell. |
[in] | facetId | Facet id in the given cell. |
[in] | geometry | Geometry 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] | coord | Node coordinate. |
[in] | nodeId | Node 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] | coord | Node coordinate. |
[in] | pcoord | Parametric coordinate. |
The documentation for this class was generated from the following file: