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:
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
Modifier and Type | Field and Description |
---|---|
static int |
ROUND_ROBIN
Deprecated.
Use
SoDistributeAction.DistributeMethods.ROUND_ROBIN instead. |
static int |
TRIANGLE_COUNT
Deprecated.
Use
SoDistributeAction.DistributeMethods.TRIANGLE_COUNT instead. |
ALL, BELOW_PATH, CLUSTER_ONLY, IN_PATH, LOCAL_ONLY, NO_PATH, NODE, OFF_PATH, PATH, PATH_LIST
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)
Specifies the algorithm used to distribute the scene graph.
|
apply, apply, clearApplyResult, forwardTraversal, getContinueActionInBranchFlag, getCurPath, 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, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int ROUND_ROBIN
SoDistributeAction.DistributeMethods.ROUND_ROBIN
instead.@Deprecated public static final int TRIANGLE_COUNT
SoDistributeAction.DistributeMethods.TRIANGLE_COUNT
instead.public void setDistributeMethod(SoDistributeAction.DistributeMethods distribMethod)
public SoDistributeAction.DistributeMethods getDistributeMethod()
public static void enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com