SoLinearProfile — Piecewise-linear profile curve
Contents
Action Behavior
SoGLRenderAction,SoRayPickAction,SoCallbackAction
Adds a profile to the current state.
Description
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].
File Format/Defaults
LinearProfile{index0linkageSTART_FIRST}Inherits From
SoBase > SoFieldContainer > SoNode > SoProfile > SoLinearProfile
Methods
SoLinearProfile()
Creates a linear profile node with default settings.
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoLinearProfile — Piecewise-linear profile curve
See Also
SoNurbsProfile,SoProfileCoordinate2,SoProfileCoordinate3SoLinearProfile(3IV)()
Synopsis
#include<Inventor/nodes/SoLinearProfile.h>
Fields from class SoProfile:
SoMFInt32indexSoSFEnumlinkage
Methods from class SoLinearProfile:
SoLinearProfile()staticSoTypegetClassTypeId()
Methods from class SoNode:
voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)
Methods from class SoFieldContainer:
voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)
Methods from class SoBase:
voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const