public class MoLineDetail extends SoLineDetail implements java.lang.Cloneable
This class contains detail information about a line segment in a vertex-based
shape made of line segments (extends SoLineDetail
). Additional
information includes the input mesh and the mesh representation details. It
also allows computing the value of the mapped scalarset used for coloring at
any points along the line segment.
Detail objects are returned by the SoPickedPoint
class after picking.
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
MoLineDetail |
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 line
belongs to, represented as a
MoMeshDetail . |
MoLineMeshDetail |
getMeshRepresentationDetail()
Returns information about the mesh representation (outline, ...) containing
the line, represented as a
MoLineMeshDetail , if available, returns
null otherwise. |
double |
getValue(SbVec3f point)
Computes and returns the value of the mapped scalarset at the given point.
|
getLineIndex, getPartIndex, getPoint0, getPoint1, setLineIndex, setPartIndex, setPoint0, setPoint1
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public double getValue(SbVec3f point)
point
- a 3D pointpublic MoMeshDetail getMeshDetail()
MoMeshDetail
.public MoLineMeshDetail getMeshRepresentationDetail()
MoLineMeshDetail
, if available, returns
null otherwise.public SoDetail copy()
SoLineDetail
copy
in class SoLineDetail
public MoLineDetail clone()
clone
in class java.lang.Object
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com