VTK
dox/IO/vtkOggTheoraWriter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkOggTheoraWriter.h
00005 
00006   Copyright (c) Michael Wild, Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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&); // Not implemented
00085   void operator=(const vtkOggTheoraWriter&); // Not implemented
00086 };
00087 
00088 #endif
00089 
00090 
00091