Class SoNodeKitDetail
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.details.SoDetail
-
- com.openinventor.inventor.details.SoNodeKitDetail
-
public class SoNodeKitDetail extends SoDetail
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 regularSoPathends at the topmost nodekit in the path. If you cast the pickpath from anSoPathto an SoNodeKitPath, you can then retrieve all nodekits along the path and examine their corresponding details.- See Also:
SoBaseKit SoNodeKitPath,SoDetail,SoPickedPoint
-
-
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 Constructor Description SoNodeKitDetail()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoDetailcopy()Returns an instance that is a copy of this instance.SoBaseKitgetNodeKit()Returns a reference to the nodekit that created this detail.SoNodegetPart()Returns a reference to the part selected within the nodekit that created this detail.java.lang.StringgetPartName()Returns the name of the part selected within the nodekit that created this detail.voidsetNodeKit(SoBaseKit theNodeKit)voidsetPart(SoNode thePart)voidsetPartName(java.lang.String theName)-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
setNodeKit
public void setNodeKit(SoBaseKit theNodeKit)
-
getPartName
public java.lang.String getPartName()
Returns the name of the part selected within the nodekit that created this detail. (SeeSoRayPickActionin the ACTIONS section of theSoBaseKitreference page for more information).
-
copy
public SoDetail 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
public SoBaseKit getNodeKit()
Returns a reference to the nodekit that created this detail.
-
setPartName
public void setPartName(java.lang.String theName)
-
getPart
public SoNode getPart()
Returns a reference to the part selected within the nodekit that created this detail.
-
setPart
public void setPart(SoNode thePart)
-
-