Piecewise-linear profile curve. More...
#include <Inventor/nodes/SoLinearProfile.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoLinearProfile () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Piecewise-linear profile curve.
This node specifies a piecewise-linear curve that is used as a profile for either a trimming patch of a NURBS surface or for the bevel of SoText3. The index field indexes into the current profile coordinates (specified in an SoProfileCoordinate2 or SoProfileCoordinate3 node). If the last value of the index field is SO_LINEAR_PROFILE_USE_REST_OF_VERTICES (-1), all remaining coordinates in the current coordinates will be used, starting with the coordinate after the previous index (all coordinates will be used if SO_LINEAR_PROFILE_USE_REST_OF_VERTICES is the only value in the index field). For example, if index contains the values [2,0,-1] and there are 4 profile coordinates (0-3), it is as if the index field contains [2,0,1,2,3].
Note: Trimmed NURBS are correctly displayed only if an outer boundary is defined (must have counterclockwise orientation).
index | 0 |
linkage | START_FIRST |
SoNurbsProfile, SoProfileCoordinate2, SoProfileCoordinate3
SoLinearProfile::SoLinearProfile | ( | ) |
Creates a linear profile node with default settings.
static SoType SoLinearProfile::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoProfile.
virtual SoType SoLinearProfile::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoProfile.