VTK
vtkFFMPEGWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFFMPEGWriter.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 =========================================================================*/
34 #ifndef __vtkFFMPEGWriter_h
35 #define __vtkFFMPEGWriter_h
36 
37 #include "vtkGenericMovieWriter.h"
38 
39 class vtkFFMPEGWriterInternal;
40 
42 {
43 public:
44  static vtkFFMPEGWriter *New();
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
51  void Start();
52  void Write();
53  void End();
55 
57 
59  vtkSetClampMacro(Quality, int, 0, 2);
60  vtkGetMacro(Quality, int);
62 
64 
65  vtkSetClampMacro(Rate, int , 1, 5000);
66  vtkGetMacro(Rate, int);
68 
70 
71  vtkSetMacro(BitRate, int);
72  vtkGetMacro(BitRate, int);
74 
76 
77  vtkSetMacro(BitRateTolerance, int);
78  vtkGetMacro(BitRateTolerance, int);
80 
81 protected:
83  ~vtkFFMPEGWriter();
84 
85  vtkFFMPEGWriterInternal *Internals;
86 
88  int Quality;
89  int Rate;
90  int BitRate;
92 
93 private:
94  vtkFFMPEGWriter(const vtkFFMPEGWriter&); // Not implemented
95  void operator=(const vtkFFMPEGWriter&); // Not implemented
96 };
97 
98 #endif
99 
100 
101