SoLinearProfile(3IV)NAMESoLinearProfile (SoLProf) - Piecewise-linear profile curve
INHERITS FROM
SoBase > SoFieldContainer > SoNode > SoProfile > SoLinearProfileSYNOPSIS
#include <Inventor_c/nodes/SoLinearProfile.h>
typedef SoLinearProfile SoLProf
Fields from class SoProfile:
SoMFInt32 index
SoSFEnum linkage
Functions from class SoLinearProfile:
SoLinearProfile * SoLProfCreate()
SoType SoLProfGetClassTypeId()
Functions from class SoNode:
void SoLProfSetOverride(SoLProf *this, SbBool state)
SbBool SoLProfIsOverride(const SoLProf *this)
SoNode * SoLProfCopy(const SoLProf *this, SbBool
copyConnections = FALSE)
SbBool SoLProfAffectsState(const SoLProf *this)
SoNode * SoLProfGetByName(const char *name)
int SoLProfGetByNameList(const char *name, SoNodeList
*list)
Functions from class SoFieldContainer:
void SoLProfSetToDflts(SoLProf *this)
SbBool SoLProfHasDfltVals(const SoLProf *this)
SbBool SoLProfFldsAreEq(const SoLProf *this, const
SoFieldContainer *fc)
void SoLProfCopyFieldVals(SoLProf *this, const
SoFieldContainer *fc, SbBool copyConnections =
FALSE)
SbBool SoLProfSet(SoLProf *this, const char
*fieldDataString)
void SoLProfGet(SoLProf *this, SbString *fieldDataString)
int SoLProfGetFields(const SoLProf *this, SoFieldList
*resultList)
SoField * SoLProfGetField(const SoLProf *this, const char
*fieldName)
SbBool SoLProfGetFieldName(const SoLProf *this, const
SoField *field, SbName *fieldName)
SbBool SoLProfIsNotifyEnabled(const SoLProf *this)
Page 1SoLinearProfile(3IV)
SbBool SoLProfEnableNotify(SoLProf *this, SbBool flag)
Functions from class SoBase:
void SoLProfRef(SoLProf *this)
void SoLProfUnref(const SoLProf *this)
void SoLProfUnrefNoDelete(const SoLProf *this)
void SoLProfTouch(SoLProf *this)
SoType SoLProfGetTypeId(const SoLProf *this)
SbBool SoLProfIsOfType(const SoLProf *this, SoType type)
void SoLProfSetName(SoLProf *this, const char *name)
SbName SoLProfGetName(const SoLProf *this)
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].
FUNCTIONSSoLinearProfile * SoLProfCreate()
Creates a linear profile node with default settings.
SoType SoLProfGetClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
SoGLRenderAction, SoRayPickAction, SoCallbackAction
Adds a profile to the current state.
FILE FORMAT/DEFAULTS
LinearProfile {
index 0
linkage START_FIRST
}
SEE ALSO
SoNurbsProfile, SoProfileCoordinate2, SoProfileCoordinate3
Page 2