Class SoNodeKitDetail
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.details.SoDetail
com.openinventor.inventor.details.SoNodeKitDetail
Stores detail information about a nodekit.
This class contains detail information about a nodekit. This consists of a reference to the nodekit, a reference to the child part within the nodekit, and the name of the child part.
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns an instance that is a copy of this instance.Returns a reference to the nodekit that created this detail.getPart()
Returns a reference to the part selected within the nodekit that created this detail.Returns the name of the part selected within the nodekit that created this detail.void
setNodeKit
(SoBaseKit theNodeKit) void
void
setPartName
(String theName) Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
SoNodeKitDetail
public SoNodeKitDetail()Constructor.
-
-
Method Details
-
setNodeKit
-
getPartName
Returns the name of the part selected within the nodekit that created this detail. (SeeSoRayPickAction
in the ACTIONS section of theSoBaseKit
reference page for more information). -
copy
Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed. -
getNodeKit
Returns a reference to the nodekit that created this detail. -
setPartName
-
getPart
Returns a reference to the part selected within the nodekit that created this detail. -
setPart
-