| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Protected Attributes
TeRasterRemap Class Reference

A functional class to transform a raster geometry into another geometry. More...

`#include <TeRasterRemap.h>`

List of all members.

## Public Member Functions

| TeRasterRemap (TeRaster *rasterIn=0, TeRaster *rasterOut=0, bool showProgress=false)
| Constructor.
void | setInput (TeRaster *rasterIn)
| Sets the input raster.
void | setOutput (TeRaster *rasterOut)
| Sets the output raster.
void | setInterpolation (int interpolation)
| Sets the interpolation flag.
void | setTransformer (TeRasterTransform *transf)
| Sets the transformation to be used when doing remap.
TeRasterTransform * | transformer ()
| Returns the transformation to be used when doing remap.
bool | apply (bool showProgress=false)
| Applies the remaping.
bool | setROI (TeBox &roi)
| Defines a region of interest where the remmaping should be done.
void | setOptmizedReprojection (bool enabled)
| Enable/disable the use of a opmized reprojection algorithm.

## Protected Member Functions

bool | TeOptimizedInterpolateIn (const TeBox &box)
bool | TeInterpolateIn (const TeBox &box)
bool | remap ()
bool | copy ()
bool | resample ()

## Protected Attributes

TeRaster * | rasterIn_
| input raster
TeRaster * | rasterOut_
| output raster
TeRasterTransform * | transformer_
int | interpolation_
bool | showProgress_
bool | useOptimizedReprojection_
TeBox | ROI_

## Detailed Description

A functional class to transform a raster geometry into another geometry.

RasterRemap class provides functions to remap a raster strtucture into another. The two raster can have a different projections, different bounding boxes and/or different resolutions.

See also:
  TeRaster, TeRasterParams, TeRasterTransform, TeProjection, TeBox

Note:
  Raster representation in TerraLib is under development, all files that deal with raster representation should be considered as a beta version.

## Constructor & Destructor Documentation

TeRasterRemap::TeRasterRemap | ( | TeRaster * | rasterIn = `0`,
|  | TeRaster * | rasterOut = `0`,
|  | bool | showProgress = `false`
| ) |  |

Constructor.

## Member Function Documentation

bool TeRasterRemap::apply | ( | bool | showProgress = `false` | ) |

Applies the remaping.

bool TeRasterRemap::copy | ( |  | ) | `[protected]`

bool TeRasterRemap::remap | ( |  | ) | `[protected]`

bool TeRasterRemap::resample | ( |  | ) | `[protected]`

void TeRasterRemap::setInput | ( | TeRaster * | rasterIn | ) | `[inline]`

Sets the input raster.

void TeRasterRemap::setInterpolation | ( | int | interpolation | ) | `[inline]`

Sets the interpolation flag.

void TeRasterRemap::setOptmizedReprojection | ( | bool | enabled | ) | `[inline]`

Enable/disable the use of a opmized reprojection algorithm.

void TeRasterRemap::setOutput | ( | TeRaster * | rasterOut | ) | `[inline]`

Sets the output raster.

bool TeRasterRemap::setROI | ( | TeBox & | roi | ) |

Defines a region of interest where the remmaping should be done.

void TeRasterRemap::setTransformer | ( | TeRasterTransform * | transf | ) | `[inline]`

Sets the transformation to be used when doing remap.

bool TeRasterRemap::TeInterpolateIn | ( | const TeBox & | box | ) | `[protected]`

bool TeRasterRemap::TeOptimizedInterpolateIn | ( | const TeBox & | box | ) | `[protected]`

TeRasterTransform* TeRasterRemap::transformer | ( |  | ) | `[inline]`

Returns the transformation to be used when doing remap.

## Member Data Documentation

int TeRasterRemap::interpolation_`[protected]`

TeRaster* TeRasterRemap::rasterIn_`[protected]`

input raster

TeRaster* TeRasterRemap::rasterOut_`[protected]`

output raster

TeBox TeRasterRemap::ROI_`[protected]`

bool TeRasterRemap::showProgress_`[protected]`

TeRasterTransform* TeRasterRemap::transformer_`[protected]`

bool TeRasterRemap::useOptimizedReprojection_`[protected]`

The documentation for this class was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeRasterRemap.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeRasterRemap.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines