VTK  9.2.6
vtkAVIWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAVIWriter.h
5
6 Copyright (c) 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 vtkAVIWriter_h
30#define vtkAVIWriter_h
31
33#include "vtkIOMovieModule.h" // For export macro
34
35class vtkAVIWriterInternal;
36
37class VTKIOMOVIE_EXPORT vtkAVIWriter : public vtkGenericMovieWriter
38{
39public:
40 static vtkAVIWriter* New();
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
49 void Start() override;
50 void Write() override;
51 void End() override;
53
55
58 vtkSetClampMacro(Rate, int, 1, 5000);
59 vtkGetMacro(Rate, int);
61
63
68 vtkSetClampMacro(Quality, int, 0, 2);
69 vtkGetMacro(Quality, int);
71
73
78 vtkSetMacro(PromptCompressionOptions, int);
79 vtkGetMacro(PromptCompressionOptions, int);
80 vtkBooleanMacro(PromptCompressionOptions, int);
82
84
102 vtkSetStringMacro(CompressorFourCC);
103 vtkGetStringMacro(CompressorFourCC);
105
106protected:
108 ~vtkAVIWriter() override;
109
110 vtkAVIWriterInternal* Internals;
111
112 int Rate;
113 int Time;
117
118private:
119 vtkAVIWriter(const vtkAVIWriter&) = delete;
120 void operator=(const vtkAVIWriter&) = delete;
121};
122
123#endif
Writes Windows AVI files.
Definition: vtkAVIWriter.h:38
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
Definition: vtkAVIWriter.h:115
~vtkAVIWriter() override
vtkAVIWriterInternal * Internals
Definition: vtkAVIWriter.h:110
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
Definition: vtkAVIWriter.h:116
an abstract movie writer class.
a simple class to control print indentation
Definition: vtkIndent.h:40