VTK  9.0.3
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 =========================================================================*/
23 #ifndef vtkRasterReprojectionFilter_h
24 #define vtkRasterReprojectionFilter_h
25 
26 #include "vtkGeovisGDALModule.h" // For export macro
27 #include "vtkImageAlgorithm.h"
28 
29 class VTKGEOVISGDAL_EXPORT vtkRasterReprojectionFilter : public vtkImageAlgorithm
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
45  vtkSetStringMacro(InputProjection);
46  vtkGetStringMacro(InputProjection);
48 
50 
53  vtkSetStringMacro(OutputProjection);
54  vtkGetStringMacro(OutputProjection);
56 
58 
65  vtkSetVector2Macro(OutputDimensions, int);
66  vtkGetVector2Macro(OutputDimensions, int);
68 
70 
75  vtkSetMacro(NoDataValue, double);
76  vtkGetMacro(NoDataValue, double);
78 
80 
85  vtkSetClampMacro(MaxError, double, 0.0, VTK_DOUBLE_MAX);
86  vtkGetMacro(MaxError, double);
88 
90 
100  vtkSetClampMacro(ResamplingAlgorithm, int, 0, 6);
102 
103 protected:
106 
107  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
108  vtkInformationVector* outputVector) override;
109 
111  vtkInformationVector* outputVector) override;
112 
114  vtkInformationVector* outputVector) override;
115 
118 
120  int FlipAxis[3];
122  int OutputDimensions[2];
123  double NoDataValue;
124  double MaxError;
126 
127  class vtkRasterReprojectionFilterInternal;
128  vtkRasterReprojectionFilterInternal* Internal;
129 
130 private:
132  void operator=(const vtkRasterReprojectionFilter&) = delete;
133 };
134 
135 #endif // vtkRasterReprojectionFilter_h
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:34
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
Fill the input port information objects for this algorithm.
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.
static vtkRasterReprojectionFilter * New()
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
#define VTK_DOUBLE_MAX
Definition: vtkType.h:165