VTK  9.3.0
vtkOggTheoraWriter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Michael Wild
3 // SPDX-License-Identifier: BSD-3-Clause
30 #ifndef vtkOggTheoraWriter_h
31 #define vtkOggTheoraWriter_h
32 
33 #include "vtkGenericMovieWriter.h"
34 #include "vtkIOOggTheoraModule.h" // For export macro
35 
36 VTK_ABI_NAMESPACE_BEGIN
37 class vtkOggTheoraWriterInternal;
38 
39 class VTKIOOGGTHEORA_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
47 
51  void Start() override;
52  void Write() override;
53  void End() override;
55 
57 
62  vtkSetClampMacro(Quality, int, 0, 2);
63  vtkGetMacro(Quality, int);
65 
67 
70  vtkSetClampMacro(Rate, int, 1, 5000);
71  vtkGetMacro(Rate, int);
73 
75 
78  vtkSetMacro(Subsampling, vtkTypeBool);
79  vtkGetMacro(Subsampling, vtkTypeBool);
80  vtkBooleanMacro(Subsampling, vtkTypeBool);
82 
83 protected:
85  ~vtkOggTheoraWriter() override;
86 
87  vtkOggTheoraWriterInternal* Internals;
88 
90  int Quality;
91  int Rate;
93 
94 private:
95  vtkOggTheoraWriter(const vtkOggTheoraWriter&) = delete;
96  void operator=(const vtkOggTheoraWriter&) = delete;
97 };
98 
99 VTK_ABI_NAMESPACE_END
100 #endif
an abstract movie writer class.
a simple class to control print indentation
Definition: vtkIndent.h:38
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:64