Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MiTessellatedVolumeExtract.h File Reference

Go to the source code of this file.

Functions

virtual const MeXVolumeMeshUnstructuredtessellate (MiTessellator &tesselator, const MiCellFilterI *cellFilter=NULL)=0
 Builds a new linear volume mesh by tessellating each cell of the input mesh given to the factory method getNewInstance().
 
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetI &inputSet)=0
 Extracts a scalar set from the input mesh.
 
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetI &inputSet)=0
 Extracts a vector set from the input mesh.
 
virtual const MeXVolumeMeshUnstructuredgetExtract () const =0
 Returns the tessellated mesh extracted by the previous call to tessellate().
 

Function Documentation

◆ extractScalarSet()

virtual const MeXScalardSetI & extractScalarSet ( const MiScalardSetI inputSet)
pure virtual

Extracts a scalar set from the input mesh.

For PER_NODE dataset, the value of each point of the tessellation is calculated by using the shape functions of the input cell and the parametric coordinates of the each tessellated point. For PER_CELL dataset, the value of each tessellated cell is just a copy of the value of each input cell. The scalars are mapped onto the current tessellated mesh refering to either the line mesh or the point mesh depending on whether tessellate() or extractPoints() was last called.

Parameters
[in]inputSetthe input scalar set defined on the input mesh.
Returns
the output scalar set defined on the tessellated mesh.

◆ extractVec3Set()

virtual const MeXVec3dSetI & extractVec3Set ( const MiVec3dSetI inputSet)
pure virtual

Extracts a vector set from the input mesh.

For PER_NODE dataset, the value of each point of the tessellation is calculated by using the shape functions of the input cell and the parametric coordinates of the each tessellated point. For PER_CELL dataset, the value of each tessellated cell is just a copy of the value of each input cell. The vectors are mapped onto the current tessellated mesh refering to either the line mesh or the point mesh depending on whether tessellate() or extractPoints() was last called.

Parameters
[in]inputSetthe input vector set defined on the input mesh.
Returns
the output vector set defined on the tessellated mesh.

◆ getExtract()

virtual const MeXVolumeMeshUnstructured & getExtract ( ) const
pure virtual

Returns the tessellated mesh extracted by the previous call to tessellate().

◆ tessellate()

virtual const MeXVolumeMeshUnstructured & tessellate ( MiTessellator tesselator,
const MiCellFilterI cellFilter = NULL 
)
pure virtual

Builds a new linear volume mesh by tessellating each cell of the input mesh given to the factory method getNewInstance().

The tessellation is defined by the given tessellator.

Parameters
[in]tesselatorThe instance used to tessellate.
[in]cellFilterThe optional cell filter. volume cells excluded by this filter are neither tessellated nor included "as is" in the build mesh.
Returns
The tessellated mesh.