1SoProfile(3IV)()                                              SoProfile(3IV)()
2
3
4

NAME

6       SoProfile — abstract base class for all profile nodes
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoProfile
10

SYNOPSIS

12       #include <Inventor/nodes/SoProfile.h>
13
14     enum Profile {
15          SoProfile::START_FIRST     Start a new profile and remove any exist‐
16                                          ing profiles from the current list
17          SoProfile::START_NEW       Start a new profile and  add  it  to  the
18                                          current list
19          SoProfile::ADD_TO_CURRENT  Add  to  end  of  the last profile in the
20                                          current list
21     }
22
23          Fields from class SoProfile:
24
25     SoMFInt32           index
26     SoSFEnum            linkage
27
28          Methods from class SoProfile:
29
30     static SoType       getClassTypeId()
31
32          Methods from class SoNode:
33
34     void                setOverride(SbBool state)
35     SbBool              isOverride() const
36     SoNode *            copy(SbBool copyConnections = FALSE) const
37     virtual SbBool      affectsState() const
38     static SoNode *     getByName(const SbName &name)
39     static int          getByName(const SbName &name, SoNodeList &list)
40
41          Methods from class SoFieldContainer:
42
43     void                setToDefaults()
44     SbBool              hasDefaultValues() const
45     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
46     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
47                              copyConnections = FALSE)
48     SbBool              set(const char *fieldDataString)
49     void                get(SbString &fieldDataString)
50     virtual int         getFields(SoFieldList &resultList) const
51     virtual SoField *   getField(const SbName &fieldName) const
52     SbBool              getFieldName(const SoField *field, SbName &fieldName)
53                              const
54     SbBool              isNotifyEnabled() const
55     SbBool              enableNotify(SbBool flag)
56
57          Methods from class SoBase:
58
59     void                ref()
60     void                unref() const
61     void                unrefNoDelete() const
62     void                touch()
63     virtual SoType      getTypeId() const
64     SbBool              isOfType(SoType type) const
65     virtual void        setName(const SbName &name)
66     virtual SbName      getName() const
67
68

DESCRIPTION

70       This node is the abstract base  class  for  all  profile  nodes,  which
71       define  2D  curves.  A  profile  is not itself geometry, but is used to
72       change or delimit the geometry of something else. For an SoText3  node,
73       the profile determines the cross-section of the side of each text char‐
74       acter. For an SoNurbsSurface node, the profile is used to specify  trim
75       curves for the surface.
76
77       The  current profile state can consist of one or more profiles, each of
78       which can be made up of one or more  instances  of  SoProfile  subclass
79       nodes.  Each  profile  node  specifies  (in  the  index field) a set of
80       indices that refer to the current set of profile coordinates, specified
81       using  either  an SoProfileCoordinate2 or an SoProfileCoordinate3 node.
82       No profile curve should intersect itself or another profile curve.
83
84       Profiles are part of the state, just like  all  other  properties.  The
85       state  contains  a  current list of profiles.  Depending on the linkage
86       field, a profile can clear the list and begin a new  profile,  begin  a
87       new  profile  at the end of those already in the list, or append to the
88       last profile in the current list. Note that when appending profile B to
89       the  end  of  profile  A,  B must begin at the same 2D point at which A
90       ends.
91

FIELDS

93     SoMFInt32           index
94          Indices into profile coordinates.
95
96     SoSFEnum            linkage
97          Specifies connectivity of profile curve with respect to profiles  in
98          current list in state.
99
100

METHODS

102     static SoType       getClassTypeId()
103          Returns type identifier for this class.
104
105

ACTION BEHAVIOR

107       SoGLRenderAction,  SoCallbackAction, SoGetBoundingBoxAction, SoRayPick‐
108       Action
109          Adds profile to current traversal state.
110
111

FILE FORMAT/DEFAULTS

113       This is an abstract class. See the reference page of  a  derived  class
114       for the format and default values.
115

SEE ALSO

117       SoLinearProfile,  SoNurbsProfile, SoNurbsSurface, SoProfileCoordinate2,
118       SoProfileCoordinate3, SoText3
119
120
121
122
123                                                              SoProfile(3IV)()
Impressum