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

Parallel/vtkPImageWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPImageWriter.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00040 #ifndef __vtkPImageWriter_h
00041 #define __vtkPImageWriter_h
00042 
00043 #include "vtkImageWriter.h"
00044 class vtkPipelineSize;
00045 
00046 class VTK_PARALLEL_EXPORT vtkPImageWriter : public vtkImageWriter
00047 {
00048 public:
00049   static vtkPImageWriter *New();
00050   vtkTypeRevisionMacro(vtkPImageWriter,vtkImageWriter);
00051   void PrintSelf(ostream& os, vtkIndent indent);  
00052 
00054 
00056   vtkSetMacro(MemoryLimit, unsigned long);
00057   vtkGetMacro(MemoryLimit, unsigned long);
00059 
00060 protected:
00061   vtkPImageWriter();
00062   ~vtkPImageWriter();
00063 
00064   unsigned long MemoryLimit;
00065   
00066   virtual void RecursiveWrite(int dim, vtkImageData *region, ofstream *file);
00067   virtual void RecursiveWrite(int dim, vtkImageData *cache, 
00068                               vtkImageData *data, ofstream *file) 
00069     {this->vtkImageWriter::RecursiveWrite(dim,cache,data,file);};
00070   
00071   vtkPipelineSize *SizeEstimator;
00072 private:
00073   vtkPImageWriter(const vtkPImageWriter&);  // Not implemented.
00074   void operator=(const vtkPImageWriter&);  // Not implemented.
00075 };
00076 
00077 #endif
00078 
00079