SoMultipleCopy Class Reference
[Groups]

Group node that traverses multiple times, applying matrices. More...

#include <Inventor/nodes/SoMultipleCopy.h>

Inheritance diagram for SoMultipleCopy:
SoGroup SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoMultipleCopy ()
virtual SbBool affectsState () const

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFMatrix matrix

Detailed Description

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).

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoArray, SoSwitch


Constructor & Destructor Documentation

SoMultipleCopy::SoMultipleCopy (  ) 

Creates a multiple copy node with default settings.


Member Function Documentation

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.


Member Data Documentation

Set of matrices to apply to children.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/