VTK
vtkOggTheoraWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOggTheoraWriter.h
5 
6  Copyright (c) Michael Wild, Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
31 #ifndef vtkOggTheoraWriter_h
32 #define vtkOggTheoraWriter_h
33 
34 #include "vtkIOMovieModule.h" // For export macro
35 #include "vtkGenericMovieWriter.h"
36 
37 class vtkOggTheoraWriterInternal;
38 
40 {
41 public:
42  static vtkOggTheoraWriter *New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
49  void Start();
50  void Write();
51  void End();
53 
55 
57  vtkSetClampMacro(Quality, int, 0, 2);
58  vtkGetMacro(Quality, int);
60 
62 
63  vtkSetClampMacro(Rate, int , 1, 5000);
64  vtkGetMacro(Rate, int);
66 
68 
69  vtkSetMacro(Subsampling, int);
70  vtkGetMacro(Subsampling, int);
71  vtkBooleanMacro(Subsampling, int);
72 protected:
76 
77  vtkOggTheoraWriterInternal *Internals;
78 
80  int Quality;
81  int Rate;
83 
84 private:
85  vtkOggTheoraWriter(const vtkOggTheoraWriter&); // Not implemented
86  void operator=(const vtkOggTheoraWriter&); // Not implemented
87 };
88 
89 #endif
90 
91 
92 
virtual void Write()=0
Uses the ogg and theora libraries to write video files.
#define VTKIOMOVIE_EXPORT
vtkOggTheoraWriterInternal * Internals
virtual void Start()=0
virtual void End()=0
a simple class to control print indentation
Definition: vtkIndent.h:38
an abstract movie writer class.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()