Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

SoNode Class Reference

The SoNode class is the base class for nodes used in scene graphs. More...

#include <Inventor/nodes/SoNode.h>

Inheritance diagram for SoNode::

SoFieldContainer SoBase SoBaseColor SoBaseKit SoCallback SoCamera SoClipPlane SoColorIndex SoComplexity SoCoordinate3 SoCoordinate4 SoDrawStyle SoEnvironment SoEventCallback SoFile SoFont SoGroup SoInfo SoLabel SoLight SoLightModel SoMaterial SoMaterialBinding SoNodeKitListPart SoNormal SoNormalBinding SoPackedColor SoPickStyle SoPolygonOffset SoProfile SoProfileCoordinate2 SoProfileCoordinate3 SoShape SoShapeHints SoTexture2 SoTexture2Transform SoTextureCoordinate2 SoTextureCoordinateBinding SoTextureCoordinateFunction SoTransformation SoVertexProperty SoWWWInline List of all members.

Public Types

enum  NodeType { INVENTOR = 0, VRML1 = 1 }

Public Methods

void setOverride (const SbBool state)
SbBool isOverride (void) const
void setNodeType (const NodeType type)
NodeType getNodeType (void) const
virtual SoNode * copy (SbBool copyconnections=FALSE) const
virtual SbBool affectsState (void) const
virtual void doAction (SoAction *action)
virtual void GLRender (SoGLRenderAction *action)
virtual void GLRenderBelowPath (SoGLRenderAction *action)
virtual void GLRenderInPath (SoGLRenderAction *action)
virtual void GLRenderOffPath (SoGLRenderAction *action)
virtual void callback (SoCallbackAction *action)
virtual void getBoundingBox (SoGetBoundingBoxAction *action)
virtual void getMatrix (SoGetMatrixAction *action)
virtual void handleEvent (SoHandleEventAction *action)
virtual void pick (SoPickAction *action)
virtual void rayPick (SoRayPickAction *action)
virtual void search (SoSearchAction *action)
virtual void write (SoWriteAction *action)
virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action)
virtual void grabEventsSetup (void)
virtual void grabEventsCleanup (void)
virtual void startNotify (void)
virtual void notify (SoNotList *l)
uint32_t getNodeId (void) const
virtual SoChildListgetChildren (void) const
virtual void writeInstance (SoOutput *out)
virtual SoNode * addToCopyDict (void) const
virtual void copyContents (const SoFieldContainer *from, SbBool copyconnections)
virtual SoFieldContainercopyThroughConnection (void) const

Static Public Methods

SoType getClassTypeId (void)
SoNode * getByName (const SbName &name)
int getByName (const SbName &name, SoNodeList &l)
void initClass (void)
void initClasses (void)
uint32_t getNextNodeId (void)
int getActionMethodIndex (const SoType type)
void getBoundingBoxS (SoAction *action, SoNode *node)
void GLRenderS (SoAction *action, SoNode *node)
void callbackS (SoAction *action, SoNode *node)
void getMatrixS (SoAction *action, SoNode *node)
void handleEventS (SoAction *action, SoNode *node)
void pickS (SoAction *action, SoNode *node)
void rayPickS (SoAction *action, SoNode *node)
void searchS (SoAction *action, SoNode *node)
void writeS (SoAction *action, SoNode *node)
void getPrimitiveCountS (SoAction *action, SoNode *node)

Protected Methods

 SoNode (void)
virtual ~SoNode ()
virtual SbBool readInstance (SoInput *in, unsigned short flags)

Static Protected Methods

const SoFieldData ** getFieldDataPtr (void)
void setNextActionMethodIndex (int index)
int getNextActionMethodIndex (void)
void incNextActionMethodIndex (void)

Protected Attributes

uint32_t uniqueId

Static Protected Attributes

uint32_t nextUniqueId = 0
int nextActionMethodIndex = 0

Detailed Description

The SoNode class is the base class for nodes used in scene graphs.

Coin is a retained mode 3D visualization library (built on top of the immediate mode OpenGL library). "Retained mode" means that instead of passing commands to draw graphics primitives directly to the renderer, you build up data structures which are rendered by the library on demand.

The node classes are the main "primitive" for building these data structures. In Coin, you build tree hierarchies made up of different node types: group nodes (for the layout of the other nodes), appearance nodes (for setting up materials, textures, etc), shape nodes (for the actual geometry), and nodes for lighting, camera positioning etc etc.

For more information, see the "Inventor Mentor: Programming Object-Oriented 3D Graphics with Open Inventor" (ISBN 0-201-62495-8) for detailed explanations on the basic principles involved.


Member Enumeration Documentation

enum SoNode::NodeType
 

Used to store node type.

Enumeration values:
INVENTOR   Specifies Inventor node type.
VRML1   Spcifies VRML V1.0 node type.


Constructor & Destructor Documentation

SoNode::SoNode void [protected]
 

Default constructor, initializes node instance.

SoNode::~SoNode [protected, virtual]
 

Destructor.


Member Function Documentation

void SoNode::setOverride const SbBool state
 

Set the override flag.

If this flag is TRUE, the field values of this node will override the field values of other nodes of the same type during scene graph traversal.

A common applicaton for "override nodes" is to place them at the top of the tree as a convenient way to force e.g. a common drawstyle on the complete tree.

SbBool SoNode::isOverride void const
 

Return status of override flag.

See also:
setOverride()

void SoNode::setNodeType const NodeType type
 

Sets the node type for this node to type. Since some nodes should be handled differently in VRML1 vs. Inventor, this should be used to get correct behavior for those cases. The default node type is INVENTOR.

This method is an extension versus the Open Inventor API.

See also:
getNodeType()

SoNode::NodeType SoNode::getNodeType void const
 

Returns the node type set for this node.

This method is an extension versus the Open Inventor API.

See also:
setNodeType()

SoNode * SoNode::copy SbBool copyconnections = FALSE const [virtual]
 

Make a duplicate of this node and return a pointer to the duplicate.

If this node is a group node, children are also copied and we return a pointer to the root of a full copy of the subgraph rooted here.

If copyconnections is TRUE, we also copy the connections to fields within this node (and ditto for any children and children's children etc).

Note that this function has been made virtual in Coin, which is not the case in the original Open Inventor API. We may change this method back into being non-virtual again for Coin version 2, as it was made virtual more or less by mistake. So please don't write application code that depends on SoNode::copy() being virtual.

The reason this method should not be virtual is because this is not the function the application programmer should override if she needs some special behavior during a copy operation (like copying the value of internal data not exposed as fields).

For that purpose, override the copyContents() method. Your overridden copyContents() method should then both copy internal data aswell as calling the parent superclass' copyContents() method for automatically handling of fields and other common data.

SbBool SoNode::affectsState void const [virtual]
 

Returns TRUE if the node could have any effect on the state during traversal.

If it returns FALSE, no data in the traversal-state will change from the pre-traversal state to the post-traversal state. The SoSeparator node will for instance return FALSE, as it pushes and pops the state before and after traversal of its children. All SoShape nodes will also return FALSE, as just pushing out geometry data to the rendering engine won't affect the actual rendering state.

The default method returns TRUE, on a "better safe than sorry" philosophy.

Reimplemented in SoShape, SoArray, SoMultipleCopy, SoSeparator, SoSwitch, SoNodeKitListPart, and SoSceneKit.

void SoNode::doAction SoAction * action [virtual]
 

This function performs the typical operation of a node for any action.

Reimplemented in SoCamera, SoAntiSquish, SoMatrixTransform, SoRotation, SoResetTransform, SoRotationXYZ, SoScale, SoTranslation, SoSurroundScale, SoTransform, SoUnits, SoBaseColor, SoCallback, SoClipPlane, SoComplexity, SoCoordinate3, SoCoordinate4, SoDrawStyle, SoFile, SoFont, SoFontStyle, SoLightModel, SoProfile, SoMaterial, SoMaterialBinding, SoNormal, SoNormalBinding, SoPackedColor, SoPickStyle, SoPolygonOffset, SoProfileCoordinate2, SoProfileCoordinate3, SoShapeHints, SoArray, SoGroup, SoLOD, SoLevelOfDetail, SoMultipleCopy, SoPathSwitch, SoSeparator, SoSwitch, SoTexture2, SoTexture2Transform, SoTextureCoordinate2, SoTextureCoordinateBinding, SoTextureCoordinateDefault, SoTextureCoordinateEnvironment, SoTextureCoordinatePlane, SoTransformSeparator, SoVertexProperty, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::GLRender SoGLRenderAction * action [virtual]
 

Action method for the SoGLRenderAction.

This is called during rendering traversals. Nodes influencing the rendering state in any way or who wants to throw geometry primitives at OpenGL overrides this method.

Reimplemented in SoCamera, SoShape, SoAsciiText, SoCone, SoCube, SoCylinder, SoText3, SoAntiSquish, SoMatrixTransform, SoRotation, SoResetTransform, SoRotationXYZ, SoScale, SoTranslation, SoSurroundScale, SoTransform, SoUnits, SoBaseColor, SoCallback, SoClipPlane, SoComplexity, SoCoordinate3, SoCoordinate4, SoDirectionalLight, SoSpotLight, SoPointLight, SoDrawStyle, SoEnvironment, SoFile, SoFont, SoFontStyle, SoLightModel, SoProfile, SoMaterial, SoMaterialBinding, SoNormal, SoNormalBinding, SoPackedColor, SoPolygonOffset, SoProfileCoordinate2, SoProfileCoordinate3, SoShapeHints, SoAnnotation, SoArray, SoColorIndex, SoFaceSet, SoGroup, SoImage, SoIndexedFaceSet, SoIndexedLineSet, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoIndexedTriangleStripSet, SoLOD, SoLevelOfDetail, SoLineSet, SoMarkerSet, SoMultipleCopy, SoNurbsCurve, SoNurbsSurface, SoPathSwitch, SoPointSet, SoQuadMesh, SoSeparator, SoSphere, SoSwitch, SoText2, SoTexture2, SoTexture2Transform, SoTextureCoordinate2, SoTextureCoordinateBinding, SoTextureCoordinateDefault, SoTextureCoordinateEnvironment, SoTextureCoordinatePlane, SoTransformSeparator, SoTriangleStripSet, SoVertexProperty, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoDragger, SoTabPlaneDragger, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::GLRenderBelowPath SoGLRenderAction * action [virtual]
 

Implements the SoAction::BELOW_PATH traversal method for the rendering action.

Reimplemented in SoAnnotation, SoExtSelection, SoLOD, SoLocateHighlight, and SoSeparator.

void SoNode::GLRenderInPath SoGLRenderAction * action [virtual]
 

Implements the SoAction::IN_PATH traversal method for the rendering action.

Reimplemented in SoAnnotation, SoLOD, SoLocateHighlight, and SoSeparator.

void SoNode::GLRenderOffPath SoGLRenderAction * action [virtual]
 

Implements the SoAction::OFF_PATH traversal method for the rendering action.

Reimplemented in SoAnnotation, SoLOD, and SoSeparator.

void SoNode::callback SoCallbackAction * action [virtual]
 

Action method for SoCallbackAction.

Simply updates the state according to how the node behaves for the render action, so the application programmer can use the SoCallbackAction for extracting information about the scene graph.

Reimplemented in SoCamera, SoShape, SoAntiSquish, SoMatrixTransform, SoRotation, SoResetTransform, SoRotationXYZ, SoScale, SoTranslation, SoSurroundScale, SoTransform, SoUnits, SoBaseColor, SoCallback, SoClipPlane, SoComplexity, SoCoordinate3, SoCoordinate4, SoLight, SoDrawStyle, SoEnvironment, SoFile, SoFont, SoFontStyle, SoLightModel, SoProfile, SoMaterial, SoMaterialBinding, SoNormal, SoNormalBinding, SoPackedColor, SoPickStyle, SoPolygonOffset, SoProfileCoordinate2, SoProfileCoordinate3, SoShapeHints, SoArray, SoGroup, SoLOD, SoLevelOfDetail, SoMultipleCopy, SoSeparator, SoSwitch, SoTexture2, SoTexture2Transform, SoTextureCoordinate2, SoTextureCoordinateBinding, SoTextureCoordinateDefault, SoTextureCoordinateEnvironment, SoTextureCoordinatePlane, SoTransformSeparator, SoVertexProperty, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoDragger, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::getBoundingBox SoGetBoundingBoxAction * action [virtual]
 

Action method for the SoGetBoundingBoxAction.

Calculates bounding box and center coordinates for node and modifies the values of the action to encompass the bounding box for this node and to shift the center point for the scene more towards the one for this node.

Nodes influencing how geometry nodes calculates their bounding box also overrides this method to change the relevant state variables.

Reimplemented in SoCamera, SoShape, SoAntiSquish, SoMatrixTransform, SoRotation, SoResetTransform, SoRotationXYZ, SoScale, SoTranslation, SoSurroundScale, SoTransform, SoUnits, SoCallback, SoComplexity, SoCoordinate3, SoCoordinate4, SoFile, SoFont, SoFontStyle, SoProfile, SoProfileCoordinate2, SoShapeHints, SoArray, SoBlinker, SoGroup, SoIndexedLineSet, SoIndexedNurbsCurve, SoLOD, SoLineSet, SoMultipleCopy, SoNurbsCurve, SoPathSwitch, SoPointSet, SoSeparator, SoSwitch, SoTransformSeparator, SoVertexProperty, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoDragger, SoCenterballDragger, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::getMatrix SoGetMatrixAction * action [virtual]
 

Action method for SoGetMatrixAction.

Updates action by accumulating with the transformation matrix of this node (if any).

Reimplemented in SoAntiSquish, SoMatrixTransform, SoRotation, SoResetTransform, SoRotationXYZ, SoScale, SoTranslation, SoSurroundScale, SoTransform, SoUnits, SoCallback, SoFile, SoArray, SoGroup, SoMultipleCopy, SoPathSwitch, SoSeparator, SoSwitch, SoTexture2Transform, SoTransformSeparator, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoDragger, SoCenterballDragger, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::handleEvent SoHandleEventAction * action [virtual]
 

Action method for SoHandleEventAction.

Inspects the event data from action, and processes it if it is something which this node should react to.

Nodes influencing relevant state variables for how event handling is done also overrides this method.

Reimplemented in SoCamera, SoCallback, SoFile, SoArray, SoEventCallback, SoExtSelection, SoGroup, SoLocateHighlight, SoMultipleCopy, SoPathSwitch, SoSelection, SoSeparator, SoSwitch, SoWWWAnchor, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoDragger, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::pick SoPickAction * action [virtual]
 

Action method for SoPickAction.

Does common processing for SoPickAction action instances.

Reimplemented in SoAntiSquish, SoMatrixTransform, SoRotation, SoResetTransform, SoRotationXYZ, SoScale, SoTranslation, SoSurroundScale, SoTransform, SoUnits, SoBaseColor, SoCallback, SoClipPlane, SoComplexity, SoCoordinate3, SoCoordinate4, SoFile, SoFont, SoFontStyle, SoProfile, SoMaterialBinding, SoNormal, SoNormalBinding, SoPickStyle, SoProfileCoordinate2, SoProfileCoordinate3, SoShapeHints, SoArray, SoGroup, SoMultipleCopy, SoPathSwitch, SoSwitch, SoTexture2Transform, SoTextureCoordinate2, SoTextureCoordinateBinding, SoTextureCoordinateDefault, SoTextureCoordinateEnvironment, SoTextureCoordinatePlane, SoTransformSeparator, SoVertexProperty, SoWWWInline, SoNodeKitListPart, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::rayPick SoRayPickAction * action [virtual]
 

Action method for SoRayPickAction.

Checks the ray specification of the action and tests for intersection with the data of the node.

Nodes influencing relevant state variables for how picking is done also overrides this method.

Reimplemented in SoCamera, SoShape, SoCone, SoCube, SoCylinder, SoImage, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoLOD, SoLevelOfDetail, SoNurbsCurve, SoNurbsSurface, SoSeparator, SoSphere, SoText2, SoBaseKit, and SoDragger.

void SoNode::search SoSearchAction * action [virtual]
 

Action method for SoSearchAction.

Compares the search criteria from the action to see if this node is a match. Searching is done by matching up all criteria set up in the SoSearchAction -- if any of the requested criteria is a miss, the search is not deemed successful for the node.

See also:
SoSearchAction

Reimplemented in SoCallback, SoArray, SoGroup, SoMultipleCopy, SoPathSwitch, SoSeparator, SoSwitch, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoDragger, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::write SoWriteAction * action [virtual]
 

Action method for SoWriteAction.

Writes out a node object, and any connected nodes, engines etc, if necessary.

Reimplemented in SoPendulum, SoShuttle, SoCallback, SoBlinker, SoGroup, SoSwitch, SoVertexShape, SoBaseKit, and SoDragger.

void SoNode::getPrimitiveCount SoGetPrimitiveCountAction * action [virtual]
 

Action method for the SoGetPrimitiveCountAction.

Calculates the number of triangle, line segment and point primitives for the node and adds these to the counters of the action.

Nodes influencing how geometry nodes calculates their primitive count also overrides this method to change the relevant state variables.

Reimplemented in SoCamera, SoShape, SoAsciiText, SoCone, SoCube, SoCylinder, SoText3, SoMatrixTransform, SoRotation, SoResetTransform, SoRotationXYZ, SoScale, SoTranslation, SoTransform, SoUnits, SoCallback, SoComplexity, SoCoordinate3, SoCoordinate4, SoFile, SoFont, SoFontStyle, SoProfile, SoMaterialBinding, SoNormal, SoNormalBinding, SoProfileCoordinate2, SoProfileCoordinate3, SoArray, SoFaceSet, SoGroup, SoImage, SoIndexedFaceSet, SoIndexedLineSet, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoIndexedTriangleStripSet, SoLOD, SoLineSet, SoMarkerSet, SoMultipleCopy, SoNurbsCurve, SoNurbsSurface, SoPathSwitch, SoPointSet, SoQuadMesh, SoSeparator, SoSphere, SoSwitch, SoText2, SoTransformSeparator, SoTriangleStripSet, SoVertexProperty, SoWWWInline, SoNodeKitListPart, SoBaseKit, and SoDragger.

void SoNode::grabEventsSetup void [virtual]
 

Called from SoHandleEventAction::setGrabber() to notify a node when it becomes the node where all events are sent.

Reimplemented in SoDragger.

void SoNode::grabEventsCleanup void [virtual]
 

Called from SoHandleEventAction to notify a node when it looses status as the node where events are sent.

Reimplemented in SoDragger.

void SoNode::startNotify void [virtual]
 

This is the method which starts the notification sequence after changes.

At the end of a notification sequence, all "immediate" sensors (i.e. sensors set up with a zero priority) are triggered.

Reimplemented from SoBase.

void SoNode::notify SoNotList * nl [virtual]
 

Notifies all auditors for this instance when changes are made.

Reimplemented from SoFieldContainer.

Reimplemented in SoAsciiText, SoText3, SoMaterial, SoPackedColor, SoBlinker, SoImage, SoSeparator, SoTexture2, SoVertexProperty, and SoVertexShape.

uint32_t SoNode::getNodeId void const
 

This returns the node's current unique identification number. It is unlikely that application programmers will ever need use this method fom client application code, unless working with extensions to the core library (and probably not even then).

The id number is only valid for as long as the node is kept unchanged -- upon any kind of change the internal id will be updated (in the notify() method), and the old id number forgotten.

The technique described above plays an important role in the way internal scenegraph caches are set up and invalidated.

See also:
SoNode::getNextNodeId()

SoChildList * SoNode::getChildren void const [virtual]
 

Returns list of children for this node.

Reimplemented in SoFile, SoGroup, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

void SoNode::writeInstance SoOutput * out [virtual]
 

This method is called from write() if the actual writing pass of the write action is taking place. It dumps the node to the given out output stream.

Reimplemented from SoFieldContainer.

SoNode * SoNode::addToCopyDict void const [virtual]
 

Add a copy of this node and (recursively) all children to the copy dictionary of SoFieldContainer if this has not already been done.

Used internally during copy operations.

Reimplemented in SoBaseKit.

void SoNode::copyContents const SoFieldContainer * fromfc,
SbBool copyconnections
[virtual]
 

Makes a deep copy of all data of from into this instance, except external scenegraph references if copyconnections is FALSE.

This is the method that should be overridden by subclasses which needs to account for internal data that are not handled automatically.

Make sure that when you override the copyContents() method in your extension class that you also make it call upwards to it's parent superclass in the inheritance hierarchy, as copyContents() in for instance SoNode and SoFieldContainer does important work. It should go something like this:

  void
  MyCoinExtensionNode::copyContents(const SoFieldContainer * from,
                                    SbBool copyconnections)
  {
    // let parent superclasses do their thing (copy fields, copy
    // instance name, etc etc)
    SoNode::copyContents(from, copyconnections);

    // [..then copy internal data..]
  }

Reimplemented from SoFieldContainer.

Reimplemented in SoCallback, SoFile, SoGroup, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoInteractionKit, SoRotateCylindricalDragger, SoRotateSphericalDragger, SoClipPlaneManip, SoDirectionalLightManip, SoPointLightManip, SoSpotLightManip, and SoTransformManip.

SoFieldContainer * SoNode::copyThroughConnection void const [virtual]
 

Return copy of this instance.

Note: default implementation just returns this pointer, SoNode and SoEngine overloads this method to return the pointer to the actual copy.

Reimplemented from SoFieldContainer.

SoType SoNode::getClassTypeId void [static]
 

This static method returns the SoType object associated with objects of this class.

Reimplemented from SoFieldContainer.

SoNode * SoNode::getByName const SbName & name [static]
 

Returns the last node that was registered under name.

int SoNode::getByName const SbName & name,
SoNodeList & l
[static]
 

Finds all nodes with name and appends them to the l nodelist. Returns the number of nodes with the specified name.

void SoNode::initClass void [static]
 

Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

Reimplemented from SoFieldContainer.

Reimplemented in SoCamera, SoPerspectiveCamera, SoOrthographicCamera, SoShape, SoAsciiText, SoCone, SoCube, SoCylinder, SoText3, SoTransformation, SoAntiSquish, SoMatrixTransform, SoRotation, SoPendulum, SoRotor, SoResetTransform, SoRotationXYZ, SoScale, SoTranslation, SoShuttle, SoSurroundScale, SoTransform, SoUnits, SoBaseColor, SoCallback, SoClipPlane, SoComplexity, SoCoordinate3, SoCoordinate4, SoLight, SoDirectionalLight, SoSpotLight, SoPointLight, SoDrawStyle, SoEnvironment, SoFile, SoFont, SoFontStyle, SoInfo, SoLabel, SoLightModel, SoProfile, SoLinearProfile, SoNurbsProfile, SoMaterial, SoMaterialBinding, SoNormal, SoNormalBinding, SoPackedColor, SoPickStyle, SoPolygonOffset, SoProfileCoordinate2, SoProfileCoordinate3, SoShapeHints, SoAnnotation, SoArray, SoBlinker, SoColorIndex, SoEventCallback, SoExtSelection, SoFaceSet, SoGroup, SoImage, SoIndexedFaceSet, SoIndexedLineSet, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoIndexedShape, SoIndexedTriangleStripSet, SoLOD, SoLevelOfDetail, SoLineSet, SoLocateHighlight, SoMarkerSet, SoMultipleCopy, SoNonIndexedShape, SoNurbsCurve, SoNurbsSurface, SoPathSwitch, SoPointSet, SoQuadMesh, SoSelection, SoSeparator, SoSphere, SoSwitch, SoText2, SoTexture2, SoTexture2Transform, SoTextureCoordinate2, SoTextureCoordinateBinding, SoTextureCoordinateDefault, SoTextureCoordinateEnvironment, SoTextureCoordinateFunction, SoTextureCoordinatePlane, SoTransformSeparator, SoTriangleStripSet, SoVertexProperty, SoVertexShape, SoWWWAnchor, SoWWWInline, SoNodeKitListPart, SoBaseKit, SoInteractionKit, SoSeparatorKit, SoShapeKit, SoWrapperKit, SoAppearanceKit, SoCameraKit, SoLightKit, SoSceneKit, SoDragger, SoCenterballDragger, SoDirectionalLightDragger, SoDragPointDragger, SoHandleBoxDragger, SoJackDragger, SoPointLightDragger, SoRotateCylindricalDragger, SoRotateDiscDragger, SoRotateSphericalDragger, SoScale1Dragger, SoScale2Dragger, SoScale2UniformDragger, SoScaleUniformDragger, SoSpotLightDragger, SoTabBoxDragger, SoTabPlaneDragger, SoTrackballDragger, SoTransformBoxDragger, SoTransformerDragger, SoTranslate1Dragger, SoTranslate2Dragger, SoCenterballManip, SoClipPlaneManip, SoDirectionalLightManip, SoHandleBoxManip, SoJackManip, SoPointLightManip, SoSpotLightManip, SoTabBoxManip, SoTrackballManip, SoTransformBoxManip, SoTransformManip, and SoTransformerManip.

void SoNode::initClasses void [static]
 

Initialize all the node classes of Coin.

Reimplemented in SoDragger.

uint32_t SoNode::getNextNodeId void [static]
 

Return the next unique identification number to be assigned upon node construction or change. It is unlikely that application programmers will ever need use this method fom client application code, unless working with extensions to the core library (and probably not even then).

See also:
SoNode::getNodeId

int SoNode::getActionMethodIndex const SoType type [static]
 

For internal use only.

void SoNode::getBoundingBoxS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::getBoundingBox() virtual method which does the real work.

void SoNode::GLRenderS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::GLRender() virtual method which does the real work.

void SoNode::callbackS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::callback() virtual method which does the real work.

void SoNode::getMatrixS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::getMatrix() virtual method which does the real work.

void SoNode::handleEventS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::handleEvent() virtual method which does the real work.

void SoNode::pickS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::pick() virtual method which does the real work.

void SoNode::rayPickS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::rayPick() virtual method which does the real work.

void SoNode::searchS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::search() virtual method which does the real work.

void SoNode::writeS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::write() virtual method which does the real work.

void SoNode::getPrimitiveCountS SoAction * action,
SoNode * node
[static]
 

This is a static "helper" method registered with the action, and used for calling the SoNode::getPrimitiveCount() virtual method which does the real work.

SbBool SoNode::readInstance SoInput * in,
unsigned short flags
[protected, virtual]
 

This method is mainly intended for internal use during file import operations.

It reads a definition of an instance from the input stream in. The input stream state points to the start of a serialized / persistant representation of an instance of this class type.

TRUE or FALSE is returned, depending on if the instantiation and configuration of the new object of this class type went ok or not. The import process should be robust and handle corrupted input streams by returning FALSE.

flags is used internally during binary import when reading user extension nodes, group nodes or engines.

Reimplemented from SoFieldContainer.

Reimplemented in SoFile, SoNormalBinding, SoGroup, SoImage, SoSeparator, SoTexture2, SoTextureCoordinateBinding, SoWWWInline, SoNodeKitListPart, SoBaseKit, and SoInteractionKit.

const SoFieldData ** SoNode::getFieldDataPtr void [static, protected]
 

For internal use only.

void SoNode::setNextActionMethodIndex int index [static, protected]
 

For internal use only.

int SoNode::getNextActionMethodIndex void [static, protected]
 

For internal use only.

void SoNode::incNextActionMethodIndex void [static, protected]
 

For internal use only.


Member Data Documentation

uint32_t SoNode::uniqueId [protected]
 

For internal use only.

uint32_t SoNode::nextUniqueId = 0 [static, protected]
 

For internal use only.

int SoNode::nextActionMethodIndex = 0 [static, protected]
 

For internal use only.


The documentation for this class was generated from the following files:
Generated at Tue Mar 5 03:31:27 2002 for Coin by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001