NAME
SoShuttle – animated oscillating translation node
INHERITS FROM
SoShuttle
SYNOPSIS
#include <Inventor/nodes/SoShuttle.h>
Fields from class SoShuttle:
Methods from class SoShuttle:
static SoType getClassTypeId()
void setOverride(SbBool state)
virtual SbBool affectsState() const
SbBool hasDefaultValues() const
SbBool set(const char *fieldDataString)
SbBool isNotifyEnabled() const
void unrefNoDelete() const
virtual SoType getTypeId() const
virtual void setName(const SbName &name)
virtual SbName getName() const
DESCRIPTION
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
FIELDS
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.
METHODS
SoShuttle()
Creates a shuttle node with default settings.
static SoType getClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
Concatenates interpolated translation value with the current transformation matrix.
Returns transformation matrix specified by the interpolated translation.
FILE FORMAT/DEFAULTS
SEE ALSO
Typeset by Felix Ritter (MeVis Research GmbH)
Hyperlinks by Wolfram Esser (method park Software AG)