Group node that traverses multiple times, applying matrices. More...
#include <Inventor/nodes/SoMultipleCopy.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoMultipleCopy () | |
virtual SbBool | affectsState () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFMatrix | matrix |
Group node that traverses multiple times, applying matrices.
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).
matrix | 1 0 0 0 |
0 1 0 0 | |
0 0 1 0 | |
0 0 0 1 |
SoSearchAction
Traverses all children once, setting the inherited switch value to SO_SWITCH_ALL first.
SoMultipleCopy::SoMultipleCopy | ( | ) |
Creates a multiple copy node with default settings.
virtual SbBool SoMultipleCopy::affectsState | ( | ) | const [virtual] |
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.
Reimplemented from SoNode.
static SoType SoMultipleCopy::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoGroup.
virtual SoType SoMultipleCopy::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoGroup.
Set of matrices to apply to children.