Debian Codegraph @

doc/man/man3/ivm/nodes/SoShuttle.ivm

raw
1 NAME SoShuttle SoShuttle "" { animated oscillating translation node }
2
3 INCLUDE nodes/SoShuttle.h
4
5 DESC {
6 The \cSoShuttle\. class is derived from \cSoTranslation\., so it
7 applies a translation to the current transformation. Using engines
8 connected to the \vrealTime\. global field, the translation value is
9 animated over time between two fixed translations, achieving a
10 shuttling effect. The period of the motion can be adjusted by changing
11 the \vspeed\. field. The current translation at any time is available
12 in the \vtranslation\. field, inherited from \cSoTranslation\.
13 }
14
15 FIELD translation0 {}
16 FIELD translation1 {
17 These define the two fixed translations that are interpolated to
18 create the shuttling motion.
19 }
20
21 FIELD speed { Defines the speed of the shuttle, in cycles per second. }
22
23 FIELD on { Allows applications to enable or disable the motion easily. }
24
25 METHOD "" SoShuttle() {
26 Creates a shuttle node with default settings.
27 }
28
29 METHOD "" static SoType getClassTypeId() {
30 Returns type identifier for this class.
31 }
32
33 ACTION SoGLRenderAction, SoCallbackAction,
34 SoGetBoundingBoxAction, SoRayPickAction {
35 Concatenates interpolated translation value with the current
36 transformation matrix.
37 }
38
39 ACTION SoGetMatrixAction {
40 Returns transformation matrix specified by the interpolated translation.
41 }
42
43 ALSO { SoPendulum, SoRotor }