Animated oscillating translation node. More...
#include <Inventor/nodes/SoShuttle.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoShuttle () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFVec3f | translation0 |
SoSFVec3f | translation1 |
SoSFFloat | speed |
SoSFBool | on |
Animated oscillating translation node.
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
translation | 0 0 0 |
translation0 | 0 0 0 |
translation1 | 0 0 0 |
speed | 1 |
on | TRUE |
SoGetMatrixAction
Returns transformation matrix specified by the interpolated translation.
SoShuttle::SoShuttle | ( | ) |
Creates a shuttle node with default settings.
static SoType SoShuttle::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoTranslation.
virtual SoType SoShuttle::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoTranslation.
Allows applications to enable or disable the motion easily.
Defines the speed of the shuttle, in cycles per second.
These define the two fixed translations that are interpolated to create the shuttling motion.