public class SoShapeHintsElement extends SoElement
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoShapeHintsElement.FaceTypes
Hints about faces of shape.
|
static class |
SoShapeHintsElement.ShapeTypes
Hints about entire shape.
|
static class |
SoShapeHintsElement.VertexOrderings
Hints about ordering of face vertices.
|
static class |
SoShapeHintsElement.WindingTypes
Hints about winding type.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static SoShapeHintsElement.WindingTypes |
get(SoState state)
Return current shape winding type from the state.
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static SoShapeHintsElement.FaceTypes |
getDefaultFaceType()
Returns default hint.
|
static SoShapeHintsElement.ShapeTypes |
getDefaultShapeType()
Returns default hint.
|
static boolean |
getDefaultVBOUsage()
Returns default hint.
|
static SoShapeHintsElement.VertexOrderings |
getDefaultVertexOrdering()
Returns default hint.
|
static SoShapeHintsElement.WindingTypes |
getDefaultWindingType()
Returns default hint.
|
static boolean |
isVBOUsed(SoState state)
Indicates if VBO is used from the state.
|
void |
push(SoState state)
Push copies the values from the previous element, so set doesn't have to set them if they are set AS_IS.
|
static void |
set(SoState state,
boolean useVBO)
Sets the current shape hints in the state.
|
static void |
set(SoState state,
SoShapeHintsElement.VertexOrderings vertexOrdering,
SoShapeHintsElement.ShapeTypes shapeType,
SoShapeHintsElement.FaceTypes faceType)
Sets the current shape hints in the state.
|
static void |
set(SoState state,
SoShapeHintsElement.WindingTypes windingType)
Sets the current shape hints in the state.
|
getClassStackIndex, pop
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int UNKNOWN_ORDERING
SoShapeHintsElement.VertexOrderings.UNKNOWN_ORDERING
instead.@Deprecated public static final int CLOCKWISE
SoShapeHintsElement.VertexOrderings.CLOCKWISE
instead.@Deprecated public static final int COUNTERCLOCKWISE
SoShapeHintsElement.VertexOrderings.COUNTERCLOCKWISE
instead.@Deprecated public static final int ORDERING_AS_IS
SoShapeHintsElement.VertexOrderings.ORDERING_AS_IS
instead.@Deprecated public static final int UNKNOWN_SHAPE_TYPE
SoShapeHintsElement.ShapeTypes.UNKNOWN_SHAPE_TYPE
instead.@Deprecated public static final int SOLID
SoShapeHintsElement.ShapeTypes.SOLID
instead.@Deprecated public static final int SHAPE_TYPE_AS_IS
SoShapeHintsElement.ShapeTypes.SHAPE_TYPE_AS_IS
instead.@Deprecated public static final int UNKNOWN_FACE_TYPE
SoShapeHintsElement.FaceTypes.UNKNOWN_FACE_TYPE
instead.@Deprecated public static final int CONVEX
SoShapeHintsElement.FaceTypes.CONVEX
instead.@Deprecated public static final int FACE_TYPE_AS_IS
SoShapeHintsElement.FaceTypes.FACE_TYPE_AS_IS
instead.@Deprecated public static final int NO_WINDING_TYPE
SoShapeHintsElement.WindingTypes.NO_WINDING_TYPE
instead.@Deprecated public static final int ODD_TYPE
SoShapeHintsElement.WindingTypes.ODD_TYPE
instead.@Deprecated public static final int NON_ZERO_TYPE
SoShapeHintsElement.WindingTypes.NON_ZERO_TYPE
instead.@Deprecated public static final int POSITIVE_TYPE
SoShapeHintsElement.WindingTypes.POSITIVE_TYPE
instead.@Deprecated public static final int NEGATIVE_TYPE
SoShapeHintsElement.WindingTypes.NEGATIVE_TYPE
instead.@Deprecated public static final int ABS_GEQ_TWO_TYPE
SoShapeHintsElement.WindingTypes.ABS_GEQ_TWO_TYPE
instead.public static SoShapeHintsElement.FaceTypes getDefaultFaceType()
public static SoShapeHintsElement.WindingTypes getDefaultWindingType()
public static SoShapeHintsElement.WindingTypes get(SoState state)
public static boolean isVBOUsed(SoState state)
public static SoShapeHintsElement.VertexOrderings getDefaultVertexOrdering()
public static SoShapeHintsElement.ShapeTypes getDefaultShapeType()
@Deprecated public static int getClassStackIndex()
public static void set(SoState state, SoShapeHintsElement.VertexOrderings vertexOrdering, SoShapeHintsElement.ShapeTypes shapeType, SoShapeHintsElement.FaceTypes faceType)
public static void set(SoState state, SoShapeHintsElement.WindingTypes windingType)
public static boolean getDefaultVBOUsage()
public static void set(SoState state, boolean useVBO)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com