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 =========================================================================*/
29 #ifndef vtkPImageWriter_h
30 #define vtkPImageWriter_h
31 
32 #include "vtkIOParallelModule.h" // For export macro
33 #include "vtkImageWriter.h"
34 class vtkPipelineSize;
35 
36 class VTKIOPARALLEL_EXPORT vtkPImageWriter : public vtkImageWriter
37 {
38 public:
39  static vtkPImageWriter *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
48  vtkSetMacro(MemoryLimit, unsigned long);
49  vtkGetMacro(MemoryLimit, unsigned long);
51 
52 protected:
54  ~vtkPImageWriter();
55 
56  unsigned long MemoryLimit;
57 
58  virtual void RecursiveWrite(int dim, vtkImageData *region, vtkInformation* inInfo, ofstream *file);
59  virtual void RecursiveWrite(int dim, vtkImageData *cache,
60  vtkImageData *data, vtkInformation* inInfo, ofstream *file)
61  {this->vtkImageWriter::RecursiveWrite(dim,cache,data,inInfo,file);};
62 
63  vtkPipelineSize *SizeEstimator;
64 private:
65  vtkPImageWriter(const vtkPImageWriter&) VTK_DELETE_FUNCTION;
66  void operator=(const vtkPImageWriter&) VTK_DELETE_FUNCTION;
67 };
68 
69 #endif
70 
71 
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:39
Writes images to files.
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
Writes images to files.
static vtkImageWriter * New()
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
compute the memory required by a pipeline
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
unsigned long MemoryLimit
virtual void RecursiveWrite(int dim, vtkImageData *region, vtkInformation *inInfo, ofstream *file)