VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkFFMPEGWriter.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 =========================================================================*/ 00034 #ifndef __vtkFFMPEGWriter_h 00035 #define __vtkFFMPEGWriter_h 00036 00037 #include "vtkGenericMovieWriter.h" 00038 00039 class vtkFFMPEGWriterInternal; 00040 00041 class VTK_IO_EXPORT vtkFFMPEGWriter : public vtkGenericMovieWriter 00042 { 00043 public: 00044 static vtkFFMPEGWriter *New(); 00045 vtkTypeRevisionMacro(vtkFFMPEGWriter,vtkGenericMovieWriter); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00051 void Start(); 00052 void Write(); 00053 void End(); 00055 00057 00059 vtkSetClampMacro(Quality, int, 0, 2); 00060 vtkGetMacro(Quality, int); 00062 00064 00065 vtkSetClampMacro(Rate, int , 1, 5000); 00066 vtkGetMacro(Rate, int); 00068 protected: 00069 vtkFFMPEGWriter(); 00070 ~vtkFFMPEGWriter(); 00071 00072 vtkFFMPEGWriterInternal *Internals; 00073 00074 int Initialized; 00075 int Quality; 00076 int Rate; 00077 00078 private: 00079 vtkFFMPEGWriter(const vtkFFMPEGWriter&); // Not implemented 00080 void operator=(const vtkFFMPEGWriter&); // Not implemented 00081 }; 00082 00083 #endif 00084 00085 00086