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_25358)
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_25363)
Method to set optional vertex data (color).
|
void |
setData(int numData,
float[] name_25362)
Method to set optional vertex data (data).
|
void |
setNormal(SbVec3f name_25360)
Method to set optional vertex data (normal).
|
void |
setVerbosity(boolean v)
Sets whether to print messages while simplifying.
|
void |
setVertex(SbVec3f name_25359)
Specifies a new vertex location.
|
SoNode |
simplify(float name_25364)
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_25358)
public void setVerbosity(boolean v)
public void setColor(long name_25363)
setVertex()
public boolean getVerbosity()
public int getNumTriangles()
simplify()
, returns the remaining triangles.public SoNode simplify(float name_25364)
public void setNormal(SbVec3f name_25360)
setVertex()
.public void setData(int numData, float[] name_25362)
setVertex()
.public void endShape()
beginShape()
.public void clear()
public void setVertex(SbVec3f name_25359)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com