| Package | Description |
|---|---|
| com.openinventor.inventor.actions | |
| com.openinventor.inventor.elements |
The element classes are used internally for storing information in Open Inventor's traversal state list.
|
| Modifier and Type | Method and Description |
|---|---|
SoDecimationTypeElement.Types |
SoCallbackAction.getDecimationType()
Returns the current decimation type from the state.
|
SoDecimationTypeElement.Types |
SoGLRenderAction.getDecimationType()
Gets decimation type.
|
SoDecimationTypeElement.Types |
SoGetPrimitiveCountAction.getDecimationType()
Gets decimation type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SoGLRenderAction.setDecimationValue(SoDecimationTypeElement.Types type)
Calls setDecimationValue(type, (float)1.0).
|
void |
SoGetPrimitiveCountAction.setDecimationValue(SoDecimationTypeElement.Types type)
Calls setDecimationValue(type, (float)1.0).
|
void |
SoGLRenderAction.setDecimationValue(SoDecimationTypeElement.Types type,
float percentage)
Sets decimation percentage, the value should be a number between 0.0 and 1.0 Useful for reducing the number of triangles rendered in the scene.
|
void |
SoGetPrimitiveCountAction.setDecimationValue(SoDecimationTypeElement.Types type,
float percentage)
Sets decimation type and percentage.
|
| Modifier and Type | Method and Description |
|---|---|
static SoDecimationTypeElement.Types |
SoDecimationTypeElement.Types.fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
static SoDecimationTypeElement.Types |
SoDecimationTypeElement.get(SoState state)
Returns current decimation type from the state.
|
static SoDecimationTypeElement.Types |
SoDecimationTypeElement.getDefault()
Returns the default decimation type.
|
static SoDecimationTypeElement.Types |
SoDecimationTypeElement.Types.valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoDecimationTypeElement.Types |
SoDecimationTypeElement.Types.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoDecimationTypeElement.Types[] |
SoDecimationTypeElement.Types.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SoDecimationTypeElement.set(SoState state,
SoDecimationTypeElement.Types type)
Sets the current decimation type in the state.
|
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com