Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Parallel/vtkPImageWriter.h

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