public class SoSimplifier extends Inventor
See also:
SoDecimator, SoSimplifyAction, SoShapeSimplifyAction, SoGlobalSimplifyAction
| Modifier and Type | Class and Description |
|---|---|
static class |
SoSimplifier.ShapeTypes
ShapeType.
|
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
static int |
TRIANGLE_FAN
Deprecated.
Use
SoSimplifier.ShapeTypes.TRIANGLE_FAN instead. |
static int |
TRIANGLE_STRIP
Deprecated.
Use
SoSimplifier.ShapeTypes.TRIANGLE_STRIP instead. |
static int |
TRIANGLES
Deprecated.
Use
SoSimplifier.ShapeTypes.TRIANGLES instead. |
VERBOSE_LEVEL, ZeroHandle| Modifier and Type | Method and Description |
|---|---|
void |
beginShape(SoSimplifier.ShapeTypes name_25319)
Starts a new shape, ShapeType defines which triangle organization to use.
|
void |
clear()
Removes all shapes and reset.
|
void |
endShape()
Ends a shape started by
beginShape(). |
int |
getNumTriangles()
Returns the number of triangles actually stored in the object.
|
boolean |
getVerbosity()
Gets whether to print messages while simplifying.
|
void |
setColor(long name_25324)
Method to set optional vertex data (color).
|
void |
setData(int numData,
float[] name_25323)
Method to set optional vertex data (data).
|
void |
setNormal(SbVec3f name_25321)
Method to set optional vertex data (normal).
|
void |
setVerbosity(boolean v)
Sets whether to print messages while simplifying.
|
void |
setVertex(SbVec3f name_25320)
Specifies a new vertex location.
|
SoNode |
simplify(float name_25325)
Performs the simplification on the shapes and returns a simplified node.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int TRIANGLES
SoSimplifier.ShapeTypes.TRIANGLES instead.@Deprecated public static final int TRIANGLE_STRIP
SoSimplifier.ShapeTypes.TRIANGLE_STRIP instead.@Deprecated public static final int TRIANGLE_FAN
SoSimplifier.ShapeTypes.TRIANGLE_FAN instead.public void beginShape(SoSimplifier.ShapeTypes name_25319)
public void setVerbosity(boolean v)
public void setColor(long name_25324)
setVertex()public boolean getVerbosity()
public int getNumTriangles()
simplify(), returns the remaining triangles.public SoNode simplify(float name_25325)
public void setNormal(SbVec3f name_25321)
setVertex().public void setData(int numData,
float[] name_25323)
setVertex().public void endShape()
beginShape().public void clear()
public void setVertex(SbVec3f name_25320)
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com