1SoLinearProfile(3IV)()                                  SoLinearProfile(3IV)()
2
3
4

NAME

6       SoLinearProfile — Piecewise-linear profile curve
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoProfile > SoLinearProfile
10

SYNOPSIS

12       #include <Inventor/nodes/SoLinearProfile.h>
13
14          Fields from class SoProfile:
15
16     SoMFInt32           index
17     SoSFEnum            linkage
18
19          Methods from class SoLinearProfile:
20
21                         SoLinearProfile()
22     static SoType       getClassTypeId()
23
24          Methods from class SoNode:
25
26     void                setOverride(SbBool state)
27     SbBool              isOverride() const
28     SoNode *            copy(SbBool copyConnections = FALSE) const
29     virtual SbBool      affectsState() const
30     static SoNode *     getByName(const SbName &name)
31     static int          getByName(const SbName &name, SoNodeList &list)
32
33          Methods from class SoFieldContainer:
34
35     void                setToDefaults()
36     SbBool              hasDefaultValues() const
37     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
38     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
39                              copyConnections = FALSE)
40     SbBool              set(const char *fieldDataString)
41     void                get(SbString &fieldDataString)
42     virtual int         getFields(SoFieldList &resultList) const
43     virtual SoField *   getField(const SbName &fieldName) const
44     SbBool              getFieldName(const SoField *field, SbName &fieldName)
45                              const
46     SbBool              isNotifyEnabled() const
47     SbBool              enableNotify(SbBool flag)
48
49          Methods from class SoBase:
50
51     void                ref()
52     void                unref() const
53     void                unrefNoDelete() const
54     void                touch()
55     virtual SoType      getTypeId() const
56     SbBool              isOfType(SoType type) const
57     virtual void        setName(const SbName &name)
58     virtual SbName      getName() const
59
60

DESCRIPTION

62       This  node specifies a piecewise-linear curve that is used as a profile
63       for either a trimming patch of a Nurbs surface  or  for  the  bevel  of
64       SoText3.  The  index field indexes into the current profile coordinates
65       (specified in an SoProfileCoordinate2 or SoProfileCoordinate3 node). If
66       the last value of the index field is SO_LINEAR_PROFILE_USE_REST_OF_VER‐
67       TICES (-1), all remaining coordinates in the current  coordinates  will
68       be  used,  starting  with  the coordinate after the previous index (all
69       coordinates will be used if  SO_LINEAR_PROFILE_USE_REST_OF_VERTICES  is
70       the  only value in the index field). For example, if index contains the
71       values [2,0,-1] and there are 4 profile coordinates (0-3), it is as  if
72       the index field contains [2,0,1,2,3].
73

METHODS

75                         SoLinearProfile()
76          Creates a linear profile node with default settings.
77
78     static SoType       getClassTypeId()
79          Returns type identifier for this class.
80
81

ACTION BEHAVIOR

83       SoGLRenderAction, SoRayPickAction, SoCallbackAction
84          Adds a profile to the current state.
85
86

FILE FORMAT/DEFAULTS

88       LinearProfile {
89          index    0
90          linkage  START_FIRST
91     }
92

SEE ALSO

94       SoNurbsProfile, SoProfileCoordinate2, SoProfileCoordinate3
95
96
97
98
99                                                        SoLinearProfile(3IV)()
Impressum