VTK  9.0.1
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 =========================================================================*/
26 #ifndef vtkPImageWriter_h
27 #define vtkPImageWriter_h
28 
29 #include "vtkIOParallelModule.h" // For export macro
30 #include "vtkImageWriter.h"
31 class vtkPipelineSize;
32 
33 class VTKIOPARALLEL_EXPORT vtkPImageWriter : public vtkImageWriter
34 {
35 public:
36  static vtkPImageWriter* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
41 
45  vtkSetMacro(MemoryLimit, unsigned long);
46  vtkGetMacro(MemoryLimit, unsigned long);
48 
49 protected:
51  ~vtkPImageWriter() override;
52 
53  unsigned long MemoryLimit;
54 
55  void RecursiveWrite(
56  int dim, vtkImageData* region, vtkInformation* inInfo, ostream* file) override;
57  void RecursiveWrite(int dim, vtkImageData* cache, vtkImageData* data, vtkInformation* inInfo,
58  ostream* file) override
59  {
60  this->vtkImageWriter::RecursiveWrite(dim, cache, data, inInfo, file);
61  }
62 
64 
65 private:
66  vtkPImageWriter(const vtkPImageWriter&) = delete;
67  void operator=(const vtkPImageWriter&) = delete;
68 };
69 
70 #endif
vtkPImageWriter::SizeEstimator
vtkPipelineSize * SizeEstimator
Definition: vtkPImageWriter.h:63
vtkPImageWriter::MemoryLimit
unsigned long MemoryLimit
Definition: vtkPImageWriter.h:53
vtkPImageWriter::RecursiveWrite
void RecursiveWrite(int dim, vtkImageData *cache, vtkImageData *data, vtkInformation *inInfo, ostream *file) override
Definition: vtkPImageWriter.h:57
vtkImageWriter
Writes images to files.
Definition: vtkImageWriter.h:32
vtkX3D::data
@ data
Definition: vtkX3D.h:321
vtkImageWriter.h
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkPImageWriter
Writes images to files.
Definition: vtkPImageWriter.h:33
vtkImageWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkPipelineSize
compute the memory required by a pipeline
Definition: vtkPipelineSize.h:27
vtkImageWriter::New
static vtkImageWriter * New()
vtkImageWriter::RecursiveWrite
virtual void RecursiveWrite(int dim, vtkImageData *region, vtkInformation *inInfo, ostream *file)