SoNode(3IV)
SoNode (SoNode) - abstract base class for all database nodes
As shipped in IRIX 6.5.30. Added in IRIX 6.5.22.
NAME SoNode (SoNode) - abstract base class for all database nodes INHERITS FROM SoBase > SoFieldContainer > SoNode SYNOPSIS #include <Inventor_c/nodes/SoNode.h> Functions from class SoNode: void SoNodeSetOverride(SoNode *this, SbBool state) SbBool SoNodeIsOverride(const SoNode *this) SoNode * SoNodeCopy(const SoNode *this, SbBool copyConnections = FALSE) SbBool SoNodeAffectsState(const SoNode *this) SoNode * SoNodeGetByName(const char *name) int SoNodeGetByNameList(const char *name, SoNodeList *list) SoType SoNodeGetClassTypeId() Functions from class SoFieldContainer: void SoNodeSetToDflts(SoNode *this) SbBool SoNodeHasDfltVals(const SoNode *this) SbBool SoNodeFldsAreEq(const SoNode *this, const SoFieldContainer *fc) void SoNodeCopyFieldVals(SoNode *this, const SoFieldContainer *fc, SbBool copyConnections = FALSE) SbBool SoNodeSet(SoNode *this, const char *fieldDataString) void SoNodeGet(SoNode *this, SbString *fieldDataString) int SoNodeGetFields(const SoNode *this, SoFieldList *resultList) SoField * SoNodeGetField(const SoNode *this, const char *fieldName) SbBool SoNodeGetFieldName(const SoNode *this, const SoField *field, SbName *fieldName) SbBool SoNodeIsNotifyEnabled(const SoNode *this) SbBool SoNodeEnableNotify(SoNode *this, SbBool flag) Functions from class SoBase: void SoNodeRef(SoNode *this) void SoNodeUnref(const SoNode *this) void SoNodeUnrefNoDelete(const SoNode *this) void SoNodeTouch(SoNode *this) SoType SoNodeGetTypeId(const SoNode *this) SbBool SoNodeIsOfType(const SoNode *this, SoType type) void SoNodeSetName(SoNode *this, const char *name) SbName SoNodeGetName(const SoNode *this) DESCRIPTION This is the abstract base class from which all scene graph node classes are derived. FUNCTIONS void SoNodeSetOverride(SoNode *this, SbBool state) Turns override flag on or off. SbBool SoNodeIsOverride(const SoNode *this) Returns the state of the override flag. SoNode * SoNodeCopy(const SoNode *this, SbBool copyConnections = FALSE) Creates and returns an exact copy of the node. If the node is a group, it copies the children as well. If copyConnections is TRUE (it is FALSE by default), any connections to (but not from) fields of the node are copied, as well. Note that multiple references to a node under the node to be copied will result in multiple references to the copy of that node. SbBool SoNodeAffectsState(const SoNode *this) Returns TRUE if a node has an effect on the state during traversal. The default method returns TRUE. Node classes (such as SoSeparator) that isolate their effects from the rest of the graph override this method to return FALSE. SoNode * SoNodeGetByName(const char *name) int SoNodeGetByNameList(const char *name, SoNodeList *list) A node's name can be set using SoBaseSetName(). These methods allow nodes to be looked up by name. The first one returns the last node given the specified name. The second one returns the number of nodes with the given name, and adds to list pointers to those nodes. SoType SoNodeGetClassTypeId() Returns type identifier for the SoNode class. ACTION BEHAVIOR SoSearchAction If the node pointer, type, or name matches the search criteria, returns a path to the node. SoWriteAction Writes the contents of the node to the current SoOutput. FILE FORMAT/DEFAULTS This is an abstract class. See the reference page of a derived class for the format and default values. SEE ALSO SoPath, SoAction, SoNodeKit