VTK  9.2.5
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 =========================================================================*/
51 #ifndef vtkOggTheoraWriter_h
52 #define vtkOggTheoraWriter_h
53 
54 #include "vtkGenericMovieWriter.h"
55 #include "vtkIOOggTheoraModule.h" // For export macro
56 
57 class vtkOggTheoraWriterInternal;
58 
59 class VTKIOOGGTHEORA_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
60 {
61 public:
64  void PrintSelf(ostream& os, vtkIndent indent) override;
65 
67 
71  void Start() override;
72  void Write() override;
73  void End() override;
75 
77 
82  vtkSetClampMacro(Quality, int, 0, 2);
83  vtkGetMacro(Quality, int);
85 
87 
90  vtkSetClampMacro(Rate, int, 1, 5000);
91  vtkGetMacro(Rate, int);
93 
95 
98  vtkSetMacro(Subsampling, vtkTypeBool);
99  vtkGetMacro(Subsampling, vtkTypeBool);
100  vtkBooleanMacro(Subsampling, vtkTypeBool);
102 
103 protected:
106 
107  vtkOggTheoraWriterInternal* Internals;
108 
110  int Quality;
111  int Rate;
113 
114 private:
115  vtkOggTheoraWriter(const vtkOggTheoraWriter&) = delete;
116  void operator=(const vtkOggTheoraWriter&) = delete;
117 };
118 
119 #endif
an abstract movie writer class.
a simple class to control print indentation
Definition: vtkIndent.h:119
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
~vtkOggTheoraWriter() override
void End() override
These methods start writing an Movie file, write a frame to the file and then end the writing process...
static vtkOggTheoraWriter * New()
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