73 void Set(
float newSpeed,
unsigned int newPriority,
bool cyclic);
VART::Action & operator=(const VART::Action &action)
Copy action data, except the active atribute (that remains unmodified). Used in Action::Copy() method...
Base class for objects that compose a scene graph.
void ModifyDofMovers(DMModifier &mod)
Modifies dof movers.
Action()
Creates an unitialized action.
Representation of joints.
void SetSpeed(float newSpeed)
Sets the speed of an action.
void Set(float newSpeed, unsigned int newPriority, bool cyclic)
Sets speed, priority and cycle attibutes.
Header file for V-ART class "Time".
A coordinated movement of joints in an articulated body.
static float frameFrequency
Fake animation time.
Header file for V-ART class "SceneNode".
bool IsActive() const
Returns true if the action is currently active.
void SetPriority(unsigned int newPriority)
Sets the priority of an action.
void GetFinalTimes(std::list< float > *resultPtr)
Returns a ordered list with all different final times for every dof mover.
std::string description
Textual description.
unsigned int priority
seconds to auto deactivation
void DeactivateDofMovers()
Deactivates DOF movers in every joint mover.
An object that modifies noisy dof movers.
static std::list< Action * > activeInstances
Interpolator representation.
Controllers for joint movement.
void Move()
Animate joints.
static unsigned int MoveAllActive()
Moves all active actions.
CallBack * callbackPtr
A call-back to be activated once the action is finished/deactivated.
void Activate()
Activate action.
Noisy Controller for DOF movement.
void Deactivate()
Deactivate action.
bool IsCyclic()
Checks whether the action is cyclic.
std::list< JointMover * > jointMoverList
VART::Action * Copy(VART::SceneNode &targetNode)
Returns a copy of an action, aplied to an targetNode sceneNode.
JointMover * AddJointMover(Joint *jointPtr, float newDuration, const Interpolator &interpolator)
Adds a joint mover to the action.
An object that is activated in a callback-like scheme.
friend std::ostream & operator<<(std::ostream &output, const Action &action)
void SetCyclic(bool value)
Sets whether an action is cyclic.
Elapsed time representation.