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
21#ifndef vtkOggTheoraWriter_h
22#define vtkOggTheoraWriter_h
23
25#include "vtkIOOggTheoraModule.h" // For export macro
26
27VTK_ABI_NAMESPACE_BEGIN
28class vtkOggTheoraWriterInternal;
29
30class VTKIOOGGTHEORA_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38
42 void Start() override;
43 void Write() override;
44 void End() override;
46
48
53 vtkSetClampMacro(Quality, int, 0, 2);
54 vtkGetMacro(Quality, int);
56
58
61 vtkSetClampMacro(Rate, int, 1, 5000);
62 vtkGetMacro(Rate, int);
64
66
69 vtkSetMacro(Subsampling, vtkTypeBool);
70 vtkGetMacro(Subsampling, vtkTypeBool);
71 vtkBooleanMacro(Subsampling, vtkTypeBool);
73
74protected:
77
78 vtkOggTheoraWriterInternal* Internals;
79
82 int Rate;
84
85private:
87 void operator=(const vtkOggTheoraWriter&) = delete;
88};
89
90VTK_ABI_NAMESPACE_END
91#endif
an abstract movie writer class.
a simple class to control print indentation
Definition vtkIndent.h:29
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:64