public class SoReorganizeAction extends SoSimplifyAction
In order for shapes to be grouped together, they must:
SoIndexedFaceSet
)
See also:
SoAction.AppliedCodes, SoAction.DistribModes, SoAction.PathCodes, SoAction.PathIndices
Inventor.ConstructorCommand
ALL, BELOW_PATH, CLUSTER_ONLY, IN_PATH, LOCAL_ONLY, NO_PATH, NODE, OFF_PATH, PATH, PATH_LIST
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoReorganizeAction()
Calls SoReorganizeAction((com.openinventor.inventor.simplifier.SoSimplifier)null).
|
SoReorganizeAction(SoSimplifier _simplifier)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areIndexArraysMatched()
Gets whether to try to match index arrays during reorganization.
|
boolean |
areNormalGenerated()
Gets whether normals should be generated during reorganization.
|
boolean |
areTexCoordsGenerated()
Gets whether texture coordinates should be generated during reorganization.
|
boolean |
areTriangleStripGenerated()
Gets whether triangle strips should be generated; if false, IndexedFaceSets are generated.
|
boolean |
areVPNodesGenerated()
Gets whether vertex property nodes should be generated during reorganization.
|
static void |
enableElement(java.lang.Class<? extends Inventor> t,
int stkIndex) |
static void |
finishReport()
Ends a report.
|
void |
generateNormals(boolean g)
Sets whether normals should be generated during reorganization.
|
void |
generateTexCoords(boolean g)
Sets whether texture coordinates should be generated during reorganization.
|
void |
generateTriangleStrips(boolean g)
Sets whether triangle strips should be generated.
|
void |
generateVPNodes(boolean g)
Sets whether vertex property nodes should be generated during reorganization.
|
SoSeparator |
getSimplifiedSceneGraph()
Returns result of reorganization as new scene graph.
|
SoSimplifier |
getSimplifier()
Returns the simplifier being used, may be NULL.
|
void |
matchIndexArrays(boolean g)
Sets whether to try to match index arrays during reorganization.
|
static void |
startReport(java.lang.String msg)
Starts a report.
|
getDirectRanges, getDirectSimplificationLevels, getMinTriangles, getNumRanges, getNumSimplificationLevels, getRanges, getSimplificationLevels, getSizeFactor, getUrlName, isInlineLOD, isRenderCulling, isVerbose, setInlineLOD, setMinTriangles, setRanges, setRenderCulling, setSimplificationLevels, setSizeFactor, setUrlName, setVerbosity
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
public SoReorganizeAction()
public SoReorganizeAction(SoSimplifier _simplifier)
public boolean areNormalGenerated()
public void generateTriangleStrips(boolean g)
public boolean areTriangleStripGenerated()
public void generateNormals(boolean g)
public SoSimplifier getSimplifier()
public SoSeparator getSimplifiedSceneGraph()
public void generateTexCoords(boolean g)
public static void startReport(java.lang.String msg)
public static void finishReport()
public static void enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
public boolean areIndexArraysMatched()
public void generateVPNodes(boolean g)
public boolean areTexCoordsGenerated()
public void matchIndexArrays(boolean g)
public boolean areVPNodesGenerated()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com