VTK  9.3.0
vtkAdaptiveResampleToImage.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
38 #ifndef vtkAdaptiveResampleToImage_h
39 #define vtkAdaptiveResampleToImage_h
40 
41 #include "vtkDataObjectAlgorithm.h"
42 #include "vtkFiltersParallelDIY2Module.h" // For export macro
43 
44 VTK_ABI_NAMESPACE_BEGIN
46 
47 class VTKFILTERSPARALLELDIY2_EXPORT vtkAdaptiveResampleToImage : public vtkDataObjectAlgorithm
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
55 
60  vtkGetObjectMacro(Controller, vtkMultiProcessController);
62 
64 
70  vtkSetClampMacro(NumberOfImages, int, 0, VTK_INT_MAX);
71  vtkGetMacro(NumberOfImages, int);
73 
75 
79  vtkSetVector3Macro(SamplingDimensions, int);
80  vtkGetVector3Macro(SamplingDimensions, int);
82 protected:
85 
88  vtkInformationVector* outputVector) override;
89 
90 private:
92  void operator=(const vtkAdaptiveResampleToImage&) = delete;
93 
94  vtkMultiProcessController* Controller;
95  int NumberOfImages;
96  int SamplingDimensions[3];
97 };
98 
99 VTK_ABI_NAMESPACE_END
100 #endif
samples a dataset with adaptive refinements.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkAdaptiveResampleToImage * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
~vtkAdaptiveResampleToImage() override
int RequestData(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Superclass for algorithms that produce only data object as output.
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
#define VTK_INT_MAX
Definition: vtkType.h:144