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
51 #include "vtkGenericMovieWriter.h"
52 
53 class vtkMPEG2WriterInternal;
54 class vtkImageData;
55 struct MPEG2_structure;
56 
57 class VTKIOMOVIE_EXPORT vtkMPEG2Writer : public vtkGenericMovieWriter
58 {
59 public:
60  static vtkMPEG2Writer *New();
62  void PrintSelf(ostream& os, vtkIndent indent);
63 
65 
69  void Start();
70  void Write();
71  void End();
73 
74 protected:
76  ~vtkMPEG2Writer();
77 
78  vtkMPEG2WriterInternal *Internals;
79 
80  long Time;
82 
83  void Initialize();
84 
86 
87  MPEG2_structure* MPEGStructure;
88 
89 private:
90  vtkMPEG2Writer(const vtkMPEG2Writer&) VTK_DELETE_FUNCTION;
91  void operator=(const vtkMPEG2Writer&) VTK_DELETE_FUNCTION;
92 };
93 
94 #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:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
MPEG2_structure * MPEGStructure
an abstract movie writer class.
Writes MPEG2 Movie files.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithm * New()