VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPImageWriter.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 __vtkPImageWriter_h 00029 #define __vtkPImageWriter_h 00030 00031 #include "vtkImageWriter.h" 00032 class vtkPipelineSize; 00033 00034 class VTK_PARALLEL_EXPORT vtkPImageWriter : public vtkImageWriter 00035 { 00036 public: 00037 static vtkPImageWriter *New(); 00038 vtkTypeMacro(vtkPImageWriter,vtkImageWriter); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00042 00044 vtkSetMacro(MemoryLimit, unsigned long); 00045 vtkGetMacro(MemoryLimit, unsigned long); 00047 00048 protected: 00049 vtkPImageWriter(); 00050 ~vtkPImageWriter(); 00051 00052 unsigned long MemoryLimit; 00053 00054 virtual void RecursiveWrite(int dim, vtkImageData *region, ofstream *file); 00055 virtual void RecursiveWrite(int dim, vtkImageData *cache, 00056 vtkImageData *data, ofstream *file) 00057 {this->vtkImageWriter::RecursiveWrite(dim,cache,data,file);}; 00058 00059 vtkPipelineSize *SizeEstimator; 00060 private: 00061 vtkPImageWriter(const vtkPImageWriter&); // Not implemented. 00062 void operator=(const vtkPImageWriter&); // Not implemented. 00063 }; 00064 00065 #endif 00066 00067