VTK
vtkMPEG2Writer.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkMPEG2Writer.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=========================================================================*/
47#ifndef vtkMPEG2Writer_h
48#define vtkMPEG2Writer_h
49
50#include "vtkIOMovieModule.h" // For export macro
52
53class vtkMPEG2WriterInternal;
54class vtkImageData;
55struct MPEG2_structure;
56
57class VTKIOMOVIE_EXPORT vtkMPEG2Writer : public vtkGenericMovieWriter
58{
59public:
62 void PrintSelf(ostream& os, vtkIndent indent);
63
65
69 void Start();
70 void Write();
71 void End();
73
74protected:
77
78 vtkMPEG2WriterInternal *Internals;
79
80 long Time;
82
83 void Initialize();
84
86
87 MPEG2_structure* MPEGStructure;
88
89private:
90 vtkMPEG2Writer(const vtkMPEG2Writer&) VTK_DELETE_FUNCTION;
91 void operator=(const vtkMPEG2Writer&) VTK_DELETE_FUNCTION;
92};
93
94#endif
an abstract movie writer class.
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
a simple class to control print indentation
Definition: vtkIndent.h:40
Writes MPEG2 Movie files.
void Start()
These methods start writing an Movie file, write a frame to the file and then end the writing process...
static vtkMPEG2Writer * New()
MPEG2_structure * MPEGStructure
vtkMPEG2WriterInternal * Internals
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.