216 bool copyConnections);
240 static SoType classTypeId;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
size_t SbNodeIdType
Type of unique ids of SoNode, used in the notification/change detection handling.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
Character string stored in a hash table.
Abstract base class for all actions.
Performs a generic traversal of the scene graph.
This class maintains a list of child nodes for any node.
Abstract base class for objects that contain fields.
The SoFieldData class holds data about fields of an object: the number of fields the object has,...
Renders a scene graph using OpenGL.
Computes bounding box of a scene.
Computes transformation matrix for subgraph.
Allows nodes in a graph to receive input events.
Maintains a list of pointers to nodes.
Abstract base class for all database nodes.
bool isOverride() const
Returns the state of the override flag.
virtual SoNode * addToCopyDict() const
Recursively adds this node and all nodes under it to the copy dictionary.
static const SoFieldData ** getFieldDataPtr()
This is used by the field-inheritence mechanism, hidden in the SoSubNode macros.
static SoType getClassTypeId()
Returns type identifier for the SoNode class.
virtual void getMatrix(SoGetMatrixAction *action)
static int getByName(const SbName &name, SoNodeList &list)
Returns the number of nodes with the given name, and adds to list pointers to those nodes.
virtual void notify(SoNotList *list)
Propagates modification notification through an instance.
virtual void GLRenderBelowPath(SoGLRenderAction *action)
These methods make render traversal faster by implementing different rendering paths corresponding to...
virtual SoChildList * getChildren() const
Returns pointer to children, or NULL if none.
virtual void GLRenderOffPath(SoGLRenderAction *action)
virtual SoFieldContainer * copyThroughConnection() const
Copies an instance that is encountered through a field connection.
static SbNodeIdType nextUniqueId
Next available unique id.
static void initClass()
Initializes base node class.
static SbNodeIdType getNextNodeId()
Returns the next available unique id.
virtual void writeInstance(SoOutput *out)
Writes instance to SoOutput. (Used for either stage of writing.)
virtual void doAction(SoAction *action)
This method performs the "typical" operation of a node for any action.
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
virtual void grabEventsCleanup()
SoNode()
Constructor, destructor.
virtual void search(SoSearchAction *action)
virtual void rayPick(SoRayPickAction *action)
virtual void startNotify()
Initiates notification from an instance.
static void initClasses()
Initialize ALL Inventor node classes.
SbNodeIdType uniqueId
Unique id for this node.
virtual bool affectsState() const
Returns TRUE if a node has an effect on the state during traversal.
static SoNode * getByName(const SbName &name)
Returns the last node given the specified name.
static int nextActionMethodIndex
Next index into the action method table.
virtual void grabEventsSetup()
These virtual functions are called when a node gains or loses status as "grabber" of events (see Hand...
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
virtual void write(SoWriteAction *action)
virtual void callback(SoCallbackAction *action)
static int getActionMethodIndex(SoType t)
Returns the index of this node in the action/method table, given its type.
virtual void pick(SoPickAction *action)
virtual void copyContents(const SoFieldContainer *fromFC, bool copyConnections)
Copies the contents of the given node into this instance.
SbNodeIdType getNodeId() const
Returns the unique id for a node.
virtual void GLRenderInPath(SoGLRenderAction *action)
virtual void handleEvent(SoHandleEventAction *action)
void setOverride(bool state)
Turns override flag on or off.
@ FIRST_INSTANCE
First real instance being constructed.
@ PROTO_INSTANCE
Prototype instance being constructed.
SoNode * copy(bool copyConnections=FALSE) const
Creates and returns an exact copy of the node.
Holds a list of SoNotRec notification records.
Used to write Inventor data files.
Abstract base class for picking objects in a scene.
Intersects objects with a ray cast into scene.
Searches for nodes in a scene graph.
SoType has no virtual functions to keep it small...
short getData() const
Get data.
Writes a scene graph to a file.