VTK
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
32#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);
43
45
49 void Start();
50 void Write();
51 void End();
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:
109
110 vtkAVIWriterInternal *Internals;
111
112 int Rate;
113 int Time;
117
118private:
119 vtkAVIWriter(const vtkAVIWriter&) VTK_DELETE_FUNCTION;
120 void operator=(const vtkAVIWriter&) VTK_DELETE_FUNCTION;
121};
122
123#endif
124
125
126
Writes Windows AVI files.
Definition: vtkAVIWriter.h:38
static vtkAVIWriter * New()
int PromptCompressionOptions
Definition: vtkAVIWriter.h:115
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkAVIWriterInternal * Internals
Definition: vtkAVIWriter.h:110
void Start()
These methods start writing an AVI file, write a frame to the file and then end the writing process.
char * CompressorFourCC
Definition: vtkAVIWriter.h:116
an abstract movie writer class.
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.