| TerraLib 4.1

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

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

Public Member Functions
TeDecoderTIFF Class Reference

Implements a decoder to a raster in TIFF (Tagged Image File Format) format with or without geographical tags (geotiff) More...

`#include <TeDecoderTIFF.h>`

Inheritance diagram for TeDecoderTIFF:

List of all members.

## Public Member Functions

| TeDecoderTIFF (const TeRasterParams &)
| Construtor from parameters.
| ~TeDecoderTIFF ()
| Normal destructor.
void | init ()
| Initializes the internal structures.
bool | clear ()
| Clear internal structures.
bool | setElement (int col, int lin, double val, int band=0)
| Reads an element.
bool | getElement (int col, int lin, double &val, int band=0)
| Writes an element.

## Detailed Description

Implements a decoder to a raster in TIFF (Tagged Image File Format) format with or without geographical tags (geotiff)

Decoder TIFF is based on geotiff libray (http://remotesensing.org/geotiff/geotiff.html). This imposes some restrictions to this decoder. Using libtiff TIFF image files may not be opened for both reading and writing access, or, there is no support for altering the contents of a TIFF file. So this decoder is limited to create new tiff files or to read existing ones.

  The default file extensions associated to this decoder are ".tif" or ".tiff".

Note:
  This decoder doesn't support tiff files that are organizes in tiles and in separated planes.
  This decoder accepts the following optional parameters from TeRasterParams::decoderParams_:
  - Name:"TeDecoderTIFF_TifTagSoftware" Type:string Description:Overwrite the tag software using the given string default:The current TerraLib version string.

## Constructor & Destructor Documentation

TeDecoderTIFF::TeDecoderTIFF | ( | const TeRasterParams & | par | ) |

Construtor from parameters.

TeDecoderTIFF::~TeDecoderTIFF | ( |  | ) |

Normal destructor.

## Member Function Documentation

bool TeDecoderTIFF::clear | ( |  | ) | `[virtual]`

Clear internal structures.

Implements TeDecoder.

bool TeDecoderTIFF::getElement | ( | int | col,
|  | int | lin,
|  | double & | val,
|  | int | band = `0`
| ) |  | `[virtual]`

Writes an element.

Implements TeDecoder.

void TeDecoderTIFF::init | ( |  | ) | `[virtual]`

Initializes the internal structures.

Implements TeDecoder.

bool TeDecoderTIFF::setElement | ( | int | col,
|  | int | lin,
|  | double | val,
|  | int | band = `0`
| ) |  | `[virtual]`

Reads an element.

Implements TeDecoder.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines