Open Inventor Reference
|
Group node that traverses multiple times, applying matrices. More...
#include <Inventor/nodes/SoMultipleCopy.h>
Public Member Functions | |
SoMultipleCopy () | |
Creates a multiple copy node with default settings. | |
virtual SbBool | affectsState () const |
Overrides default method on SoNode to return FALSE since these nodes are effectively separators. | |
virtual void | doAction (SoAction *action) |
Implement actions. | |
virtual void | callback (SoCallbackAction *action) |
virtual void | GLRender (SoGLRenderAction *action) |
These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing. | |
virtual void | pick (SoPickAction *action) |
virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
virtual void | handleEvent (SoHandleEventAction *action) |
virtual void | getMatrix (SoGetMatrixAction *action) |
virtual void | search (SoSearchAction *action) |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoMFMatrix | matrix |
Set of matrices to apply to children. | |
Protected Member Functions | |
virtual | ~SoMultipleCopy () |
This group node traverses its children, in order, several times, applying a different matrix each time. The matrices are stored in the multiple-value matrix field. Each matrix is concatenated to the current transformation matrix, and all of the children are traversed. This allows the user to put multiple copies of the same data in different locations easily and efficiently.
Traversing the Nth
child sets the current switch value to N
, for use with inherited switch values (see SoSwitch).
MultipleCopy { matrix 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 }
SO_SWITCH_ALL
first.Definition at line 103 of file SoMultipleCopy.h.
SoMultipleCopy::SoMultipleCopy | ( | ) |
virtual SoMultipleCopy::~SoMultipleCopy | ( | ) | [protected, virtual] |
virtual void SoMultipleCopy::callback | ( | SoCallbackAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoMultipleCopy::getBoundingBox | ( | SoGetBoundingBoxAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoMultipleCopy::getMatrix | ( | SoGetMatrixAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoMultipleCopy::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoMultipleCopy::handleEvent | ( | SoHandleEventAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
static void SoMultipleCopy::initClass | ( | ) | [static] |
Reimplemented from SoGroup.
virtual void SoMultipleCopy::pick | ( | SoPickAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
virtual void SoMultipleCopy::search | ( | SoSearchAction * | action | ) | [virtual] |
Reimplemented from SoGroup.
Definition at line 112 of file SoMultipleCopy.h.