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 "vtkGenericMovieWriter.h" 00032 00033 class vtkAVIWriterInternal; 00034 00035 class VTK_IO_EXPORT vtkAVIWriter : public vtkGenericMovieWriter 00036 { 00037 public: 00038 static vtkAVIWriter *New(); 00039 vtkTypeMacro(vtkAVIWriter,vtkGenericMovieWriter); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00045 void Start(); 00046 void Write(); 00047 void End(); 00049 00051 00052 vtkSetClampMacro(Rate, int, 1, 5000); 00053 vtkGetMacro(Rate, int); 00055 00057 00059 vtkSetClampMacro(Quality, int, 0, 2); 00060 vtkGetMacro(Quality, int); 00062 00064 00067 vtkSetMacro(PromptCompressionOptions, int); 00068 vtkGetMacro(PromptCompressionOptions, int); 00069 vtkBooleanMacro(PromptCompressionOptions, int); 00071 00073 00084 vtkSetStringMacro(CompressorFourCC); 00085 vtkGetStringMacro(CompressorFourCC); 00087 00088 protected: 00089 vtkAVIWriter(); 00090 ~vtkAVIWriter(); 00091 00092 vtkAVIWriterInternal *Internals; 00093 00094 int Rate; 00095 int Time; 00096 int Quality; 00097 int PromptCompressionOptions; 00098 char *CompressorFourCC; 00099 00100 private: 00101 vtkAVIWriter(const vtkAVIWriter&); // Not implemented 00102 void operator=(const vtkAVIWriter&); // Not implemented 00103 }; 00104 00105 #endif 00106 00107 00108