VTK  9.1.0
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
51#include "vtkFiltersParallelDIY2Module.h" // For export macro
52
54
55class VTKFILTERSPARALLELDIY2_EXPORT vtkAdaptiveResampleToImage : public vtkDataObjectAlgorithm
56{
57public:
60 void PrintSelf(ostream& os, vtkIndent indent) override;
61
63
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);
90protected:
93
94 int FillOutputPortInformation(int port, vtkInformation* info) override;
96 vtkInformationVector* outputVector) override;
97
98private:
100 void operator=(const vtkAdaptiveResampleToImage&) = delete;
101
102 vtkMultiProcessController* Controller;
103 int NumberOfImages;
104 int SamplingDimensions[3];
105};
106
107#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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
#define VTK_INT_MAX
Definition: vtkType.h:155