Debian Codegraph @

doc/man/man3/ivm/details/SoNodeKitDetail.ivm

raw
1 NAME SoNodeKitDetail SoNkDtl "" { stores detail information about a nodekit }
2
3 INCLUDE details/SoNodeKitDetail.h
4
5 DESC {
6 This class contains detail information about a nodekit.
7 This consists of a pointer to the nodekit, a pointer to the
8 child part within the nodekit, and the name of the child part.
9 \p
10 During a pick action, each nodekit along the picked path creates its own
11 \cSoNodeKitDetail\.. Together, the full set of details gives you
12 complete picture of the pickpath.
13 \p
14 Since nodekits have hidden children (See the reference page for
15 \cSoBaseKit\.), a regular \cSoPath\. ends at the topmost nodekit in the
16 path. If you cast the pickpath from an \cSoPath\. pointer to an
17 \cSoNodeKitPath\. pointer, you can then retrieve all nodekits along the
18 path and examine their corresponding details.
19 }
20
21 METHOD "" SoNodeKitDetail() {}
22 METHOD "" virtual ~SoNodeKitDetail() { Constructor and destructor. }
23
24 METHOD "" SoBaseKit * getNodeKit() const {
25 Returns a pointer to the nodekit that created this detail.
26 }
27
28 METHOD "" SoNode * getPart() const {
29 Returns a pointer to the part selected within the nodekit
30 that created this detail.
31 }
32
33 METHOD "" const SbName &getPartName() const {
34 Returns the name of the part selected within the nodekit that created
35 this detail. (See \cSoRayPickAction\. in the ACTIONS section of
36 the \cSoBaseKit\. reference page for more information).
37 }
38
39 ALSO { SoBaseKit, SoNodeKitPath, SoDetail, SoPickedPoint }
40