VTK  9.0.1
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 =========================================================================*/
26 #ifndef vtkAVIWriter_h
27 #define vtkAVIWriter_h
28 
29 #include "vtkGenericMovieWriter.h"
30 #include "vtkIOMovieModule.h" // For export macro
31 
32 class vtkAVIWriterInternal;
33 
34 class VTKIOMOVIE_EXPORT vtkAVIWriter : public vtkGenericMovieWriter
35 {
36 public:
37  static vtkAVIWriter* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
46  void Start() override;
47  void Write() override;
48  void End() override;
50 
52 
55  vtkSetClampMacro(Rate, int, 1, 5000);
56  vtkGetMacro(Rate, int);
58 
60 
65  vtkSetClampMacro(Quality, int, 0, 2);
66  vtkGetMacro(Quality, int);
68 
70 
75  vtkSetMacro(PromptCompressionOptions, int);
76  vtkGetMacro(PromptCompressionOptions, int);
77  vtkBooleanMacro(PromptCompressionOptions, int);
79 
81 
99  vtkSetStringMacro(CompressorFourCC);
100  vtkGetStringMacro(CompressorFourCC);
102 
103 protected:
105  ~vtkAVIWriter() override;
106 
107  vtkAVIWriterInternal* Internals;
108 
109  int Rate;
110  int Time;
111  int Quality;
114 
115 private:
116  vtkAVIWriter(const vtkAVIWriter&) = delete;
117  void operator=(const vtkAVIWriter&) = delete;
118 };
119 
120 #endif
Writes Windows AVI files.
Definition: vtkAVIWriter.h:35
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
int PromptCompressionOptions
Definition: vtkAVIWriter.h:112
~vtkAVIWriter() override
vtkAVIWriterInternal * Internals
Definition: vtkAVIWriter.h:107
static vtkAVIWriter * New()
void Write() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
char * CompressorFourCC
Definition: vtkAVIWriter.h:113
an abstract movie writer class.
a simple class to control print indentation
Definition: vtkIndent.h:34