public class MoFaceDetail extends SoFaceDetail implements java.lang.Cloneable
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.
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
MoFaceDetail |
clone() |
SoDetail |
copy()
Returns an instance that is a copy of this instance.
|
MoMeshDetail |
getMeshDetail()
Returns information about the input mesh containing the cell that the face
belongs to, represented as a
MoMeshDetail . |
MoSurfaceMeshDetail |
getMeshRepresentationDetail()
Returns information about the mesh representation (skin, isosurface...)
containing the face, represented as a
MoSurfaceMeshDetail , if
available, returns null otherwise. |
double |
getValue(SbVec3f point)
Computes and returns the value of the mapped scalarset at the given point.
|
getFaceIndex, getNumPoints, getPartIndex, getPoint, getPoints, setFaceIndex, setNumPoints, setPartIndex, setPoint
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public double getValue(SbVec3f point)
point
- a 3D pointpublic MoMeshDetail getMeshDetail()
MoMeshDetail
.public MoSurfaceMeshDetail getMeshRepresentationDetail()
MoSurfaceMeshDetail
, if
available, returns null otherwise.public SoDetail copy()
SoFaceDetail
copy
in class SoFaceDetail
public MoFaceDetail clone()
clone
in class java.lang.Object
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com