VTK  9.2.5
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=========================================================================*/
50#ifndef vtkAdaptiveResampleToImage_h
51#define vtkAdaptiveResampleToImage_h
52
54#include "vtkFiltersParallelDIY2Module.h" // For export macro
55
57
58class VTKFILTERSPARALLELDIY2_EXPORT vtkAdaptiveResampleToImage : public vtkDataObjectAlgorithm
59{
60public:
63 void PrintSelf(ostream& os, vtkIndent indent) override;
64
66
71 vtkGetObjectMacro(Controller, vtkMultiProcessController);
73
75
81 vtkSetClampMacro(NumberOfImages, int, 0, VTK_INT_MAX);
82 vtkGetMacro(NumberOfImages, int);
84
86
90 vtkSetVector3Macro(SamplingDimensions, int);
91 vtkGetVector3Macro(SamplingDimensions, int);
93protected:
96
97 int FillOutputPortInformation(int port, vtkInformation* info) override;
99 vtkInformationVector* outputVector) override;
100
101private:
103 void operator=(const vtkAdaptiveResampleToImage&) = delete;
104
105 vtkMultiProcessController* Controller;
106 int NumberOfImages;
107 int SamplingDimensions[3];
108};
109
110#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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
#define VTK_INT_MAX
Definition: vtkType.h:155