1SoNodeKitDetail(3IV)() SoNodeKitDetail(3IV)()
2
3
4
6 SoNodeKitDetail — stores detail information about a nodekit
7
9 SoDetail > SoNodeKitDetail
10
12 #include <Inventor/details/SoNodeKitDetail.h>
13
14 Methods from class SoNodeKitDetail:
15
16 SoNodeKitDetail()
17 virtual ~SoNodeKitDetail()
18 SoBaseKit * getNodeKit() const
19 SoNode * getPart() const
20 const SbName & getPartName() const
21
22 Methods from class SoDetail:
23
24 SoDetail * copy() const
25 static SoType getClassTypeId()
26 virtual SoType getTypeId() const
27 SbBool isOfType(SoType type) const
28
29
31 This class contains detail information about a nodekit. This consists
32 of a pointer to the nodekit, a pointer to the child part within the
33 nodekit, and the name of the child part.
34
35 During a pick action, each nodekit along the picked path creates its
36 own SoNodeKitDetail. Together, the full set of details gives you com‐
37 plete picture of the pickpath.
38
39 Since nodekits have hidden children (See the reference page for
40 SoBaseKit), a regular SoPath ends at the topmost nodekit in the path.
41 If you cast the pickpath from an SoPath pointer to an SoNodeKitPath
42 pointer, you can then retrieve all nodekits along the path and examine
43 their corresponding details.
44
46 SoNodeKitDetail()
47 virtual ~SoNodeKitDetail()
48 Constructor and destructor.
49
50 SoBaseKit * getNodeKit() const
51 Returns a pointer to the nodekit that created this detail.
52
53 SoNode * getPart() const
54 Returns a pointer to the part selected within the nodekit that cre‐
55 ated this detail.
56
57 const SbName & getPartName() const
58 Returns the name of the part selected within the nodekit that cre‐
59 ated this detail. (See SoRayPickAction in the ACTIONS section of the
60 SoBaseKit reference page for more information).
61
62
64 SoBaseKit, SoNodeKitPath, SoDetail, SoPickedPoint
65
66
67
68
69 SoNodeKitDetail(3IV)()