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=========================================================================*/
38#ifndef vtkOggTheoraWriter_h
39#define vtkOggTheoraWriter_h
40
42#include "vtkIOOggTheoraModule.h" // For export macro
43
44class vtkOggTheoraWriterInternal;
45
46class VTKIOOGGTHEORA_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
47{
48public:
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
54
58 void Start() override;
59 void Write() override;
60 void End() override;
62
64
69 vtkSetClampMacro(Quality, int, 0, 2);
70 vtkGetMacro(Quality, int);
72
74
77 vtkSetClampMacro(Rate, int, 1, 5000);
78 vtkGetMacro(Rate, int);
80
82
85 vtkSetMacro(Subsampling, vtkTypeBool);
86 vtkGetMacro(Subsampling, vtkTypeBool);
87 vtkBooleanMacro(Subsampling, vtkTypeBool);
89
90protected:
93
94 vtkOggTheoraWriterInternal* Internals;
95
98 int Rate;
100
101private:
102 vtkOggTheoraWriter(const vtkOggTheoraWriter&) = delete;
103 void operator=(const vtkOggTheoraWriter&) = delete;
104};
105
106#endif
an abstract movie writer class.
a simple class to control print indentation
Definition: vtkIndent.h:43
Uses the ogg and theora libraries to write video files.
void Start() override
These methods start writing an Movie file, write a frame to the file and then end the writing process...
vtkOggTheoraWriterInternal * Internals
static vtkOggTheoraWriter * New()
~vtkOggTheoraWriter() override
void End() override
These methods start writing an Movie file, write a frame to the file and then end the writing process...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Write() override
These methods start writing an Movie file, write a frame to the file and then end the writing process...
int vtkTypeBool
Definition: vtkABI.h:69