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:
43  static vtkOggTheoraWriter *New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
52  void Start() override;
53  void Write() override;
54  void End() override;
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, vtkTypeBool);
80  vtkGetMacro(Subsampling, vtkTypeBool);
81  vtkBooleanMacro(Subsampling, vtkTypeBool);
83 
84 protected:
86  ~vtkOggTheoraWriter() override;
87 
88  vtkOggTheoraWriterInternal *Internals;
89 
91  int Quality;
92  int Rate;
94 
95 private:
96  vtkOggTheoraWriter(const vtkOggTheoraWriter&) = delete;
97  void operator=(const vtkOggTheoraWriter&) = delete;
98 };
99 
100 #endif
101 
102 
103 
vtkOggTheoraWriter::Initialized
int Initialized
Definition: vtkOggTheoraWriter.h:90
vtkGenericMovieWriter.h
vtkOggTheoraWriter::Internals
vtkOggTheoraWriterInternal * Internals
Definition: vtkOggTheoraWriter.h:88
vtkOggTheoraWriter::Subsampling
vtkTypeBool Subsampling
Definition: vtkOggTheoraWriter.h:93
vtkGenericMovieWriter::Write
virtual void Write()=0
vtkGenericMovieWriter::End
virtual void End()=0
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkOggTheoraWriter::Quality
int Quality
Definition: vtkOggTheoraWriter.h:91
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkGenericMovieWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGenericMovieWriter
an abstract movie writer class.
Definition: vtkGenericMovieWriter.h:36
vtkGenericMovieWriter::Start
virtual void Start()=0
These methods start writing an Movie file, write a frame to the file and then end the writing process...
vtkOggTheoraWriter
Uses the ogg and theora libraries to write video files.
Definition: vtkOggTheoraWriter.h:40
vtkOggTheoraWriter::Rate
int Rate
Definition: vtkOggTheoraWriter.h:92
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69