man SoShuttle () - animated oscillating translation node
NAME
SoShuttle - animated oscillating translation node
INHERITS FROM
SoBase > SoFieldContainer > SoNode > SoTransformation > SoTranslation > SoShuttle
SYNOPSIS
#include <Inventor/nodes/SoShuttle.h>
Fields from class SoShuttle:
c
}
c
}
translation0
c
}
c
}
translation1
c
}
c
}
speed
c
}
c
}
on
Fields from class SoTranslation:
c
}
c
}
translation
Methods from class SoShuttle:
c
}
c
}
SoShuttle()
c
}
c
}
getClassTypeId()
Methods from class SoNode:
c
}
c
}
setOverride(SbBool state)
c
}
c
}
isOverride() const
c
}
c
}
copy(SbBool copyConnections = FALSE) const
c
}
c
}
affectsState() const
c
}
c
}
getByName(const SbName &name)
c
}
c
}
getByName(const SbName &name, SoNodeList &list)
Methods from class SoFieldContainer:
c
}
c
}
setToDefaults()
c
}
c
}
hasDefaultValues() const
c
}
c
}
fieldsAreEqual(const SoFieldContainer *fc) const
c
}
c
}
copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)
c
}
c
}
set(const char *fieldDataString)
c
}
c
}
get(SbString &fieldDataString)
c
}
c
}
getFields(SoFieldList &resultList) const
c
}
c
}
getField(const SbName &fieldName) const
c
}
c
}
getFieldName(const SoField *field, SbName &fieldName) const
c
}
c
}
isNotifyEnabled() const
c
}
c
}
enableNotify(SbBool flag)
Methods from class SoBase:
c
}
c
}
ref()
c
}
c
}
unref() const
c
}
c
}
unrefNoDelete() const
c
}
c
}
touch()
c
}
c
}
getTypeId() const
c
}
c
}
isOfType(SoType type) const
c
}
c
}
setName(const SbName &name)
c
}
c
}
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
c
}
c
}
translation0
c
}
c
}
translation1
These define the two fixed translations that are interpolated to create the shuttling motion.
c
}
c
}
speed
Defines the speed of the shuttle, in cycles per second.
c
}
c
}
on
Allows applications to enable or disable the motion easily.
METHODS
c
}
c
}
SoShuttle()
Creates a shuttle node with default settings.
c
}
c
}
getClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoRayPickAction
Concatenates interpolated translation value with the current transformation matrix.
SoGetMatrixAction
Returns transformation matrix specified by the interpolated translation.
FILE FORMAT/DEFAULTS
Shuttle { translation 0 0 0 translation0 0 0 0 translation1 0 0 0 speed 1 on TRUE }
SEE ALSO
SoPendulum, SoRotor