public class SoNodeKitDetail extends SoDetail
During a pick action, each nodekit along the picked path creates its own SoNodeKitDetail
. Together, the full set of details gives you a complete picture of the pickpath.
Since nodekits have hidden children (see the reference page for SoBaseKit
), a regular SoPath
ends at the topmost nodekit in the path. If you cast the pickpath from an SoPath
to an SoNodeKitPath, you can then retrieve all nodekits along the path and examine their corresponding details.
See also:
SoBaseKit
, SoNodeKitPath, SoDetail
, SoPickedPoint
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoNodeKitDetail()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SoDetail |
copy()
Returns an instance that is a copy of this instance.
|
SoBaseKit |
getNodeKit()
Returns a reference to the nodekit that created this detail.
|
SoNode |
getPart()
Returns a reference to the part selected within the nodekit that created this detail.
|
java.lang.String |
getPartName()
Returns the name of the part selected within the nodekit that created this detail.
|
void |
setNodeKit(SoBaseKit theNodeKit) |
void |
setPart(SoNode thePart) |
void |
setPartName(java.lang.String theName) |
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public void setPart(SoNode thePart)
public java.lang.String getPartName()
SoRayPickAction
in the ACTIONS section of the SoBaseKit
reference page for more information).public void setNodeKit(SoBaseKit theNodeKit)
public SoDetail copy()
public SoBaseKit getNodeKit()
public SoNode getPart()
public void setPartName(java.lang.String theName)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com