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

vtkSMAnimationSceneProxy Class Reference

proxy for vtkAnimationScene More...

#include <vtkSMAnimationSceneProxy.h>

Inheritance diagram for vtkSMAnimationSceneProxy:

Inheritance graph
[legend]
Collaboration diagram for vtkSMAnimationSceneProxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkSMAnimationSceneProxy, vtkSMAnimationCueProxy)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SaveInBatchScript (ofstream *)
void Play ()
void Stop ()
int IsInPlay ()
void SetLoop (int loop)
int GetLoop ()
void SetFrameRate (double framerate)
double GetFrameRate ()
void AddCue (vtkSMProxy *cue)
void RemoveCue (vtkSMProxy *cue)
virtual void SetCaching (int enable)
void CleanCache ()
void SetAnimationTime (double time)
int SaveImages (const char *fileRoot, const char *ext, int width, int height, double framerate)
int SaveGeometry (const char *filename)
void SetPlayMode (int mode)
int GetPlayMode ()
void SetRenderModuleProxy (vtkSMRenderModuleProxy *ren)

Static Public Member Functions

vtkSMAnimationSceneProxyNew ()

Protected Member Functions

 vtkSMAnimationSceneProxy ()
 ~vtkSMAnimationSceneProxy ()
void SaveImages ()
void SaveGeometry (double time)
virtual void CreateVTKObjects (int numObjects)
virtual void SetFileRoot (const char *)
virtual void SetFileExtension (const char *)
virtual void StartCueInternal (void *info)
virtual void TickInternal (void *info)
virtual void EndCueInternal (void *info)
void CacheUpdate (void *info)

Protected Attributes

int GeometryCached
vtkCollection * AnimationCueProxies
vtkCollectionIterator * AnimationCueProxiesIterator
vtkSMRenderModuleProxyRenderModuleProxy
vtkImageWriter * ImageWriter
vtkGenericMovieWriter * MovieWriter
char * FileRoot
char * FileExtension
int FileCount
int SaveFailed
vtkSMProxyGeometryWriter

Detailed Description

proxy for vtkAnimationScene

Proxy for animation scene. Also supports writing out animation images (movie) and animation geometry.

See also:
vtkSMProxy vtkSMAnimationCueProxy

Definition at line 37 of file vtkSMAnimationSceneProxy.h.


Constructor & Destructor Documentation

vtkSMAnimationSceneProxy::vtkSMAnimationSceneProxy  )  [protected]
 

vtkSMAnimationSceneProxy::~vtkSMAnimationSceneProxy  )  [protected]
 


Member Function Documentation

vtkSMAnimationSceneProxy* vtkSMAnimationSceneProxy::New  )  [static]
 

Reimplemented from vtkSMAnimationCueProxy.

vtkSMAnimationSceneProxy::vtkTypeRevisionMacro vtkSMAnimationSceneProxy  ,
vtkSMAnimationCueProxy 
 

void vtkSMAnimationSceneProxy::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkSMAnimationCueProxy.

virtual void vtkSMAnimationSceneProxy::SaveInBatchScript ofstream *   )  [virtual]
 

Saves the proxy to batch script.

Reimplemented from vtkSMAnimationCueProxy.

void vtkSMAnimationSceneProxy::Play  ) 
 

void vtkSMAnimationSceneProxy::Stop  ) 
 

int vtkSMAnimationSceneProxy::IsInPlay  ) 
 

void vtkSMAnimationSceneProxy::SetLoop int  loop  ) 
 

int vtkSMAnimationSceneProxy::GetLoop  ) 
 

void vtkSMAnimationSceneProxy::SetFrameRate double  framerate  ) 
 

double vtkSMAnimationSceneProxy::GetFrameRate  ) 
 

void vtkSMAnimationSceneProxy::SetPlayMode int  mode  ) 
 

Note that when the play mode is set to Real Time, cacheing is disabled.

int vtkSMAnimationSceneProxy::GetPlayMode  ) 
 

Note that when the play mode is set to Real Time, cacheing is disabled.

void vtkSMAnimationSceneProxy::AddCue vtkSMProxy cue  ) 
 

void vtkSMAnimationSceneProxy::RemoveCue vtkSMProxy cue  ) 
 

virtual void vtkSMAnimationSceneProxy::SetCaching int  enable  )  [virtual]
 

Set if caching is enabled. This method synchronizes the cahcing flag on every cue.

Reimplemented from vtkSMAnimationCueProxy.

void vtkSMAnimationSceneProxy::CleanCache  ) 
 

This method calls InvalidateAllGeometries on the vtkSMRenderModuleProxy. However, to minimize the calls to InvalidateAllGeometries, this call keeps a flag indicating if CacheUpdate was ever called on the Render Module and calls InvalidateAllGeometries only of the flag is set.

void vtkSMAnimationSceneProxy::SetRenderModuleProxy vtkSMRenderModuleProxy ren  )  [inline]
 

Set the RenderModule Proxy. Note that it is not reference counted.

Definition at line 80 of file vtkSMAnimationSceneProxy.h.

void vtkSMAnimationSceneProxy::SetAnimationTime double  time  ) 
 

int vtkSMAnimationSceneProxy::SaveImages const char *  fileRoot,
const char *  ext,
int  width,
int  height,
double  framerate
 

Saves the animation as a sequence of images or a movie file. The method is not accessible using property interface. Return 0 on success.

int vtkSMAnimationSceneProxy::SaveGeometry const char *  filename  ) 
 

Save the geometry of the animation. Note that this method is not accessible using property interface. Returns 0 on success.

void vtkSMAnimationSceneProxy::SaveImages  )  [protected]
 

void vtkSMAnimationSceneProxy::SaveGeometry double  time  )  [protected]
 

virtual void vtkSMAnimationSceneProxy::CreateVTKObjects int  numObjects  )  [protected, virtual]
 

Given the number of objects (numObjects), class name (VTKClassName) and server ids ( this->GetServerIDs()), this methods instantiates the objects on the server(s)

Reimplemented from vtkSMAnimationCueProxy.

virtual void vtkSMAnimationSceneProxy::StartCueInternal void *  info  )  [protected, virtual]
 

Callbacks for corresponding Cue events. The argument must be casted to vtkAnimationCue::AnimationCueInfo.

Reimplemented from vtkSMAnimationCueProxy.

virtual void vtkSMAnimationSceneProxy::TickInternal void *  info  )  [protected, virtual]
 

Callbacks for corresponding Cue events. The argument must be casted to vtkAnimationCue::AnimationCueInfo.

Reimplemented from vtkSMAnimationCueProxy.

virtual void vtkSMAnimationSceneProxy::EndCueInternal void *  info  )  [protected, virtual]
 

Callbacks for corresponding Cue events. The argument must be casted to vtkAnimationCue::AnimationCueInfo.

Reimplemented from vtkSMAnimationCueProxy.

void vtkSMAnimationSceneProxy::CacheUpdate void *  info  )  [protected]
 

Callbacks for corresponding Cue events. The argument must be casted to vtkAnimationCue::AnimationCueInfo.

virtual void vtkSMAnimationSceneProxy::SetFileRoot const char *   )  [protected, virtual]
 

virtual void vtkSMAnimationSceneProxy::SetFileExtension const char *   )  [protected, virtual]
 


Member Data Documentation

int vtkSMAnimationSceneProxy::GeometryCached [protected]
 

Definition at line 107 of file vtkSMAnimationSceneProxy.h.

vtkCollection* vtkSMAnimationSceneProxy::AnimationCueProxies [protected]
 

Definition at line 119 of file vtkSMAnimationSceneProxy.h.

vtkCollectionIterator* vtkSMAnimationSceneProxy::AnimationCueProxiesIterator [protected]
 

Definition at line 120 of file vtkSMAnimationSceneProxy.h.

vtkSMRenderModuleProxy* vtkSMAnimationSceneProxy::RenderModuleProxy [protected]
 

Definition at line 122 of file vtkSMAnimationSceneProxy.h.

vtkImageWriter* vtkSMAnimationSceneProxy::ImageWriter [protected]
 

Definition at line 125 of file vtkSMAnimationSceneProxy.h.

vtkGenericMovieWriter* vtkSMAnimationSceneProxy::MovieWriter [protected]
 

Definition at line 126 of file vtkSMAnimationSceneProxy.h.

char* vtkSMAnimationSceneProxy::FileRoot [protected]
 

Definition at line 127 of file vtkSMAnimationSceneProxy.h.

char* vtkSMAnimationSceneProxy::FileExtension [protected]
 

Definition at line 128 of file vtkSMAnimationSceneProxy.h.

int vtkSMAnimationSceneProxy::FileCount [protected]
 

Definition at line 129 of file vtkSMAnimationSceneProxy.h.

int vtkSMAnimationSceneProxy::SaveFailed [protected]
 

Definition at line 130 of file vtkSMAnimationSceneProxy.h.

vtkSMProxy* vtkSMAnimationSceneProxy::GeometryWriter [protected]
 

Definition at line 135 of file vtkSMAnimationSceneProxy.h.


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