VTK  9.3.20240425
vtkRasterReprojectionFilter.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
14#ifndef vtkRasterReprojectionFilter_h
15#define vtkRasterReprojectionFilter_h
16
17#include "vtkGeovisGDALModule.h" // For export macro
18#include "vtkImageAlgorithm.h"
19
20VTK_ABI_NAMESPACE_BEGIN
21class VTKGEOVISGDAL_EXPORT vtkRasterReprojectionFilter : public vtkImageAlgorithm
22{
23public:
26 void PrintSelf(ostream& os, vtkIndent indent) override;
27
29
37 vtkSetStringMacro(InputProjection);
38 vtkGetStringMacro(InputProjection);
40
42
45 vtkSetStringMacro(OutputProjection);
46 vtkGetStringMacro(OutputProjection);
48
50
57 vtkSetVector2Macro(OutputDimensions, int);
58 vtkGetVector2Macro(OutputDimensions, int);
60
62
67 vtkSetMacro(NoDataValue, double);
68 vtkGetMacro(NoDataValue, double);
70
72
77 vtkSetClampMacro(MaxError, double, 0.0, VTK_DOUBLE_MAX);
78 vtkGetMacro(MaxError, double);
80
82
92 vtkSetClampMacro(ResamplingAlgorithm, int, 0, 6);
94
95protected:
98
99 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
100 vtkInformationVector* outputVector) override;
101
103 vtkInformationVector* outputVector) override;
104
106 vtkInformationVector* outputVector) override;
107
108 int FillInputPortInformation(int port, vtkInformation* info) override;
109 int FillOutputPortInformation(int port, vtkInformation* info) override;
110
112 int FlipAxis[3];
114 int OutputDimensions[2];
116 double MaxError;
118
119 class vtkRasterReprojectionFilterInternal;
120 vtkRasterReprojectionFilterInternal* Internal;
121
122private:
124 void operator=(const vtkRasterReprojectionFilter&) = delete;
125};
126
127VTK_ABI_NAMESPACE_END
128#endif // vtkRasterReprojectionFilter_h
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Transform a VTK image data to a different projection.
~vtkRasterReprojectionFilter() override
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRasterReprojectionFilterInternal * Internal
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
static vtkRasterReprojectionFilter * New()
#define VTK_DOUBLE_MAX
Definition vtkType.h:154