Stores detail information about vertex-based shapes made of faces from unstructured meshes and structured line meshes. More...
#include <MeshVizXLM/mapping/details/MoFaceDetailI.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
Returns the type identifier for this specific instance. | |
MoFaceDetailI () | |
Constructor. | |
virtual | ~MoFaceDetailI () |
Destructor. | |
size_t | getCellIndex () const |
Returns the index of the cell containing the face within the input mesh. | |
virtual MoFaceDetailI * | copy () const |
Returns an instance that is a copy of this instance. | |
Public Member Functions inherited from MoFaceDetail | |
MoFaceDetail () | |
Constructor. | |
virtual | ~MoFaceDetail () |
Destructor. | |
double | getValue (const SbVec3f &point) const |
Computes and returns the first value of the mapped scalarset at the given point. | |
std::vector< double > | getValues (const SbVec3f &point) const |
Computes and returns all values of the mapped scalarsets at the given point. | |
const MoMeshDetail * | getMeshDetail () const |
Returns information about the input mesh containing the cell that the face belongs to, represented as a MoMeshDetail. | |
const MoSurfaceMeshDetail * | getMeshRepresentationDetail () const |
Returns information about the mesh representation (skin, isosurface...) containing the face, represented as a MoSurfaceMeshDetail, if available, returns NULL otherwise. | |
Public Member Functions inherited from SoFaceDetail | |
SoFaceDetail () | |
Constructor. | |
virtual | ~SoFaceDetail () |
Destructor. | |
int32_t | getNumPoints () const |
Returns the number of points in the face. | |
const SoPointDetail * | getPoint (int i) const |
Returns information about the point forming the i'th vertex of the face, represented as an SoPointDetail. | |
int32_t | getFaceIndex () const |
Returns the index of the face within the shape. | |
int32_t | getPartIndex () const |
Returns the index of the part containing the face within the shape. | |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Static Public Member Functions inherited from MoFaceDetail | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Static Public Member Functions inherited from SoFaceDetail | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Static Public Member Functions inherited from SoDetail | |
static SoType | getClassTypeId () |
Returns type identifier for this class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Stores detail information about vertex-based shapes made of faces from unstructured meshes and structured line meshes.
This class contains detail information about a face in a vertex-based shape made of faces (extends MoFaceDetail). Additional information includes the index of the cell that contains this face in the mesh stored in the associated MoMeshDetail (see MoFaceDetail::getMeshDetail()).
SoDetail, MoFaceDetail, MoMeshDetail, MoSurfaceMeshDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape
Definition at line 65 of file MoFaceDetailI.h.
MoFaceDetailI::MoFaceDetailI | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Returns an instance that is a copy of this instance.
The caller is responsible for deleting the copy when it is no longer needed.
Reimplemented from MoFaceDetail.
|
inline |
Returns the index of the cell containing the face within the input mesh.
Definition at line 82 of file MoFaceDetailI.h.
|
static |
Returns the type identifier for this class.
|
virtual |
Returns the type identifier for this specific instance.
Reimplemented from MoFaceDetail.