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 =========================================================================*/
32 #ifndef vtkOggTheoraWriter_h
33 #define vtkOggTheoraWriter_h
34 
35 #include "vtkIOMovieModule.h" // For export macro
36 #include "vtkGenericMovieWriter.h"
37 
38 class vtkOggTheoraWriterInternal;
39 
40 class VTKIOMOVIE_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
52  void Start();
53  void Write();
54  void End();
56 
58 
63  vtkSetClampMacro(Quality, int, 0, 2);
64  vtkGetMacro(Quality, int);
66 
68 
71  vtkSetClampMacro(Rate, int , 1, 5000);
72  vtkGetMacro(Rate, int);
74 
76 
79  vtkSetMacro(Subsampling, int);
80  vtkGetMacro(Subsampling, int);
81  vtkBooleanMacro(Subsampling, int);
83 
84 protected:
87 
88  vtkOggTheoraWriterInternal *Internals;
89 
91  int Quality;
92  int Rate;
94 
95 private:
96  vtkOggTheoraWriter(const vtkOggTheoraWriter&) VTK_DELETE_FUNCTION;
97  void operator=(const vtkOggTheoraWriter&) VTK_DELETE_FUNCTION;
98 };
99 
100 #endif
101 
102 
103 
vtkOggTheoraWriter::Initialized
int Initialized
Definition: vtkOggTheoraWriter.h:90
vtkOggTheoraWriter::vtkOggTheoraWriter
vtkOggTheoraWriter()
vtkGenericMovieWriter.h
vtkOggTheoraWriter::Start
void Start()
These methods start writing an Movie file, write a frame to the file and then end the writing process...
vtkOggTheoraWriter::New
static vtkOggTheoraWriter * New()
vtkOggTheoraWriter::Internals
vtkOggTheoraWriterInternal * Internals
Definition: vtkOggTheoraWriter.h:88
vtkOggTheoraWriter::Write
void Write()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkOggTheoraWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkOggTheoraWriter::Quality
int Quality
Definition: vtkOggTheoraWriter.h:91
vtkOggTheoraWriter::~vtkOggTheoraWriter
~vtkOggTheoraWriter()
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGenericMovieWriter
an abstract movie writer class.
Definition: vtkGenericMovieWriter.h:37
vtkOggTheoraWriter::End
void End()
vtkOggTheoraWriter::Subsampling
int Subsampling
Definition: vtkOggTheoraWriter.h:93
vtkOggTheoraWriter
Uses the ogg and theora libraries to write video files.
Definition: vtkOggTheoraWriter.h:41
vtkOggTheoraWriter::Rate
int Rate
Definition: vtkOggTheoraWriter.h:92