1SoNode(3IV)() SoNode(3IV)()
2
3
4
6 SoNode — abstract base class for all database nodes
7
9 SoBase > SoFieldContainer > SoNode
10
12 #include <Inventor/nodes/SoNode.h>
13
14 Methods from class SoNode:
15
16 void setOverride(SbBool state)
17 SbBool isOverride() const
18 SoNode * copy(SbBool copyConnections = FALSE) const
19 virtual SbBool affectsState() const
20 static SoNode * getByName(const SbName &name)
21 static int getByName(const SbName &name, SoNodeList &list)
22 static SoType getClassTypeId()
23
24 Methods from class SoFieldContainer:
25
26 void setToDefaults()
27 SbBool hasDefaultValues() const
28 SbBool fieldsAreEqual(const SoFieldContainer *fc) const
29 void copyFieldValues(const SoFieldContainer *fc, SbBool
30 copyConnections = FALSE)
31 SbBool set(const char *fieldDataString)
32 void get(SbString &fieldDataString)
33 virtual int getFields(SoFieldList &resultList) const
34 virtual SoField * getField(const SbName &fieldName) const
35 SbBool getFieldName(const SoField *field, SbName &fieldName)
36 const
37 SbBool isNotifyEnabled() const
38 SbBool enableNotify(SbBool flag)
39
40 Methods from class SoBase:
41
42 void ref()
43 void unref() const
44 void unrefNoDelete() const
45 void touch()
46 virtual SoType getTypeId() const
47 SbBool isOfType(SoType type) const
48 virtual void setName(const SbName &name)
49 virtual SbName getName() const
50
51
53 This is the abstract base class from which all scene graph node classes
54 are derived.
55
57 void setOverride(SbBool state)
58 Turns override flag on or off.
59
60 SbBool isOverride() const
61 Returns the state of the override flag.
62
63 SoNode * copy(SbBool copyConnections = FALSE) const
64 Creates and returns an exact copy of the node. If the node is a
65 group, it copies the children as well. If copyConnections is TRUE
66 (it is FALSE by default), any connections to (but not from) fields
67 of the node are copied, as well. Note that multiple references to a
68 node under the node to be copied will result in multiple references
69 to the copy of that node.
70
71 virtual SbBool affectsState() const
72 Returns TRUE if a node has an effect on the state during traversal.
73 The default method returns TRUE. Node classes (such as SoSeparator)
74 that isolate their effects from the rest of the graph override this
75 method to return FALSE.
76
77 static SoNode * getByName(const SbName &name)
78 static int getByName(const SbName &name, SoNodeList &list)
79 A node's name can be set using SoBase::setName(). These methods
80 allow nodes to be looked up by name. The first one returns the last
81 node given the specified name. The second one returns the number of
82 nodes with the given name, and adds to list pointers to those nodes.
83
84 static SoType getClassTypeId()
85 Returns type identifier for the SoNode class.
86
87
89 SoSearchAction
90 If the node pointer, type, or name matches the search criteria,
91 returns a path to the node.
92
93 SoWriteAction
94 Writes the contents of the node to the current SoOutput.
95
96
98 This is an abstract class. See the reference page of a derived class
99 for the format and default values.
100
102 SoPath, SoAction, SoNodeKit
103
104
105
106
107 SoNode(3IV)()