Debian Codegraph @

doc/man/man3/ivm/nodes/SoNode.ivm

raw
1 NAME SoNode SoNode "" { abstract base class for all database nodes }
2
3 INCLUDE nodes/SoNode.h
4
5 DESC {
6 This is the abstract base class from which all scene graph node
7 classes are derived.
8 }
9
10 METHOD "" void setOverride(SbBool state) { Turns override flag on or off. }
11
12 METHOD "" SbBool isOverride() const { Returns the state of the override flag. }
13
14 METHOD "" SoNode * copy(SbBool copyConnections = FALSE) const {
15 Creates and returns an exact copy of the node. If the node is a group,
16 it copies the children as well. If \acopyConnections\. is
17 TRUE (it is FALSE by default), any connections to (but not from)
18 fields of the node are copied, as well. Note that multiple references to
19 a node under the node to be copied will result in multiple references to
20 the copy of that node.
21 }
22
23 METHOD "" virtual SbBool affectsState() const {
24 Returns TRUE if a node has an effect on the state during traversal.
25 The default method returns TRUE. Node classes (such as
26 \cSoSeparator\.) that isolate their effects from the rest of the
27 graph override this method to return FALSE.
28 }
29
30 METHOD "" static SoNode * getByName(const SbName &name) {}
31 METHOD getByNameList static int getByName(const SbName &name, SoNodeList &list) {
32 A node's name can be set using
33 \+\mSoBase::setName()\..\.
34 \-\mSoBaseSetName()\..\.
35 These methods allow nodes to be looked up by name. The first one
36 returns the last node given the specified name. The second one returns
37 the number of nodes with the given name, and adds to \alist\. pointers
38 to those nodes.
39 }
40
41 METHOD "" static SoType getClassTypeId() {
42 Returns type identifier for the \cSoNode\. class.
43 }
44
45 ACTION SoSearchAction {
46 If the node pointer, type, or name matches the search criteria,
47 returns a path to the node.
48 }
49
50 ACTION SoWriteAction {
51 Writes the contents of the node to the current \cSoOutput\..
52 }
53
54 ALSO { SoPath, SoAction, SoNodeKit }