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

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 =========================================================================*/
00029 #ifndef __vtkPImageWriter_h
00030 #define __vtkPImageWriter_h
00031 
00032 #include "vtkImageWriter.h"
00033 class vtkPipelineSize;
00034 
00035 class VTK_PARALLEL_EXPORT vtkPImageWriter : public vtkImageWriter
00036 {
00037 public:
00038   static vtkPImageWriter *New();
00039   vtkTypeRevisionMacro(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, ofstream *file);
00056   virtual void RecursiveWrite(int dim, vtkImageData *cache, 
00057                               vtkImageData *data, ofstream *file) 
00058     {this->vtkImageWriter::RecursiveWrite(dim,cache,data,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