Public Member Functions | Protected Member Functions

VgEngine::VgIAnimationManager Class Reference

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

List of all members.

Public Member Functions

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

Protected Member Functions

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

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:
VisioDevKit 2.0, Visioglobe® 2013