VTK  9.0.1
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 =========================================================================*/
29 #ifndef vtkOggTheoraWriter_h
30 #define vtkOggTheoraWriter_h
31 
32 #include "vtkGenericMovieWriter.h"
33 #include "vtkIOOggTheoraModule.h" // For export macro
34 
35 class vtkOggTheoraWriterInternal;
36 
37 class VTKIOOGGTHEORA_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
49  void Start() override;
50  void Write() override;
51  void End() override;
53 
55 
60  vtkSetClampMacro(Quality, int, 0, 2);
61  vtkGetMacro(Quality, int);
63 
65 
68  vtkSetClampMacro(Rate, int, 1, 5000);
69  vtkGetMacro(Rate, int);
71 
73 
76  vtkSetMacro(Subsampling, vtkTypeBool);
77  vtkGetMacro(Subsampling, vtkTypeBool);
78  vtkBooleanMacro(Subsampling, vtkTypeBool);
80 
81 protected:
83  ~vtkOggTheoraWriter() override;
84 
85  vtkOggTheoraWriterInternal* Internals;
86 
88  int Quality;
89  int Rate;
91 
92 private:
93  vtkOggTheoraWriter(const vtkOggTheoraWriter&) = delete;
94  void operator=(const vtkOggTheoraWriter&) = delete;
95 };
96 
97 #endif
an abstract movie writer class.
a simple class to control print indentation
Definition: vtkIndent.h:34
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
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
int vtkTypeBool
Definition: vtkABI.h:69