VTK  9.4.20250216
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
40#ifndef vtkOggTheoraWriter_h
41#define vtkOggTheoraWriter_h
42
44#include "vtkIOOggTheoraModule.h" // For export macro
45
46VTK_ABI_NAMESPACE_BEGIN
47class vtkOggTheoraWriterInternal;
48
49class VTKIOOGGTHEORA_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
50{
51public:
54 void PrintSelf(ostream& os, vtkIndent indent) override;
55
57
61 void Start() override;
62 void Write() override;
63 void End() override;
65
67
72 vtkSetClampMacro(Quality, int, 0, 2);
73 vtkGetMacro(Quality, int);
75
77
80 vtkSetClampMacro(Rate, int, 1, 5000);
81 vtkGetMacro(Rate, int);
83
85
88 vtkSetMacro(Subsampling, vtkTypeBool);
89 vtkGetMacro(Subsampling, vtkTypeBool);
90 vtkBooleanMacro(Subsampling, vtkTypeBool);
92
93protected:
96
97 vtkOggTheoraWriterInternal* Internals;
98
101 int Rate;
103
104private:
105 vtkOggTheoraWriter(const vtkOggTheoraWriter&) = delete;
106 void operator=(const vtkOggTheoraWriter&) = delete;
107};
108
109VTK_ABI_NAMESPACE_END
110#endif
an abstract movie writer class.
a simple class to control print indentation
Definition vtkIndent.h:108
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