VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMPEG2Writer.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00046 #ifndef __vtkMPEG2Writer_h 00047 #define __vtkMPEG2Writer_h 00048 00049 #include "vtkIOMovieModule.h" // For export macro 00050 #include "vtkGenericMovieWriter.h" 00051 00052 class vtkMPEG2WriterInternal; 00053 class vtkImageData; 00054 struct MPEG2_structure; 00055 00056 class VTKIOMOVIE_EXPORT vtkMPEG2Writer : public vtkGenericMovieWriter 00057 { 00058 public: 00059 static vtkMPEG2Writer *New(); 00060 vtkTypeMacro(vtkMPEG2Writer,vtkGenericMovieWriter); 00061 void PrintSelf(ostream& os, vtkIndent indent); 00062 00064 00066 void Start(); 00067 void Write(); 00068 void End(); 00070 00071 protected: 00072 vtkMPEG2Writer(); 00073 ~vtkMPEG2Writer(); 00074 00075 vtkMPEG2WriterInternal *Internals; 00076 00077 long Time; 00078 int ActualWrittenTime; 00079 00080 void Initialize(); 00081 00082 int Initialized; 00083 00084 MPEG2_structure* MPEGStructure; 00085 00086 private: 00087 vtkMPEG2Writer(const vtkMPEG2Writer&); // Not implemented 00088 void operator=(const vtkMPEG2Writer&); // Not implemented 00089 }; 00090 00091 #endif