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 "vtkIOFFMPEGModule.h" // For export macro
38 #include "vtkGenericMovieWriter.h"
39 
40 class vtkFFMPEGWriterInternal;
41 
43 {
44 public:
45  static vtkFFMPEGWriter *New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
52  void Start();
53  void Write();
54  void End();
56 
58 
60  vtkSetClampMacro(Quality, int, 0, 2);
61  vtkGetMacro(Quality, int);
63 
65 
67  vtkSetMacro(Compression, bool);
68  vtkGetMacro(Compression, bool);
69  vtkBooleanMacro(Compression, bool);
71 
73 
74  vtkSetClampMacro(Rate, int , 1, 5000);
75  vtkGetMacro(Rate, int);
77 
79 
80  vtkSetMacro(BitRate, int);
81  vtkGetMacro(BitRate, int);
83 
85 
86  vtkSetMacro(BitRateTolerance, int);
87  vtkGetMacro(BitRateTolerance, int);
89 
90 protected:
93 
94  vtkFFMPEGWriterInternal *Internals;
95 
97  int Quality;
98  int Rate;
99  int BitRate;
102 
103 private:
104  vtkFFMPEGWriter(const vtkFFMPEGWriter&); // Not implemented
105  void operator=(const vtkFFMPEGWriter&); // Not implemented
106 };
107 
108 #endif
vtkIOFFMPEGModule.h
vtkFFMPEGWriter::New
static vtkFFMPEGWriter * New()
vtkFFMPEGWriter::Compression
bool Compression
Definition: vtkFFMPEGWriter.h:101
VTKIOFFMPEG_EXPORT
#define VTKIOFFMPEG_EXPORT
Definition: vtkIOFFMPEGModule.h:15
vtkFFMPEGWriter::End
void End()
vtkGenericMovieWriter.h
vtkFFMPEGWriter::Start
void Start()
vtkFFMPEGWriter::Initialized
int Initialized
Definition: vtkFFMPEGWriter.h:96
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkFFMPEGWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkFFMPEGWriter
Uses the FFMPEG library to write video files.
Definition: vtkFFMPEGWriter.h:43
vtkFFMPEGWriter::Rate
int Rate
Definition: vtkFFMPEGWriter.h:98
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkFFMPEGWriter::Quality
int Quality
Definition: vtkFFMPEGWriter.h:97
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkFFMPEGWriter::BitRate
int BitRate
Definition: vtkFFMPEGWriter.h:99
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkFFMPEGWriter::~vtkFFMPEGWriter
~vtkFFMPEGWriter()
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkFFMPEGWriter::vtkFFMPEGWriter
vtkFFMPEGWriter()
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkGenericMovieWriter
an abstract movie writer class.
Definition: vtkGenericMovieWriter.h:36
vtkFFMPEGWriter::Write
void Write()
vtkFFMPEGWriter::Internals
vtkFFMPEGWriterInternal * Internals
Definition: vtkFFMPEGWriter.h:94
vtkFFMPEGWriter::BitRateTolerance
int BitRateTolerance
Definition: vtkFFMPEGWriter.h:100