55#ifndef _SO_SHAPE_HINTS_
56#define _SO_SHAPE_HINTS_
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Abstract base class for all actions.
Performs a generic traversal of the scene graph.
Renders a scene graph using OpenGL.
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.
@ 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.
FaceType
Hints about faces of shape: if all faces are known to be convex or not.
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.
SoShapeHints()
Creates a shape hints node with default settings.
SoSFBool useVBO
Allows shapes to make use of vertex buffer objects if available.
SoSFEnum faceType
Indicates whether each face is convex.
virtual void doAction(SoAction *action)
This method performs the "typical" operation of a node for any action.
VertexOrdering
Hints about ordering of face vertices: if ordering of all vertices of all faces is known to be consis...
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
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.
virtual void pick(SoPickAction *action)
virtual void callback(SoCallbackAction *action)