SoIndexedNurbsCurve Class Reference
[Shapes]

Indexed NURBS curve shape node. More...

#include <Inventor/nodes/SoIndexedNurbsCurve.h>

Inheritance diagram for SoIndexedNurbsCurve:
SoNurbsCurve SoShape SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoIndexedNurbsCurve ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFInt32 coordIndex

Detailed Description

Indexed NURBS curve shape node.

This class represents a NURBS curve based on the knot vector and the control points that you specify. The knotVector field specifies a floating-point array of values; the values are the coordinates of the knot points in the curve, and you must enter them in non-decreasing order. The numControlPoints field specifies the number of control points the curve will have and will use the current coordinates that are indexed from the coordIndex field.

You can get a curve of minimum order (2) by specifying two more knots than control points and having at least two control points. This curve would be a set of line segments connecting the control points together.

You can get a curve of maximum order (8) by specifying 8 more knots than control points and having at least 8 control points. In this curve, each control point would have influence on a larger portion of the curve than with curves of lesser order.

The control points of the curve are transformed by the current transformation matrix. The curve is drawn with the current lighting model and drawing style (drawing style FILLED is treated as LINES). The coordinates, normals, and texture coordinates of a NURBS curve are generated, so you cannot bind explicit normals or texture coordinates to a NURBS curve.

The approximation of the curve by line segments is affected by the current complexity value.

Shape Antialiasing type is SoShape::LINES.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoFullSceneAntialiasing, SoNurbsCurve, SoIndexedNurbsSurface


Constructor & Destructor Documentation

SoIndexedNurbsCurve::SoIndexedNurbsCurve (  ) 

Creates an indexed NURBS curve node with default settings.


Member Function Documentation

static SoType SoIndexedNurbsCurve::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNurbsCurve.

virtual SoType SoIndexedNurbsCurve::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNurbsCurve.


Member Data Documentation

Coordinate indices for the control points.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 25 Feb 2021
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/