50#ifndef _SO_SHAPE_HINTS_
51#define _SO_SHAPE_HINTS_
383 {
override.setValue(state); }
389 {
return override.getValue(); }
392 virtual void doAction(
SoAction *action);
399 static void initClass();
400 static void exitClass();
#define SO_NODE_HEADER(className)
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a floating-point value.
@ SOLID
Shape is known to be solid.
@ UNKNOWN_SHAPE_TYPE
Nothing is known about shape.
@ CONVEX
Faces are all convex.
@ UNKNOWN_FACE_TYPE
Nothing is known about faces.
@ NO_WINDING_TYPE
No hole.
@ UNKNOWN_ORDERING
No ordering info is known.
@ COUNTERCLOCKWISE
Vertices are ordered CCW around faces.
@ CLOCKWISE
Vertices are ordered CW around faces.
Node that provides hints about shapes.
virtual void setOverride(const SbBool state)
Set the state of the override field.
FaceType
Hints about faces of shape: if all faces are known to be convex or not.
@ CONVEX
All faces are convex.
@ UNKNOWN_FACE_TYPE
Nothing is known about faces.
SoSFEnum vertexOrdering
Indicates how the vertices of faces are ordered.
SoSFEnum shapeType
Indicates whether the shape is known to enclose a volume (SOLID) or not.
virtual SbBool isOverride() const
Returns the state of the override field.
SoShapeHints()
Creates a shape hints node with default settings.
SoSFEnum windingType
Indicates the winding rule used to define holes in a polygon.
SoSFFloat neighborTolerance
Specifies the tolerance value to use when default normals are computed.
SoSFBool useVBO
This field controls whether subsequent shapes in the scene graph can use OpenGL Vertex Buffer Objects...
SoSFEnum faceType
Indicates whether each face is convex.
VertexOrdering
Hints about ordering of face vertices: if ordering of all vertices of all faces is known to be consis...
@ COUNTERCLOCKWISE
Face vertices are ordered counterclockwise (from the outside)
@ UNKNOWN_ORDERING
Ordering of vertices is unknown.
@ CLOCKWISE
Face vertices are ordered clockwise (from the outside)
SoSFFloat creaseAngle
Indicates the minimum angle (in radians) between two adjacent face normals required to form a sharp c...
ShapeType
Hints about entire shape: if shape is known to be a solid object, as opposed to a surface.
@ UNKNOWN_SHAPE_TYPE
Nothing is known about the shape.
@ SOLID
The shape encloses a volume.
WindingType
Winding type possible values.
@ ABS_GEQ_TWO_TYPE
Regions with winding numbers whose absolute value is greater than or equal to two are filled.
@ NEGATIVE_TYPE
Regions with negative winding numbers are filled.
@ NON_ZERO_TYPE
Regions with non-zero winding numbers are filled.
@ POSITIVE_TYPE
Regions with positive winding numbers are filled.
@ ODD_TYPE
Regions with odd winding numbers are filled.
@ NO_WINDING_TYPE
Draw without holes (default).
static SbBool isVBOSupported()
Indicates if Vertex Buffer Object (VBO) is supported by your graphics board.