VTK  9.3.20240424
vtkAVIWriter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
17#ifndef vtkAVIWriter_h
18#define vtkAVIWriter_h
19
21#include "vtkIOMovieModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24class vtkAVIWriterInternal;
25
26class VTKIOMOVIE_EXPORT vtkAVIWriter : public vtkGenericMovieWriter
27{
28public:
29 static vtkAVIWriter* New();
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
38 void Start() override;
39 void Write() override;
40 void End() override;
42
44
47 vtkSetClampMacro(Rate, int, 1, 5000);
48 vtkGetMacro(Rate, int);
50
52
57 vtkSetClampMacro(Quality, int, 0, 2);
58 vtkGetMacro(Quality, int);
60
62
67 vtkSetMacro(PromptCompressionOptions, int);
68 vtkGetMacro(PromptCompressionOptions, int);
69 vtkBooleanMacro(PromptCompressionOptions, int);
71
73
91 vtkSetStringMacro(CompressorFourCC);
92 vtkGetStringMacro(CompressorFourCC);
94
95protected:
97 ~vtkAVIWriter() override;
98
99 vtkAVIWriterInternal* Internals;
100
101 int Rate;
102 int Time;
106
107private:
108 vtkAVIWriter(const vtkAVIWriter&) = delete;
109 void operator=(const vtkAVIWriter&) = delete;
110};
111
112VTK_ABI_NAMESPACE_END
113#endif
Writes Windows AVI files.
static vtkAVIWriter * New()
void Start() override
These methods start writing an AVI file, write a frame to the file and then end the writing process.
void End() override
These methods start writing an AVI file, write a frame to the file and then end the writing process.
int PromptCompressionOptions
~vtkAVIWriter() override
vtkAVIWriterInternal * Internals
void Write() override
These methods start writing an AVI 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.
char * CompressorFourCC
an abstract movie writer class.
a simple class to control print indentation
Definition vtkIndent.h:108