Computes a distribution of the scene graph for use in depth compositing in ScaleViz. More...
#include <Inventor/actions/SoDistributeAction.h>
Public Types | |
enum | DistributeMethod { ROUND_ROBIN, TRIANGLE_COUNT } |
Public Member Functions | |
virtual SoType | getTypeId () const |
SoDistributeAction () | |
void | setDistributeMethod (DistributeMethod distribMethod) |
DistributeMethod | getDistributeMethod () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
This class is used to compute a distribution of the scene graph for use in depth compositing in ScaleViz.
In order to simplify the distribution of the scene graph, two different algorithms are supported for the automatic allocation of render unit IDs of each separator in a scene graph:
To specify the desired distribution algorithm, instantiate an SoDistributeAction, specify the the desired algorithm, and apply the action on the scene graph that you want to distribute.
SoSeparator, SoDepthComposer
SoDistributeAction::SoDistributeAction | ( | ) |
Constructor.
static SoType SoDistributeAction::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoAction.
SoDistributeAction::DistributeMethod SoDistributeAction::getDistributeMethod | ( | ) | [inline] |
Returns the algorithm used to distribute the scene graph.
virtual SoType SoDistributeAction::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
void SoDistributeAction::setDistributeMethod | ( | SoDistributeAction::DistributeMethod | distribMethod | ) | [inline] |
Destructor.
Specifies the algorithm used to distribute the scene graph.
Default is TRIANGLE_COUNT.