1SoInfo(3IV)()                                                    SoInfo(3IV)()
2
3
4

NAME

6       SoInfo — node containing information text string
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoInfo
10

SYNOPSIS

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

DESCRIPTION

61       This class defines a information node in the scene graph. This node has
62       no effect during traversal. It is used  to  store  information  in  the
63       scene  graph,  typically  for  application-specific purposes, copyright
64       messages, or other strings. This node differs from the SoLabel node  in
65       that it stores its information in an SbString instead of an SbName; the
66       SbString is more efficient for storing long strings that don't have  to
67       be accessed very often. Use an SoLabel node for short strings that have
68       to be accessed more often.
69

FIELDS

71     SoSFString          string
72          Defines the info string value as an SbString.
73
74

METHODS

76                         SoInfo()
77          Creates an info node with default settings.
78
79     static SoType       getClassTypeId()
80          Returns type identifier for this class.
81
82

FILE FORMAT/DEFAULTS

84       Info {
85          string  "<Undefined info>"
86     }
87

SEE ALSO

89       SbString, SoLabel
90
91
92
93
94                                                                 SoInfo(3IV)()
Impressum