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, getNativeResourceHandle
public void setNodeKit(SoBaseKit theNodeKit)
public java.lang.String getPartName()
SoRayPickAction
in the ACTIONS section of the SoBaseKit
reference page for more information).public SoDetail copy()
public SoBaseKit getNodeKit()
public void setPartName(java.lang.String theName)
public SoNode getPart()
public void setPart(SoNode thePart)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com