NURBS profile curve. More...
#include <Inventor/nodes/SoNurbsProfile.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoNurbsProfile () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFFloat | knotVector |
SoSFNode | boundary |
NURBS profile curve.
This node specifies a NURBS curve that is used as a profile.
When a NURBS shape is rendered, its NURBS profile is constructed using the NURBS profile information from this node and the current profile coordinates. (Note: Here "current" means at the time the NURBS shape is traversed, not when the SoNurbsProfile is traversed.)
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.
When two profiles share the same boundary, the corresponding NURBS surfaces will be joined along these profiles, producing crack-free tessellation. Two profiles share the same boundary when their boundary fields contain the same SoNurbsBoundary node. To be rendered crack free, the surfaces must be part of the same SoNurbsGroup.
Note: Trimmed NURBS are correctly displayed only if an outer boundary is defined (must have counterclockwise orientation).
index | 0 |
linkage | START_FIRST |
knotVector | 0 |
boundary | 0 |
SoLinearProfile, SoNurbsCurve, SoProfileCoordinate2, SoProfileCoordinate3, SoNurbsGroup, SoNurbsBoundary
SoNurbsProfile::SoNurbsProfile | ( | ) |
Creates a NURBS profile curve node with default settings.
static SoType SoNurbsProfile::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoProfile.
virtual SoType SoNurbsProfile::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoProfile.
Associate the profile with the specified boundary using an SoNurbsBoundary node.
All profiles which are associated with the same boundary are joined together.
NOTE: field available since Open Inventor 6.0The knot vector for the NURBS curve.
It must be a list of non-decreasing floating point values.