Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MoFaceDetail Class Reference

Stores detail information about vertex-based shapes made of faces. More...

#include <MeshVizXLM/mapping/details/MoFaceDetail.h>

+ Inheritance diagram for MoFaceDetail:

Public Member Functions

virtual SoType getTypeId () const
 Returns the type identifier for this specific instance.
 
 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 MoMeshDetailgetMeshDetail () const
 Returns information about the input mesh containing the cell that the face belongs to, represented as a MoMeshDetail.
 
const MoSurfaceMeshDetailgetMeshRepresentationDetail () const
 Returns information about the mesh representation (skin, isosurface...) containing the face, represented as a MoSurfaceMeshDetail, if available, returns NULL otherwise.
 
virtual MoFaceDetailcopy () const
 Returns an instance that is a copy of this instance.
 
- Public Member Functions inherited from SoFaceDetail
 SoFaceDetail ()
 Constructor.
 
virtual ~SoFaceDetail ()
 Destructor.
 
int32_t getNumPoints () const
 Returns the number of points in the face.
 
const SoPointDetailgetPoint (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 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.
 

Detailed Description

Stores detail information about vertex-based shapes made of faces.

This class contains detail information about a face in a vertex-based shape made of faces (extends SoFaceDetail). Additional information includes the input mesh and mesh representation details. It also allows computing the value of the mapped scalarset used for coloring at any points in the face.

Detail objects are returned by the SoPickedPoint class after picking.

SEE ALSO

SoDetail, SoFaceDetail, SoPickedPoint, MoMeshDetail, MoSurfaceMeshDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape

Definition at line 73 of file MoFaceDetail.h.

Constructor & Destructor Documentation

◆ MoFaceDetail()

MoFaceDetail::MoFaceDetail ( )

Constructor.

◆ ~MoFaceDetail()

virtual MoFaceDetail::~MoFaceDetail ( )
virtual

Destructor.

Member Function Documentation

◆ copy()

virtual MoFaceDetail * MoFaceDetail::copy ( ) const
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 SoFaceDetail.

Reimplemented in MoFaceDetailI, MoFaceDetailIj, and MoFaceDetailIjk.

◆ getClassTypeId()

static SoType MoFaceDetail::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getMeshDetail()

const MoMeshDetail * MoFaceDetail::getMeshDetail ( ) const
inline

Returns information about the input mesh containing the cell that the face belongs to, represented as a MoMeshDetail.

Definition at line 103 of file MoFaceDetail.h.

◆ getMeshRepresentationDetail()

const MoSurfaceMeshDetail * MoFaceDetail::getMeshRepresentationDetail ( ) const
inline

Returns information about the mesh representation (skin, isosurface...) containing the face, represented as a MoSurfaceMeshDetail, if available, returns NULL otherwise.

Definition at line 110 of file MoFaceDetail.h.

◆ getTypeId()

virtual SoType MoFaceDetail::getTypeId ( ) const
virtual

Returns the type identifier for this specific instance.

Reimplemented from SoFaceDetail.

Reimplemented in MoFaceDetailI, MoFaceDetailIj, and MoFaceDetailIjk.

◆ getValue()

double MoFaceDetail::getValue ( const SbVec3f point) const

Computes and returns the first value of the mapped scalarset at the given point.

Returns DBL_MAX if point not inside the face or no mapped scalarset available.

◆ getValues()

std::vector< double > MoFaceDetail::getValues ( const SbVec3f point) const

Computes and returns all values of the mapped scalarsets at the given point.

Returns an empty vector if point not inside the face or no mapped scalarset available.


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