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 "vtkIOParallelModule.h" // For export macro
32 #include "vtkImageWriter.h"
33 class vtkPipelineSize;
34 
36 {
37 public:
38  static vtkPImageWriter *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  vtkSetMacro(MemoryLimit, unsigned long);
46  vtkGetMacro(MemoryLimit, unsigned long);
48 
49 protected:
51  ~vtkPImageWriter();
52 
53  unsigned long MemoryLimit;
54 
55  virtual void RecursiveWrite(int dim, vtkImageData *region, vtkInformation* inInfo, ofstream *file);
56  virtual void RecursiveWrite(int dim, vtkImageData *cache,
57  vtkImageData *data, vtkInformation* inInfo, ofstream *file)
58  {this->vtkImageWriter::RecursiveWrite(dim,cache,data,inInfo,file);};
59 
60  vtkPipelineSize *SizeEstimator;
61 private:
62  vtkPImageWriter(const vtkPImageWriter&); // Not implemented.
63  void operator=(const vtkPImageWriter&); // Not implemented.
64 };
65 
66 #endif
67 
68 
#define VTKIOPARALLEL_EXPORT
virtual void RecursiveWrite(int dim, vtkImageData *cache, vtkImageData *data, vtkInformation *inInfo, ofstream *file)
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:38
Writes images to files.
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
Writes images to files.
static vtkImageWriter * New()
compute the memory required by a pipeline
void PrintSelf(ostream &os, vtkIndent indent)
unsigned long MemoryLimit
virtual void RecursiveWrite(int dim, vtkImageData *region, vtkInformation *inInfo, ofstream *file)