Class SoShapeSimplifyAction
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.actions.SoAction
com.openinventor.inventor.actions.SoSimplifyAction
com.openinventor.inventor.actions.SoShapeSimplifyAction
Simplify action that replaces shapes within a scene graph with versions that contain fewer triangles.
 This class traverses a scene graph and replaces every complex shape with a simplified version.
 
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.openinventor.inventor.actions.SoActionSoAction.AppliedCodes, SoAction.DistribModes, SoAction.PathCodes, SoAction.PathIndicesNested classes/interfaces inherited from class com.openinventor.inventor.InventorInventor.ConstructorCommand
- 
Field SummaryFields inherited from class com.openinventor.inventor.InventorVERBOSE_LEVEL, ZeroHandle
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidenableElement(Class<? extends Inventor> t, int stkIndex) Methods inherited from class com.openinventor.inventor.actions.SoSimplifyActiongetDirectRanges, getDirectSimplificationLevels, getMinTriangles, getNumRanges, getNumSimplificationLevels, getRanges, getSimplificationLevels, getSizeFactor, getUrlName, isInlineLOD, isRenderCulling, isVerbose, setInlineLOD, setMinTriangles, setRanges, setRenderCulling, setSimplificationLevels, setSizeFactor, setUrlName, setVerbosityMethods inherited from class com.openinventor.inventor.actions.SoActionapply, apply, clearApplyResult, forwardTraversal, 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, useAlternateRepMethods inherited from class com.openinventor.inventor.Inventordispose, getNativeResourceHandle
- 
Constructor Details- 
SoShapeSimplifyActionConstructor. The algorithm used for simplifying is defined by theSoSimplifierclass that is passed in the constructor.Typically you will pass an instance of SoDecimatorto the constructor. Please seeSoDecimatorfor info about which geometry objects can be simplified.
 
- 
- 
Method Details- 
enableElement
 
-