00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00031 #ifndef __vtkOggTheoraWriter_h
00032 #define __vtkOggTheoraWriter_h
00033
00034 #include "vtkGenericMovieWriter.h"
00035
00036 class vtkOggTheoraWriterInternal;
00037
00038 class VTK_IO_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
00039 {
00040 public:
00041 static vtkOggTheoraWriter *New();
00042 vtkTypeMacro(vtkOggTheoraWriter,vtkGenericMovieWriter);
00043 void PrintSelf(ostream& os, vtkIndent indent);
00044
00046
00048 void Start();
00049 void Write();
00050 void End();
00052
00054
00056 vtkSetClampMacro(Quality, int, 0, 2);
00057 vtkGetMacro(Quality, int);
00059
00061
00062 vtkSetClampMacro(Rate, int , 1, 5000);
00063 vtkGetMacro(Rate, int);
00065
00067
00068 vtkSetMacro(Subsampling, int);
00069 vtkGetMacro(Subsampling, int);
00070 vtkBooleanMacro(Subsampling, int);
00071 protected:
00072 vtkOggTheoraWriter();
00073 ~vtkOggTheoraWriter();
00075
00076 vtkOggTheoraWriterInternal *Internals;
00077
00078 int Initialized;
00079 int Quality;
00080 int Rate;
00081 int Subsampling;
00082
00083 private:
00084 vtkOggTheoraWriter(const vtkOggTheoraWriter&);
00085 void operator=(const vtkOggTheoraWriter&);
00086 };
00087
00088 #endif
00089
00090
00091