Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkSMCameraManipulatorProxy Class Reference

Manipulator for Camera animation. More...

#include <vtkSMCameraManipulatorProxy.h>

Inheritance diagram for vtkSMCameraManipulatorProxy:

Inheritance graph
[legend]
Collaboration diagram for vtkSMCameraManipulatorProxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkSMCameraManipulatorProxy, vtkSMKeyFrameAnimationCueManipulatorProxy)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

vtkSMCameraManipulatorProxyNew ()

Protected Member Functions

 vtkSMCameraManipulatorProxy ()
 ~vtkSMCameraManipulatorProxy ()
virtual void Initialize (vtkSMAnimationCueProxy *)
virtual void Finalize (vtkSMAnimationCueProxy *)
virtual void UpdateValue (double currenttime, vtkSMAnimationCueProxy *cueproxy)

Protected Attributes

vtkCameraInterpolator * CameraInterpolator

Detailed Description

Manipulator for Camera animation.

This is the manipulator for animating camera. Unlike the base class, interpolation is not done by the Keyframe objects. Instead, this class does the interpolation using the values in the keyframe objects.

Definition at line 31 of file vtkSMCameraManipulatorProxy.h.


Constructor & Destructor Documentation

vtkSMCameraManipulatorProxy::vtkSMCameraManipulatorProxy  )  [protected]
 

vtkSMCameraManipulatorProxy::~vtkSMCameraManipulatorProxy  )  [protected]
 


Member Function Documentation

vtkSMCameraManipulatorProxy* vtkSMCameraManipulatorProxy::New  )  [static]
 

Reimplemented from vtkSMKeyFrameAnimationCueManipulatorProxy.

vtkSMCameraManipulatorProxy::vtkTypeRevisionMacro vtkSMCameraManipulatorProxy  ,
vtkSMKeyFrameAnimationCueManipulatorProxy 
 

void vtkSMCameraManipulatorProxy::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkSMKeyFrameAnimationCueManipulatorProxy.

virtual void vtkSMCameraManipulatorProxy::Initialize vtkSMAnimationCueProxy  )  [protected, virtual]
 

This method is called when the AnimationCue's StartAnimationCueEvent is triggerred, to let the animation manipulator know that the cue has been restarted. This is here for one major reason: after the last key frame, the state of the scene must be as it was left a the the last key frame. This does not happend automatically, since if while animating the currentime never coincides with the last key frame's key time, then it never gets a chance to update the properties value. Hence, we note when the cue begins. Then, if the currentime is beyond that of the last key frame we pretend that the current time coincides with that of the last key frame and let it update the properties. This is done only once per Animation cycle. The Initialize method is used to indicate that a new animation cycle has begun.

Reimplemented from vtkSMKeyFrameAnimationCueManipulatorProxy.

virtual void vtkSMCameraManipulatorProxy::Finalize vtkSMAnimationCueProxy  )  [protected, virtual]
 

This method is called when the AnimationCue's EndAnimationCueEvent is triggerred. Typically, the Manipulator will set the state of the Cue to that at the end of the cue.

Reimplemented from vtkSMKeyFrameAnimationCueManipulatorProxy.

virtual void vtkSMCameraManipulatorProxy::UpdateValue double  currenttime,
vtkSMAnimationCueProxy cueproxy
[protected, virtual]
 

This updates the values based on currenttime. currenttime is normalized to the time range of the Cue.

Reimplemented from vtkSMKeyFrameAnimationCueManipulatorProxy.


Member Data Documentation

vtkCameraInterpolator* vtkSMCameraManipulatorProxy::CameraInterpolator [protected]
 

Definition at line 53 of file vtkSMCameraManipulatorProxy.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:36:09 2006 for ParaView by doxygen 1.3.5