00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMPEG2Writer.h,v $ 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 =========================================================================*/ 00027 #ifndef __vtkMPEG2Writer_h 00028 #define __vtkMPEG2Writer_h 00029 00030 #include "vtkGenericMovieWriter.h" 00031 00032 class vtkMPEG2WriterInternal; 00033 class vtkImageData; 00034 struct MPEG2_structure; 00035 00036 class VTK_IO_EXPORT vtkMPEG2Writer : public vtkGenericMovieWriter 00037 { 00038 public: 00039 static vtkMPEG2Writer *New(); 00040 vtkTypeRevisionMacro(vtkMPEG2Writer,vtkGenericMovieWriter); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 00046 void Start(); 00047 void Write(); 00048 void End(); 00050 00051 protected: 00052 vtkMPEG2Writer(); 00053 ~vtkMPEG2Writer(); 00054 00055 vtkMPEG2WriterInternal *Internals; 00056 00057 long Time; 00058 int ActualWrittenTime; 00059 00060 void Initialize(); 00061 00062 int Initialized; 00063 00064 MPEG2_structure* MPEGStructure; 00065 00066 private: 00067 vtkMPEG2Writer(const vtkMPEG2Writer&); // Not implemented 00068 void operator=(const vtkMPEG2Writer&); // Not implemented 00069 }; 00070 00071 #endif 00072 00073 00074