MoFaceDetail Class Reference
[Details]

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

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

Inheritance diagram for MoFaceDetail:
SoFaceDetail SoDetail SoTypedObject MoFaceDetailI MoFaceDetailIj MoFaceDetailIjk

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoFaceDetail ()
virtual ~MoFaceDetail ()
double getValue (const SbVec3f &point) const
std::vector< double > getValues (const SbVec3f &point) const
const MoMeshDetailgetMeshDetail () const
const MoSurfaceMeshDetailgetMeshRepresentationDetail () const
virtual MoFaceDetailcopy () const

Static Public Member Functions

static SoType getClassTypeId ()

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

See related examples:

FenceSliceSelection


Constructor & Destructor Documentation

MoFaceDetail::MoFaceDetail (  ) 

Constructor.

virtual MoFaceDetail::~MoFaceDetail (  )  [virtual]

Destructor.


Member Function Documentation

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.

static SoType MoFaceDetail::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoFaceDetail.

Reimplemented in MoFaceDetailI, MoFaceDetailIj, and MoFaceDetailIjk.

const MoMeshDetail* MoFaceDetail::getMeshDetail (  )  const [inline]

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

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.

virtual SoType MoFaceDetail::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoFaceDetail.

Reimplemented in MoFaceDetailI, MoFaceDetailIj, and MoFaceDetailIjk.

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.

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:

Open Inventor Toolkit reference manual, generated on 28 Oct 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/