VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkAVIWriter.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 =========================================================================*/ 00028 #ifndef __vtkAVIWriter_h 00029 #define __vtkAVIWriter_h 00030 00031 #include "vtkIOMovieModule.h" // For export macro 00032 #include "vtkGenericMovieWriter.h" 00033 00034 class vtkAVIWriterInternal; 00035 00036 class VTKIOMOVIE_EXPORT vtkAVIWriter : public vtkGenericMovieWriter 00037 { 00038 public: 00039 static vtkAVIWriter *New(); 00040 vtkTypeMacro(vtkAVIWriter,vtkGenericMovieWriter); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 00046 void Start(); 00047 void Write(); 00048 void End(); 00050 00052 00053 vtkSetClampMacro(Rate, int, 1, 5000); 00054 vtkGetMacro(Rate, int); 00056 00058 00060 vtkSetClampMacro(Quality, int, 0, 2); 00061 vtkGetMacro(Quality, int); 00063 00065 00068 vtkSetMacro(PromptCompressionOptions, int); 00069 vtkGetMacro(PromptCompressionOptions, int); 00070 vtkBooleanMacro(PromptCompressionOptions, int); 00072 00074 00085 vtkSetStringMacro(CompressorFourCC); 00086 vtkGetStringMacro(CompressorFourCC); 00088 00089 protected: 00090 vtkAVIWriter(); 00091 ~vtkAVIWriter(); 00092 00093 vtkAVIWriterInternal *Internals; 00094 00095 int Rate; 00096 int Time; 00097 int Quality; 00098 int PromptCompressionOptions; 00099 char *CompressorFourCC; 00100 00101 private: 00102 vtkAVIWriter(const vtkAVIWriter&); // Not implemented 00103 void operator=(const vtkAVIWriter&); // Not implemented 00104 }; 00105 00106 #endif 00107 00108 00109