#include <Inventor/nodes/SoAnnotation.h>
Inheritance diagram for SoAnnotation::
Public Methods | |
SoAnnotation (void) | |
virtual void | GLRender (SoGLRenderAction *action) |
virtual void | GLRenderBelowPath (SoGLRenderAction *action) |
virtual void | GLRenderInPath (SoGLRenderAction *action) |
virtual void | GLRenderOffPath (SoGLRenderAction *action) |
Static Public Methods | |
void | initClass (void) |
Protected Methods | |
virtual | ~SoAnnotation () |
This group-type node uses delayed rendering in combination with Z-buffer disabling to let it's children transparently render their geometry on top of the other geometry in the scene.
Since the Z-buffer needs to be disabled, the childrens' geometry will not be rendered back-to-front sorted, but rather in the order they are present in the scenegraph.
|
Constructor. |
|
Destructor. |
|
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Reimplemented from SoSeparator. |
|
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 from SoSeparator. |
|
SGI Open Inventor v2.1 obsoleted support for SoGLRenderAction::addMethod(). Instead, GLRender() might be called directly, and to optimize traversal, the SoSeparator node calls GLRenderBelowPath whenever the path code is BELOW_PATH or NO_PATH (path code is guaranteed not to change). To be compatible with SGI's Inventor (and thereby also TGS') we have chosen to follow their implementation in this respect. SoSeparator::GLRenderBelowPath() do not traverse its children using SoChildList::traverse(), but calls GLRenderBelowPath() directly for all its children. Reimplemented from SoSeparator. |
|
Implements the SoAction::IN_PATH traversal method for the rendering action. Reimplemented from SoSeparator. |
|
Implements the SoAction::OFF_PATH traversal method for the rendering action. Reimplemented from SoSeparator. |