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 =========================================================================*/
28 #ifndef __vtkAVIWriter_h
29 #define __vtkAVIWriter_h
30 
31 #include "vtkGenericMovieWriter.h"
32 
33 class vtkAVIWriterInternal;
34 
36 {
37 public:
38  static vtkAVIWriter *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  void Start();
46  void Write();
47  void End();
49 
51 
52  vtkSetClampMacro(Rate, int, 1, 5000);
53  vtkGetMacro(Rate, int);
55 
57 
59  vtkSetClampMacro(Quality, int, 0, 2);
60  vtkGetMacro(Quality, int);
62 
64 
67  vtkSetMacro(PromptCompressionOptions, int);
68  vtkGetMacro(PromptCompressionOptions, int);
69  vtkBooleanMacro(PromptCompressionOptions, int);
71 
73 
84  vtkSetStringMacro(CompressorFourCC);
85  vtkGetStringMacro(CompressorFourCC);
87 
88 protected:
89  vtkAVIWriter();
90  ~vtkAVIWriter();
91 
92  vtkAVIWriterInternal *Internals;
93 
94  int Rate;
95  int Time;
96  int Quality;
99 
100 private:
101  vtkAVIWriter(const vtkAVIWriter&); // Not implemented
102  void operator=(const vtkAVIWriter&); // Not implemented
103 };
104 
105 #endif
106 
107 
108