VisioMove  2.1.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends Pages
VgEngine::VgIAnimationManager Class Referenceabstract

This class is a manager for animations. More...

Public Member Functions

virtual ~VgIAnimationManager ()
 Class destructor. More...
 
virtual void setCameraAnimation (VgEngine::VgRefPtr< VgEngine::VgAnimation > pAnimation)=0
 This method uses an instantiated animation to animate the camera. More...
 

Protected Member Functions

 VgIAnimationManager ()
 This class constructor is protected to prevent instantiation. More...
 

Detailed Description

This class is a manager for animations.

It contains a method to set up camera animations. This is an interface to a hiden implementation. It should never be directly instantiated. An instance of this class can be obtained through VgEngine::VgIEngine::editAnimationManager().

Constructor & Destructor Documentation

virtual VgEngine::VgIAnimationManager::~VgIAnimationManager ( )
virtual

Class destructor.

VgEngine::VgIAnimationManager::VgIAnimationManager ( )
protected

This class constructor is protected to prevent instantiation.

Member Function Documentation

virtual void VgEngine::VgIAnimationManager::setCameraAnimation ( VgEngine::VgRefPtr< VgEngine::VgAnimation pAnimation)
pure virtual

This method uses an instantiated animation to animate the camera.

Only the position and orientation channels will be used.

Parameters
pAnimationThe pointer of the animation to use. if NULL, the current animation will be dereferenced silently: no longer updated and its stop callback will not be called
Remarks
the animations will execute regardless of whether a configuration is loaded. in case the animation references scene objects or objects that may no longer exist it is useful to call setCameraAnimation(NULL) at the end

The documentation for this class was generated from the following file:
VisioMove 2.1.5, Visioglobe® 2015