VTK
vtkPImageWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPImageWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef __vtkPImageWriter_h
29 #define __vtkPImageWriter_h
30 
31 #include "vtkImageWriter.h"
32 class vtkPipelineSize;
33 
35 {
36 public:
37  static vtkPImageWriter *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
44  vtkSetMacro(MemoryLimit, unsigned long);
45  vtkGetMacro(MemoryLimit, unsigned long);
47 
48 protected:
50  ~vtkPImageWriter();
51 
52  unsigned long MemoryLimit;
53 
54  virtual void RecursiveWrite(int dim, vtkImageData *region, ofstream *file);
55  virtual void RecursiveWrite(int dim, vtkImageData *cache,
56  vtkImageData *data, ofstream *file)
57  {this->vtkImageWriter::RecursiveWrite(dim,cache,data,file);};
58 
59  vtkPipelineSize *SizeEstimator;
60 private:
61  vtkPImageWriter(const vtkPImageWriter&); // Not implemented.
62  void operator=(const vtkPImageWriter&); // Not implemented.
63 };
64 
65 #endif
66 
67