00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00028 #ifndef __vtkAVIWriter_h
00029 #define __vtkAVIWriter_h
00030
00031 #include "vtkGenericMovieWriter.h"
00032
00033 class vtkAVIWriterInternal;
00034
00035 class VTK_IO_EXPORT vtkAVIWriter : public vtkGenericMovieWriter
00036 {
00037 public:
00038 static vtkAVIWriter *New();
00039 vtkTypeRevisionMacro(vtkAVIWriter,vtkGenericMovieWriter);
00040 void PrintSelf(ostream& os, vtkIndent indent);
00041
00043
00045 void Start();
00046 void Write();
00047 void End();
00049
00051
00052 vtkSetClampMacro(Rate, int, 1, 5000);
00053 vtkGetMacro(Rate, int);
00055
00057
00059 vtkSetClampMacro(Quality, int, 0, 2);
00060 vtkGetMacro(Quality, int);
00062
00064
00067 vtkSetMacro(PromptCompressionOptions, int);
00068 vtkGetMacro(PromptCompressionOptions, int);
00069 vtkBooleanMacro(PromptCompressionOptions, int);
00071
00073
00084 vtkSetStringMacro(CompressorFourCC);
00085 vtkGetStringMacro(CompressorFourCC);
00087
00088 protected:
00089 vtkAVIWriter();
00090 ~vtkAVIWriter();
00091
00092 vtkAVIWriterInternal *Internals;
00093
00094 int Rate;
00095 int Time;
00096 int Quality;
00097 int PromptCompressionOptions;
00098 char *CompressorFourCC;
00099
00100 private:
00101 vtkAVIWriter(const vtkAVIWriter&);
00102 void operator=(const vtkAVIWriter&);
00103 };
00104
00105 #endif
00106
00107
00108