File: SoInfo.ivm

package info (click to toggle)
inventor 2.1.5-10-14
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 32,892 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 76; csh: 35; sed: 11
file content (26 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
NAME SoInfo SoInfo "" { node containing information text string }

INCLUDE nodes/SoInfo.h

DESC {
This class defines a information node in the scene graph. This node
has no effect during traversal. It is used to store information in the
scene graph, typically for application-specific purposes, copyright
messages, or other strings. This node differs from the \cSoLabel\.
node in that it stores its information in an \cSbString\. instead of
an \cSbName\.; the \cSbString\. is more efficient for storing long
strings that don't have to be accessed very often. Use an \cSoLabel\.
node for short strings that have to be accessed more often.
}

FIELD string { Defines the info string value as an \cSbString\.. }

METHOD "" SoInfo() {
Creates an info node with default settings.
}

METHOD "" static SoType getClassTypeId() {
Returns type identifier for this class.
}

ALSO { SbString, SoLabel }