55#ifndef _SO_LINEAR_PROFILE_
56#define _SO_LINEAR_PROFILE_
65#define SO_LINEAR_PROFILE_USE_REST_OF_VERTICES (-1)
120 float *&points,
int &floatsPerVec,
121 int32_t &numKnots,
float *&knotVector);
#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.
Piecewise-linear profile curve.
virtual ~SoLinearProfile()
virtual void getVertices(SoState *state, int32_t &nVertices, SbVec2f *&vertices)
Returns vertices defining the profile.
virtual void getTrimCurve(SoState *state, int32_t &numPoints, float *&points, int &floatsPerVec, int32_t &numKnots, float *&knotVector)
Returns a profile as a trim curve.
SoLinearProfile()
Creates a linear profile node with default settings.
Abstract base class for all profile nodes.
An SoState collects and holds state while traversing a scene graph.