15#include <vsg/animation/AnimationGroup.h>
16#include <vsg/ui/FrameStamp.h>
17#include <vsg/utils/Instrumentation.h>
52 double _simulationTime = 0.0;
Animation class that controls a single animation made up of one more samplers.
Definition Animation.h:44
AnimationManager provides a mechanism for playing/updating animations as part of the Viewer::update()
Definition AnimationManager.h:24
virtual bool stop()
stop all running animations
std::list< ref_ptr< Animation > > animations
list of animations that are currently being played
Definition AnimationManager.h:29
virtual bool update(vsg::Animation &animation)
update animation, called automatically by AnimationManager::run()
virtual bool stop(vsg::ref_ptr< vsg::Animation > animation)
stop animation
virtual void assignInstrumentation(ref_ptr< Instrumentation > in_instrumentation)
assign instrumentation if required
virtual bool play(vsg::ref_ptr< vsg::Animation > animation, double startTime=0.0)
play animation
virtual void run(vsg::ref_ptr< vsg::FrameStamp > frameStamp)
update all the animations being played, called automatically by Viewer::update()