VisioMove SDK (iOS)  2.1.22
VgEngine::VgIAnimationManager Class Referenceabstract

Public Member Functions

virtual ~VgIAnimationManager ()
 
virtual void setCameraAnimation (VgEngine::VgRefPtr< VgEngine::VgAnimation > pAnimation)=0
 

Protected Member Functions

 VgIAnimationManager ()
 

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.22, Visioglobe® 2016