VTK  9.1.0
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 =========================================================================*/
48 #ifndef vtkOggTheoraWriter_h
49 #define vtkOggTheoraWriter_h
50 
51 #include "vtkGenericMovieWriter.h"
52 #include "vtkIOOggTheoraModule.h" // For export macro
53 
54 class vtkOggTheoraWriterInternal;
55 
56 class VTKIOOGGTHEORA_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
57 {
58 public:
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
68  void Start() override;
69  void Write() override;
70  void End() override;
72 
74 
79  vtkSetClampMacro(Quality, int, 0, 2);
80  vtkGetMacro(Quality, int);
82 
84 
87  vtkSetClampMacro(Rate, int, 1, 5000);
88  vtkGetMacro(Rate, int);
90 
92 
95  vtkSetMacro(Subsampling, vtkTypeBool);
96  vtkGetMacro(Subsampling, vtkTypeBool);
97  vtkBooleanMacro(Subsampling, vtkTypeBool);
99 
100 protected:
103 
104  vtkOggTheoraWriterInternal* Internals;
105 
107  int Quality;
108  int Rate;
110 
111 private:
112  vtkOggTheoraWriter(const vtkOggTheoraWriter&) = delete;
113  void operator=(const vtkOggTheoraWriter&) = delete;
114 };
115 
116 #endif
vtkOggTheoraWriter::Initialized
int Initialized
Definition: vtkOggTheoraWriter.h:106
vtkOggTheoraWriter::vtkOggTheoraWriter
vtkOggTheoraWriter()
vtkGenericMovieWriter.h
vtkOggTheoraWriter::New
static vtkOggTheoraWriter * New()
vtkOggTheoraWriter::Internals
vtkOggTheoraWriterInternal * Internals
Definition: vtkOggTheoraWriter.h:104
vtkOggTheoraWriter::Subsampling
vtkTypeBool Subsampling
Definition: vtkOggTheoraWriter.h:109
vtkOggTheoraWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOggTheoraWriter::~vtkOggTheoraWriter
~vtkOggTheoraWriter() override
vtkOggTheoraWriter::Write
void Write() override
These methods start writing an Movie file, write a frame to the file and then end the writing process...
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkOggTheoraWriter::Start
void Start() override
These methods start writing an Movie file, write a frame to the file and then end the writing process...
vtkOggTheoraWriter::Quality
int Quality
Definition: vtkOggTheoraWriter.h:107
vtkGenericMovieWriter
an abstract movie writer class.
Definition: vtkGenericMovieWriter.h:37
vtkOggTheoraWriter
Uses the ogg and theora libraries to write video files.
Definition: vtkOggTheoraWriter.h:57
vtkOggTheoraWriter::End
void End() override
These methods start writing an Movie file, write a frame to the file and then end the writing process...
vtkOggTheoraWriter::Rate
int Rate
Definition: vtkOggTheoraWriter.h:108
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69