public class SoDistributeAction extends SoAction
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.
See also:
SoSeparator
, SoDepthComposer
Modifier and Type | Class and Description |
---|---|
static class |
SoDistributeAction.DistributeMethods
Algorithms for scene graph distribution.
|
SoAction.AppliedCodes, SoAction.DistribModes, SoAction.PathCodes, SoAction.PathIndices
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoDistributeAction()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
enableElement(java.lang.Class<? extends Inventor> t,
int stkIndex) |
SoDistributeAction.DistributeMethods |
getDistributeMethod()
Returns the algorithm used to distribute the scene graph.
|
void |
setDistributeMethod(SoDistributeAction.DistributeMethods distribMethod)
Destructor.
|
apply, apply, clearApplyResult, forwardTraversal, getContinueActionInBranchFlag, getCurPath, getDistribMode, getNodeAppliedTo, getOriginalPathListAppliedTo, getPathAppliedTo, getPathCode, getPathListAppliedTo, getPipeId, getSceneManager, getState, getWhatAppliedTo, hasTerminated, invalidateState, isBeingApplied, isLastPathListAppliedTo, isUsingAlternateRep, nullAction, postDelayedTraversal, preDelayedTraversal, resetContinueActionInBranchFlag, setPipeId, setSceneManager, setUpState, stopActionInBranch, traverse, useAlternateRep
dispose, getNativeResourceHandle
public static void enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
public SoDistributeAction.DistributeMethods getDistributeMethod()
public void setDistributeMethod(SoDistributeAction.DistributeMethods distribMethod)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com