55#ifndef _SO_INDEXED_NURBS_SURFACE_
56#define _SO_INDEXED_NURBS_SURFACE_
68class _SoNurbsNurbsTessellator;
210 void drawNURBS(_SoNurbsNurbsTessellator *render,
SoState *state,
#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.
Renders a scene graph using OpenGL.
Indexed NURBS surface shape node.
SoSFInt32 numTControlPoints
Number of control points in the T direction.
SoMFInt32 textureCoordIndex
Texture coordinate indices.
SoMFFloat sKnotVector
The knot vectors in the S direction.
virtual void GLRender(SoGLRenderAction *action)
Implements rendering by rendering each primitive generated by subclass.
SoSFInt32 numUControlPoints
Number of control points in the U direction.
SoMFFloat vKnotVector
The knot vectors in the V directions.
virtual void rayPick(SoRayPickAction *action)
Implements picking along a ray by intersecting the ray with each primitive generated by subclass.
SoMFFloat tKnotVector
The knot vectors in the T directions.
SoMFFloat uKnotVector
The knot vectors in the U direction.
virtual void generatePrimitives(SoAction *action)
Generates triangles representing surface.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Computes bounding box of surface.
SoSFInt32 numVControlPoints
Number of control points in the V direction.
void sendPrimitive(SoAction *, SoPrimitiveVertex *)
SoMFInt32 coordIndex
Coordinate indices.
SoIndexedNurbsSurface()
Creates an indexed NURBS surface node with default settings.
SoSFInt32 numSControlPoints
Number of control points in the S direction.
Multiple-value field containing any number of floating point values.
Multiple-value field containing any number of int32_t integers.
Represents a vertex of a generated primitive.
Intersects objects with a ray cast into scene.
Field containing a int32_t integer.
Abstract base class for all shape nodes.
An SoState collects and holds state while traversing a scene graph.