VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/IO/Parallel/vtkPImageWriter.h
Go to the documentation of this file.
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 "vtkIOParallelModule.h" // For export macro
00032 #include "vtkImageWriter.h"
00033 class vtkPipelineSize;
00034 
00035 class VTKIOPARALLEL_EXPORT vtkPImageWriter : public vtkImageWriter
00036 {
00037 public:
00038   static vtkPImageWriter *New();
00039   vtkTypeMacro(vtkPImageWriter,vtkImageWriter);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043 
00045   vtkSetMacro(MemoryLimit, unsigned long);
00046   vtkGetMacro(MemoryLimit, unsigned long);
00048 
00049 protected:
00050   vtkPImageWriter();
00051   ~vtkPImageWriter();
00052 
00053   unsigned long MemoryLimit;
00054 
00055   virtual void RecursiveWrite(int dim, vtkImageData *region, vtkInformation* inInfo, ofstream *file);
00056   virtual void RecursiveWrite(int dim, vtkImageData *cache,
00057                               vtkImageData *data, vtkInformation* inInfo, ofstream *file)
00058   {this->vtkImageWriter::RecursiveWrite(dim,cache,data,inInfo,file);};
00059 
00060   vtkPipelineSize *SizeEstimator;
00061 private:
00062   vtkPImageWriter(const vtkPImageWriter&);  // Not implemented.
00063   void operator=(const vtkPImageWriter&);  // Not implemented.
00064 };
00065 
00066 #endif
00067 
00068