VTK
dox
Geovis
GDAL
vtkGDALRasterReprojection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGDALRasterReprojection.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
=========================================================================*/
20
#ifndef vtkGDALRasterReprojection_h
21
#define vtkGDALRasterReprojection_h
22
23
// VTK Includes
24
#include "vtkGeovisGDALModule.h"
// For export macro
25
#include "
vtkObject.h
"
26
27
class
GDALDataset;
28
29
class
VTKGEOVISGDAL_EXPORT
vtkGDALRasterReprojection
:
public
vtkObject
30
{
31
public
:
32
static
vtkGDALRasterReprojection
*
New
();
33
vtkTypeMacro(
vtkGDALRasterReprojection
,
vtkObject
);
34
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
35
37
42
vtkSetClampMacro(MaxError,
double
, 0.0,
VTK_DOUBLE_MAX
);
44
46
56
vtkSetClampMacro(ResamplingAlgorithm,
int
, 0, 6);
58
67
bool
SuggestOutputDimensions(GDALDataset* inputDataset,
68
const
char
* outputProjection,
69
double
geoTransform[6],
70
int
* nPixels,
71
int
* nLines,
72
double
maxError = 0.0);
73
80
bool
Reproject(GDALDataset* input, GDALDataset* output);
81
82
protected
:
83
vtkGDALRasterReprojection
();
84
~
vtkGDALRasterReprojection
();
85
86
double
MaxError
;
87
int
ResamplingAlgorithm
;
88
89
private
:
90
vtkGDALRasterReprojection
(
const
vtkGDALRasterReprojection
&) =
delete
;
91
void
operator=(
const
vtkGDALRasterReprojection
&) =
delete
;
92
};
93
94
#endif // vtkGDALRasterReprojection_h
vtkGDALRasterReprojection::MaxError
double MaxError
Definition:
vtkGDALRasterReprojection.h:86
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGDALRasterReprojection
Definition:
vtkGDALRasterReprojection.h:29
vtkObject.h
vtkGDALRasterReprojection::ResamplingAlgorithm
int ResamplingAlgorithm
Definition:
vtkGDALRasterReprojection.h:87
VTK_DOUBLE_MAX
#define VTK_DOUBLE_MAX
Definition:
vtkType.h:169
Generated by
1.8.16