SoLinearProfile Class Reference

Piecewise-linear profile curve. More...

#include <Inventor/nodes/SoLinearProfile.h>

Inheritance diagram for SoLinearProfile:
SoProfile SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoLinearProfile ()

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

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




SoNurbsProfile, SoProfileCoordinate2, SoProfileCoordinate3

Constructor & Destructor Documentation

SoLinearProfile::SoLinearProfile (  ) 

Creates a linear profile node with default settings.

Member Function Documentation

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.

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.