VTK  9.0.1
vtkAdaptiveResampleToImage.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAdaptiveResampleToImage.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 =========================================================================*/
47 #ifndef vtkAdaptiveResampleToImage_h
48 #define vtkAdaptiveResampleToImage_h
49 
50 #include "vtkDataObjectAlgorithm.h"
51 #include "vtkFiltersParallelDIY2Module.h" // For export macro
52 
54 
55 class VTKFILTERSPARALLELDIY2_EXPORT vtkAdaptiveResampleToImage : public vtkDataObjectAlgorithm
56 {
57 public:
60  void PrintSelf(ostream& os, vtkIndent indent) override;
61 
63 
67  virtual void SetController(vtkMultiProcessController*);
68  vtkGetObjectMacro(Controller, vtkMultiProcessController);
70 
72 
78  vtkSetClampMacro(NumberOfImages, int, 0, VTK_INT_MAX);
79  vtkGetMacro(NumberOfImages, int);
81 
83 
87  vtkSetVector3Macro(SamplingDimensions, int);
88  vtkGetVector3Macro(SamplingDimensions, int);
90 protected:
92  ~vtkAdaptiveResampleToImage() override;
93 
96  vtkInformationVector* outputVector) override;
97 
98 private:
100  void operator=(const vtkAdaptiveResampleToImage&) = delete;
101 
102  vtkMultiProcessController* Controller;
103  int NumberOfImages;
104  int SamplingDimensions[3];
105 };
106 
107 #endif
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
#define VTK_INT_MAX
Definition: vtkType.h:155
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:33
Superclass for algorithms that produce only data object as output.
samples a dataset with adaptive refinements.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.