VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkFFMPEGWriter.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 =========================================================================*/ 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 vtkTypeMacro(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 00070 00071 vtkSetMacro(BitRate, int); 00072 vtkGetMacro(BitRate, int); 00074 00076 00077 vtkSetMacro(BitRateTolerance, int); 00078 vtkGetMacro(BitRateTolerance, int); 00080 00081 protected: 00082 vtkFFMPEGWriter(); 00083 ~vtkFFMPEGWriter(); 00084 00085 vtkFFMPEGWriterInternal *Internals; 00086 00087 int Initialized; 00088 int Quality; 00089 int Rate; 00090 int BitRate; 00091 int BitRateTolerance; 00092 00093 private: 00094 vtkFFMPEGWriter(const vtkFFMPEGWriter&); // Not implemented 00095 void operator=(const vtkFFMPEGWriter&); // Not implemented 00096 }; 00097 00098 #endif 00099 00100 00101