man SoNode () - abstract base class for all database nodes
NAME
SoNode - abstract base class for all database nodes
INHERITS FROM
SoBase > SoFieldContainer > SoNode
SYNOPSIS
#include <Inventor/nodes/SoNode.h>
Methods from class SoNode:
c
}
c
}
setOverride(SbBool state)
c
}
c
}
isOverride() const
c
}
c
}
copy(SbBool copyConnections = FALSE) const
c
}
c
}
affectsState() const
c
}
c
}
getByName(const SbName &name)
c
}
c
}
getByName(const SbName &name, SoNodeList &list)
c
}
c
}
getClassTypeId()
Methods from class SoFieldContainer:
c
}
c
}
setToDefaults()
c
}
c
}
hasDefaultValues() const
c
}
c
}
fieldsAreEqual(const SoFieldContainer *fc) const
c
}
c
}
copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)
c
}
c
}
set(const char *fieldDataString)
c
}
c
}
get(SbString &fieldDataString)
c
}
c
}
getFields(SoFieldList &resultList) const
c
}
c
}
getField(const SbName &fieldName) const
c
}
c
}
getFieldName(const SoField *field, SbName &fieldName) const
c
}
c
}
isNotifyEnabled() const
c
}
c
}
enableNotify(SbBool flag)
Methods from class SoBase:
c
}
c
}
ref()
c
}
c
}
unref() const
c
}
c
}
unrefNoDelete() const
c
}
c
}
touch()
c
}
c
}
getTypeId() const
c
}
c
}
isOfType(SoType type) const
c
}
c
}
setName(const SbName &name)
c
}
c
}
getName() const
DESCRIPTION
This is the abstract base class from which all scene graph node classes are derived.
METHODS
c
}
c
}
setOverride(SbBool state)
Turns override flag on or off.
c
}
c
}
isOverride() const
Returns the state of the override flag.
c
}
c
}
copy(SbBool copyConnections = FALSE) const
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.
c
}
c
}
affectsState() const
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.
c
}
c
}
getByName(const SbName &name)
c
}
c
}
getByName(const SbName &name, SoNodeList &list)
A node's name can be set using SoBase::setName(). 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.
c
}
c
}
getClassTypeId()
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