SoNurbsProfile Class Reference

NURBS profile curve. More...

#include <Inventor/nodes/SoNurbsProfile.h>

Inheritance diagram for SoNurbsProfile:
SoProfile SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoNurbsProfile ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFFloat knotVector
SoSFNode boundary

Detailed Description

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).




SoLinearProfile, SoNurbsCurve, SoProfileCoordinate2, SoProfileCoordinate3, SoNurbsGroup, SoNurbsBoundary

Constructor & Destructor Documentation

SoNurbsProfile::SoNurbsProfile (  ) 

Creates a NURBS profile curve node with default settings.

Member Function Documentation

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.

Member Data Documentation

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.0

The knot vector for the NURBS curve.

It must be a list of non-decreasing floating point values.

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

Open Inventor Toolkit reference manual, generated on 18 Apr 2021
Copyright © Thermo Fisher Scientific All rights reserved.