#include <AnimationParameters.h>
|
template<typename T > |
void | _updateValue (T &member, const T &newValue, const bool triggerCallback=true) |
|
template<class T > |
bool | _isEqual (const T &a, const T &b, typename std::enable_if< std::is_floating_point< T >::value >::type *=0) |
|
template<class T > |
bool | _isEqual (const T &a, const T &b, typename std::enable_if<!std::is_floating_point< T >::value >::type *=0) |
|
static std::string | asString (const bool flag) |
|
std::string | _name |
|
po::options_description | _parameters |
|
Definition at line 32 of file AnimationParameters.h.
◆ IsReadyCallback
◆ AnimationParameters()
core::AnimationParameters::AnimationParameters |
( |
| ) |
|
◆ getDelta()
int32_t core::AnimationParameters::getDelta |
( |
| ) |
const |
|
inline |
◆ getDt()
double core::AnimationParameters::getDt |
( |
| ) |
const |
|
inline |
◆ getFrame()
uint32_t core::AnimationParameters::getFrame |
( |
| ) |
const |
|
inline |
◆ getNumFrames()
uint32_t core::AnimationParameters::getNumFrames |
( |
| ) |
const |
|
inline |
◆ hasIsReadyCallback()
bool core::AnimationParameters::hasIsReadyCallback |
( |
| ) |
const |
|
inline |
◆ isPlaying()
bool core::AnimationParameters::isPlaying |
( |
| ) |
const |
|
inline |
◆ jumpFrames()
void core::AnimationParameters::jumpFrames |
( |
int |
frames | ) |
|
◆ print()
void core::AnimationParameters::print |
( |
| ) |
|
|
finalvirtual |
◆ removeIsReadyCallback()
void core::AnimationParameters::removeIsReadyCallback |
( |
| ) |
|
|
inline |
◆ reset()
void core::AnimationParameters::reset |
( |
| ) |
|
◆ setDelta()
void core::AnimationParameters::setDelta |
( |
const int32_t |
delta | ) |
|
◆ setDt()
void core::AnimationParameters::setDt |
( |
const double |
dt, |
|
|
const bool |
triggerCallback = true |
|
) |
| |
|
inline |
◆ setFrame()
void core::AnimationParameters::setFrame |
( |
uint32_t |
value | ) |
|
|
inline |
◆ setIsReadyCallback()
void core::AnimationParameters::setIsReadyCallback |
( |
const IsReadyCallback & |
callback | ) |
|
|
inline |
Set a callback to report if the current animation frame is ready (e.g. simulation has been loaded) and the animation can advance to the next frame.
Definition at line 70 of file AnimationParameters.h.
◆ setNumFrames()
void core::AnimationParameters::setNumFrames |
( |
const uint32_t |
numFrames, |
|
|
const bool |
triggerCallback = true |
|
) |
| |
|
inline |
◆ setUnit()
void core::AnimationParameters::setUnit |
( |
const std::string & |
unit, |
|
|
const bool |
triggerCallback = true |
|
) |
| |
|
inline |
◆ togglePlayback()
void core::AnimationParameters::togglePlayback |
( |
| ) |
|
|
inline |
◆ update()
void core::AnimationParameters::update |
( |
| ) |
|
The documentation for this class was generated from the following files: