com.visioglobe.libVisioDevKit
Class VgIAnimationManager

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgIAnimationManager

public class VgIAnimationManager
extends java.lang.Object

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().


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
VgIAnimationManager(long cPtr, boolean cMemoryOwn)
          This class constructor is protected to prevent instantiation.
 
Method Summary
 void delete()
           
protected  void finalize()
           
static long getCPtr(VgIAnimationManager obj)
           
 void setCameraAnimation(VgAnimationRefPtr pAnimation)
          This method uses an instantiated animation to animate the camera.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

VgIAnimationManager

public VgIAnimationManager(long cPtr,
                           boolean cMemoryOwn)
This class constructor is protected to prevent instantiation.

Method Detail

getCPtr

public static long getCPtr(VgIAnimationManager obj)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

delete

public void delete()

setCameraAnimation

public void setCameraAnimation(VgAnimationRefPtr pAnimation)
This method uses an instantiated animation to animate the camera. Only the position and orientation channels will be used.

Parameters:
pAnimation - The 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
Remark:
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

VisioDevKit 2.0, Visioglobe® 2013