31 #ifndef vtkSMAnimationSceneImageWriter_h 32 #define vtkSMAnimationSceneImageWriter_h 34 #include "vtkPVAnimationModule.h" 37 class vtkGenericMovieWriter;
47 void PrintSelf(ostream& os, vtkIndent indent);
53 vtkSetClampMacro(Magnification,
int, 1, VTK_INT_MAX);
54 vtkGetMacro(Magnification,
int);
64 vtkSetClampMacro(Quality,
int, 0, 2);
65 vtkGetMacro(Quality,
int);
74 vtkSetMacro(Compression,
bool);
75 vtkGetMacro(Compression,
bool);
76 vtkBooleanMacro(Compression,
bool);
86 vtkSetMacro(Subsampling,
int);
87 vtkGetMacro(Subsampling,
int);
88 vtkBooleanMacro(Subsampling,
int);
96 vtkGetMacro(ErrorCode,
int);
104 vtkSetVector3Macro(BackgroundColor,
double);
105 vtkGetVector3Macro(BackgroundColor,
double);
114 vtkSetMacro(FrameRate,
double);
115 vtkGetMacro(FrameRate,
double);
123 static void Merge(vtkImageData* dest, vtkImageData* src);
150 void UpdateImageSize();
158 virtual vtkImageData* CaptureViewImage(
vtkSMViewProxy*,
int magnification);
160 vtkImageData* NewFrame();
162 vtkSetVector2Macro(ActualSize,
int);
173 vtkSetStringMacro(Prefix);
174 vtkSetStringMacro(Suffix);
176 double BackgroundColor[3];
182 void SetImageWriter(vtkImageWriter*);
183 void SetMovieWriter(vtkGenericMovieWriter*);
vtkImageWriter * ImageWriter
Superclass for all view proxies.
virtual bool SaveInitialize(int countStart)=0
Subclasses should override this method.
helper class used to write animations.
void PrintSelf(ostream &os, vtkIndent indent)
vtkGenericMovieWriter * MovieWriter
virtual bool SaveFrame(double time)=0
Subclasses should override this method.
helper class to write animation images/movies.
virtual bool SaveFinalize()=0
Subclasses should override this method.
static vtkSMSessionObject * New()