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 =========================================================================*/
44 #ifndef vtkMPEG2Writer_h
45 #define vtkMPEG2Writer_h
46 
47 #include "vtkIOMovieModule.h" // For export macro
48 #include "vtkGenericMovieWriter.h"
49 
50 class vtkMPEG2WriterInternal;
51 class vtkImageData;
52 struct MPEG2_structure;
53 
54 class VTKIOMOVIE_EXPORT vtkMPEG2Writer : public vtkGenericMovieWriter
55 {
56 public:
57  static vtkMPEG2Writer *New();
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
66  void Start();
67  void Write();
68  void End();
70 
71 protected:
73  ~vtkMPEG2Writer();
74 
75  vtkMPEG2WriterInternal *Internals;
76 
77  long Time;
79 
80  void Initialize();
81 
83 
84  MPEG2_structure* MPEGStructure;
85 
86 private:
87  vtkMPEG2Writer(const vtkMPEG2Writer&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkMPEG2Writer&) VTK_DELETE_FUNCTION;
89 };
90 
91 #endif
virtual void Write()=0
These methods start writing an Movie file, write a frame to the file and then end the writing process...
vtkMPEG2WriterInternal * Internals
virtual void Start()=0
These methods start writing an Movie file, write a frame to the file and then end the writing process...
virtual void End()=0
These methods start writing an Movie file, write a frame to the file and then end the writing process...
a simple class to control print indentation
Definition: vtkIndent.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
MPEG2_structure * MPEGStructure
an abstract movie writer class.
Writes MPEG2 Movie files.
static vtkAlgorithm * New()