SoShuttle Class Reference
[Transforms]

Animated oscillating translation node. More...

#include <Inventor/nodes/SoShuttle.h>

Inheritance diagram for SoShuttle:
SoTranslation SoTransformation SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

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

Detailed Description

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

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoPendulum, SoRotor


Constructor & Destructor Documentation

SoShuttle::SoShuttle (  ) 

Creates a shuttle node with default settings.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/