| 1 |
NAME SoInfo SoInfo "" { node containing information text string } |
| 2 |
|
| 3 |
INCLUDE nodes/SoInfo.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This class defines a information node in the scene graph. This node |
| 7 |
has no effect during traversal. It is used to store information in the |
| 8 |
scene graph, typically for application-specific purposes, copyright |
| 9 |
messages, or other strings. This node differs from the \cSoLabel\. |
| 10 |
node in that it stores its information in an \cSbString\. instead of |
| 11 |
an \cSbName\.; the \cSbString\. is more efficient for storing long |
| 12 |
strings that don't have to be accessed very often. Use an \cSoLabel\. |
| 13 |
node for short strings that have to be accessed more often. |
| 14 |
} |
| 15 |
|
| 16 |
FIELD string { Defines the info string value as an \cSbString\.. } |
| 17 |
|
| 18 |
METHOD "" SoInfo() { |
| 19 |
Creates an info node with default settings. |
| 20 |
} |
| 21 |
|
| 22 |
METHOD "" static SoType getClassTypeId() { |
| 23 |
Returns type identifier for this class. |
| 24 |
} |
| 25 |
|
| 26 |
ALSO { SbString, SoLabel } |