Open Inventor Reference
|
NURBS profile curve. More...
#include <Inventor/nodes/SoNurbsProfile.h>
Public Member Functions | |
SoNurbsProfile () | |
Creates a NURBS profile curve node with default settings. | |
virtual void | getTrimCurve (SoState *state, int32_t &numPoints, float *&points, int &floatsPerVec, int32_t &numKnots, float *&knotVector) |
Returns a profile as a trim curve. | |
virtual void | getVertices (SoState *state, int32_t &nVertices, SbVec2f *&vertices) |
Returns vertices approximating the profile. | |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoMFFloat | knotVector |
The knot vector for the NURBS curve. | |
Protected Member Functions | |
virtual | ~SoNurbsProfile () |
This node specifies a NURBS curve that is used as a profile. The curve is defined in the same way as a standard SoNurbsCurve, except that the control points are constructed from the current set of profile coordinates, using the index field.
NurbsProfile { index 0 linkage START_FIRST knotVector 0 }
Definition at line 93 of file SoNurbsProfile.h.
SoNurbsProfile::SoNurbsProfile | ( | ) |
virtual SoNurbsProfile::~SoNurbsProfile | ( | ) | [protected, virtual] |
virtual void SoNurbsProfile::getTrimCurve | ( | SoState * | state, |
int32_t & | numPoints, | ||
float *& | points, | ||
int & | floatsPerVec, | ||
int32_t & | numKnots, | ||
float *& | knotVector | ||
) | [virtual] |
floatsPerVec will be either 2 or 3 depending on whether the curve is non-rational or rational.
Implements SoProfile.
virtual void SoNurbsProfile::getVertices | ( | SoState * | state, |
int32_t & | nVertices, | ||
SbVec2f *& | vertices | ||
) | [virtual] |
Implements SoProfile.
static void SoNurbsProfile::initClass | ( | ) | [static] |
Reimplemented from SoProfile.
It must be a list of non-decreasing floating point values.
Definition at line 103 of file SoNurbsProfile.h.