VTK
dox/IO/Movie/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 "vtkIOMovieModule.h" // For export macro
00035 #include "vtkGenericMovieWriter.h"
00036 
00037 class vtkOggTheoraWriterInternal;
00038 
00039 class VTKIOMOVIE_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
00040 {
00041 public:
00042   static vtkOggTheoraWriter *New();
00043   vtkTypeMacro(vtkOggTheoraWriter,vtkGenericMovieWriter);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047 
00049   void Start();
00050   void Write();
00051   void End();
00053 
00055 
00057   vtkSetClampMacro(Quality, int, 0, 2);
00058   vtkGetMacro(Quality, int);
00060 
00062 
00063   vtkSetClampMacro(Rate, int , 1, 5000);
00064   vtkGetMacro(Rate, int);
00066 
00068 
00069   vtkSetMacro(Subsampling, int);
00070   vtkGetMacro(Subsampling, int);
00071   vtkBooleanMacro(Subsampling, int);
00072 protected:
00073   vtkOggTheoraWriter();
00074   ~vtkOggTheoraWriter();
00076 
00077   vtkOggTheoraWriterInternal *Internals;
00078 
00079   int Initialized;
00080   int Quality;
00081   int Rate;
00082   int Subsampling;
00083 
00084 private:
00085   vtkOggTheoraWriter(const vtkOggTheoraWriter&); // Not implemented
00086   void operator=(const vtkOggTheoraWriter&); // Not implemented
00087 };
00088 
00089 #endif
00090 
00091 
00092