VTK  9.4.20250114
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
42#include "vtkFiltersParallelDIY2Module.h" // For export macro
43
44VTK_ABI_NAMESPACE_BEGIN
46
47class VTKFILTERSPARALLELDIY2_EXPORT vtkAdaptiveResampleToImage : public vtkDataObjectAlgorithm
48{
49public:
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);
82protected:
85
86 int FillOutputPortInformation(int port, vtkInformation* info) override;
88 vtkInformationVector* outputVector) override;
89
90private:
92 void operator=(const vtkAdaptiveResampleToImage&) = delete;
93
94 vtkMultiProcessController* Controller;
95 int NumberOfImages;
96 int SamplingDimensions[3];
97};
98
99VTK_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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
#define VTK_INT_MAX
Definition vtkType.h:144