Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 
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 =========================================================================*/
00039 #ifndef __vtkPImageWriter_h
00040 #define __vtkPImageWriter_h
00041 
00042 #include "vtkImageWriter.h"
00043 class vtkPipelineSize;
00044 
00045 class VTK_PARALLEL_EXPORT vtkPImageWriter : public vtkImageWriter
00046 {
00047 public:
00048   static vtkPImageWriter *New();
00049   vtkTypeRevisionMacro(vtkPImageWriter,vtkImageWriter);
00050   void PrintSelf(ostream& os, vtkIndent indent);  
00051 
00053 
00055   vtkSetMacro(MemoryLimit, unsigned long);
00056   vtkGetMacro(MemoryLimit, unsigned long);
00058 
00059 protected:
00060   vtkPImageWriter();
00061   ~vtkPImageWriter();
00062 
00063   unsigned long MemoryLimit;
00064   
00065   virtual void RecursiveWrite(int dim, vtkImageData *region, ofstream *file);
00066   virtual void RecursiveWrite(int dim, vtkImageData *cache, 
00067                               vtkImageData *data, ofstream *file) 
00068     {this->vtkImageWriter::RecursiveWrite(dim,cache,data,file);};
00069   
00070   vtkPipelineSize *SizeEstimator;
00071 private:
00072   vtkPImageWriter(const vtkPImageWriter&);  // Not implemented.
00073   void operator=(const vtkPImageWriter&);  // Not implemented.
00074 };
00075 
00076 #endif
00077 
00078