public class SoDecimator extends SoSimplifier
Not all geometry nodes can be decimated. The following geometry nodes are decimated:
SoFaceSet
SoIndexedFaceSet
SoIndexedNurbsSurface
SoIndexedTriangleStripSet
SoNurbsSurface
SoTriangleStripSet
SoVRMLIndexedFaceSet
The following geometry nodes are not decimated:
SoAnnoText3
SoAsciiText
SoCone
SoCube
SoCylinder
SoIndexedLineSet
SoIndexedNurbsCurve
SoLineSet
SoNurbsCurve
SoPointSet
SoQuadMesh
SoSphere
SoText2
SoText3
SoVRMLBox
SoVRMLCone
SoVRMLElevationGrid
SoVRMLExtrusion
SoVRMLIndexedLineSet
SoVRMLPointSet
SoVRMLSphere
SoVRMLText
SoLOD
SoLevelOfDetail
SoLevelOfSimplification
SoVRMLLOD
The decimator does not decimate nodes such as SoCone
, that adjust their complexity automatically (based on SoComplexity
and/or the viewer-requested decimation level). The decimator also does not decimate nodes such as SoVRMLElevationGrid
where decimation would not preserve the type of geometry. Decimated geometry is always an indexed face set.
See also:
SoSimplifier
, SoSimplifyAction
, SoShapeSimplifyAction
, SoGlobalSimplifyAction
SoSimplifier.ShapeTypes
Inventor.ConstructorCommand
TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES
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, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public void setSimplifiedShapeClass(java.lang.Class<? extends Inventor> simplifiedShapeType)
SoIndexedFaceSet
and SoFaceSet
are supported. SoIndexedFaceSet
is used by default.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com