Open Inventor Reference
|
Animated oscillating translation node. More...
#include <Inventor/nodes/SoShuttle.h>
Public Member Functions | |
SoShuttle () | |
Creates a shuttle node with default settings. | |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoSFVec3f | translation0 |
These define the two fixed translations that are interpolated to create the shuttling motion. | |
SoSFVec3f | translation1 |
These define the two fixed translations that are interpolated to create the shuttling motion. | |
SoSFFloat | speed |
Defines the speed of the shuttle, in cycles per second. | |
SoSFBool | on |
Allows applications to enable or disable the motion easily. | |
Protected Member Functions | |
virtual | ~SoShuttle () |
The SoShuttle class is derived from SoTranslation, so it applies a translation to the current transformation. Using engines connected to the realTime global field, the translation value is animated over time between two fixed translations, achieving a shuttling effect. The period of the motion can be adjusted by changing the speed field. The current translation at any time is available in the translation field, inherited from SoTranslation
Shuttle { translation 0 0 0 translation0 0 0 0 translation1 0 0 0 speed 1 on TRUE }
Definition at line 102 of file SoShuttle.h.
SoShuttle::SoShuttle | ( | ) |
virtual SoShuttle::~SoShuttle | ( | ) | [protected, virtual] |
static void SoShuttle::initClass | ( | ) | [static] |
Reimplemented from SoTranslation.
Definition at line 122 of file SoShuttle.h.
Definition at line 119 of file SoShuttle.h.
Definition at line 112 of file SoShuttle.h.
Definition at line 116 of file SoShuttle.h.