00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00034 #ifndef __vtkFFMPEGWriter_h
00035 #define __vtkFFMPEGWriter_h
00036
00037 #include "vtkGenericMovieWriter.h"
00038
00039 class vtkFFMPEGWriterInternal;
00040
00041 class VTK_IO_EXPORT vtkFFMPEGWriter : public vtkGenericMovieWriter
00042 {
00043 public:
00044 static vtkFFMPEGWriter *New();
00045 vtkTypeMacro(vtkFFMPEGWriter,vtkGenericMovieWriter);
00046 void PrintSelf(ostream& os, vtkIndent indent);
00047
00049
00051 void Start();
00052 void Write();
00053 void End();
00055
00057
00059 vtkSetClampMacro(Quality, int, 0, 2);
00060 vtkGetMacro(Quality, int);
00062
00064
00065 vtkSetClampMacro(Rate, int , 1, 5000);
00066 vtkGetMacro(Rate, int);
00068 protected:
00069 vtkFFMPEGWriter();
00070 ~vtkFFMPEGWriter();
00071
00072 vtkFFMPEGWriterInternal *Internals;
00073
00074 int Initialized;
00075 int Quality;
00076 int Rate;
00077
00078 private:
00079 vtkFFMPEGWriter(const vtkFFMPEGWriter&);
00080 void operator=(const vtkFFMPEGWriter&);
00081 };
00082
00083 #endif
00084
00085
00086