VTK  9.2.5
vtkRasterReprojectionFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkRasterReprojectionFilter.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=========================================================================*/
26#ifndef vtkRasterReprojectionFilter_h
27#define vtkRasterReprojectionFilter_h
28
29#include "vtkGeovisGDALModule.h" // For export macro
30#include "vtkImageAlgorithm.h"
31
32class VTKGEOVISGDAL_EXPORT vtkRasterReprojectionFilter : public vtkImageAlgorithm
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
48 vtkSetStringMacro(InputProjection);
49 vtkGetStringMacro(InputProjection);
51
53
56 vtkSetStringMacro(OutputProjection);
57 vtkGetStringMacro(OutputProjection);
59
61
68 vtkSetVector2Macro(OutputDimensions, int);
69 vtkGetVector2Macro(OutputDimensions, int);
71
73
78 vtkSetMacro(NoDataValue, double);
79 vtkGetMacro(NoDataValue, double);
81
83
88 vtkSetClampMacro(MaxError, double, 0.0, VTK_DOUBLE_MAX);
89 vtkGetMacro(MaxError, double);
91
93
103 vtkSetClampMacro(ResamplingAlgorithm, int, 0, 6);
105
106protected:
109
111 vtkInformationVector* outputVector) override;
112
114 vtkInformationVector* outputVector) override;
115
117 vtkInformationVector* outputVector) override;
118
119 int FillInputPortInformation(int port, vtkInformation* info) override;
120 int FillOutputPortInformation(int port, vtkInformation* info) override;
121
123 int FlipAxis[3];
125 int OutputDimensions[2];
127 double MaxError;
129
130 class vtkRasterReprojectionFilterInternal;
131 vtkRasterReprojectionFilterInternal* Internal;
132
133private:
135 void operator=(const vtkRasterReprojectionFilter&) = delete;
136};
137
138#endif // vtkRasterReprojectionFilter_h
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:40
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:165