55#ifndef _SO_NURBS_SURFACE_
56#define _SO_NURBS_SURFACE_
67class _SoNurbsNurbsTessellator;
196 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.
Multiple-value field containing any number of floating point values.
NURBS surface shape node.
SoMFFloat sKnotVector
The knot vectors in the S direction.
void sendPrimitive(SoAction *, SoPrimitiveVertex *)
virtual void rayPick(SoRayPickAction *action)
Implements picking along a ray by intersecting the ray with each primitive generated by subclass.
SoNurbsSurface()
Creates a NURBS surface node with default settings.
SoSFInt32 numTControlPoints
Number of control points in T direction.
SoSFInt32 numSControlPoints
Number of control points in S direction.
virtual void GLRender(SoGLRenderAction *action)
Implements rendering by rendering each primitive generated by subclass.
virtual void generatePrimitives(SoAction *action)
Generates triangles representing a surface.
SoSFInt32 numVControlPoints
Number of control points in the V direction.
SoMFFloat vKnotVector
The knot vectors in the V direction.
SoMFFloat uKnotVector
The knot vectors in the U direction.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Computes bounding box of surface.
SoMFFloat tKnotVector
The knot vectors in the T direction.
SoSFInt32 numUControlPoints
Number of control points in the U direction.
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.