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
00070
00071 vtkSetMacro(BitRate, int);
00072 vtkGetMacro(BitRate, int);
00074
00076
00077 vtkSetMacro(BitRateTolerance, int);
00078 vtkGetMacro(BitRateTolerance, int);
00080
00081 protected:
00082 vtkFFMPEGWriter();
00083 ~vtkFFMPEGWriter();
00084
00085 vtkFFMPEGWriterInternal *Internals;
00086
00087 int Initialized;
00088 int Quality;
00089 int Rate;
00090 int BitRate;
00091 int BitRateTolerance;
00092
00093 private:
00094 vtkFFMPEGWriter(const vtkFFMPEGWriter&);
00095 void operator=(const vtkFFMPEGWriter&);
00096 };
00097
00098 #endif
00099
00100
00101