public class SoDecimator extends SoSimplifier
Not all geometry nodes can be decimated. The following geometry nodes are decimated:
SoFaceSet
SoIndexedFaceSet
SoIndexedNurbsSurface
SoIndexedTriangleStripSet
SoNurbsSurface
SoTriangleStripSet
The following geometry nodes are not decimated:
SoAnnoText3
SoAsciiText
SoCone
SoCube
SoCylinder
SoIndexedLineSet
SoIndexedNurbsCurve
SoLineSet
SoNurbsCurve
SoPointSet
SoQuadMesh
SoSphere
SoText2
SoText3
SoLOD
SoLevelOfDetail
SoLevelOfSimplification
The decimator does not decimate nodes such as SoCone
, that adjust their complexity automatically (based on SoComplexity
and/or the viewer-requested decimation level). Decimated geometry is always an indexed face set.
See also:
SoSimplifier
, SoSimplifyAction
, SoShapeSimplifyAction
, SoGlobalSimplifyAction
SoSimplifier.ShapeTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoDecimator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setSimplifiedShapeClass(java.lang.Class<? extends Inventor> simplifiedShapeType)
Sets the shape type used for building the simplified node.
|
beginShape, clear, endShape, getNumTriangles, getVerbosity, setColor, setData, setNormal, setVerbosity, setVertex, simplify
dispose, getNativeResourceHandle
public void setSimplifiedShapeClass(java.lang.Class<? extends Inventor> simplifiedShapeType)
SoIndexedFaceSet
and SoFaceSet
are supported. SoIndexedFaceSet
is used by default.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com