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 =========================================================================*/
46 #ifndef vtkMPEG2Writer_h
47 #define vtkMPEG2Writer_h
48 
49 #include "vtkIOMovieModule.h" // For export macro
50 #include "vtkGenericMovieWriter.h"
51 
52 class vtkMPEG2WriterInternal;
53 class vtkImageData;
54 struct MPEG2_structure;
55 
57 {
58 public:
59  static vtkMPEG2Writer *New();
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
64 
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&); // Not implemented
88  void operator=(const vtkMPEG2Writer&); // Not implemented
89 };
90 
91 #endif
virtual void Write()=0
vtkMPEG2WriterInternal * Internals
#define VTKIOMOVIE_EXPORT
virtual void Start()=0
virtual void End()=0
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
MPEG2_structure * MPEGStructure
an abstract movie writer class.
Writes MPEG2 Movie files.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()