public class SoSimplifier extends Inventor
See also:
SoDecimator
, SoSimplifyAction
, SoShapeSimplifyAction
, SoGlobalSimplifyAction
Modifier and Type | Class and Description |
---|---|
static class |
SoSimplifier.ShapeTypes
ShapeType.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
void |
beginShape(SoSimplifier.ShapeTypes name_21529)
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_21534)
Method to set optional vertex data (color).
|
void |
setData(int numData,
float[] name_21533)
Method to set optional vertex data (data).
|
void |
setNormal(SbVec3f name_21531)
Method to set optional vertex data (normal).
|
void |
setVerbosity(boolean v)
Sets whether to print messages while simplifying.
|
void |
setVertex(SbVec3f name_21530)
Specifies a new vertex location.
|
SoNode |
simplify(float name_21535)
Performs the simplification on the shapes and returns a simplified node.
|
dispose, getNativeResourceHandle
public void beginShape(SoSimplifier.ShapeTypes name_21529)
public void setVerbosity(boolean v)
public void setColor(long name_21534)
setVertex()
public boolean getVerbosity()
public int getNumTriangles()
simplify()
, returns the remaining triangles.public SoNode simplify(float name_21535)
public void setNormal(SbVec3f name_21531)
setVertex()
.public void setData(int numData, float[] name_21533)
setVertex()
.public void endShape()
beginShape()
.public void clear()
public void setVertex(SbVec3f name_21530)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com