| 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
TePDIRasterRUBuffer Class Reference
Image processing auxiliary classes/methods.

A raster rool-up lines buffer. More...

`#include <TePDIRasterRUBuffer.hpp>`

List of all members.

## Public Member Functions

| TePDIRasterRUBuffer ()
| ~TePDIRasterRUBuffer ()
bool | reset (TeRaster &inputRaster, unsigned int inRasterChn, unsigned int bufferLines)
| Reset this roll up buffer instance.
bool | roolUp ()
| Buffer roll-up (read the next line from input raster)
double ** | getBufferPtr ()
| Returns a pointer to the current buffer.

## Protected Member Functions

void | clear ()

## Protected Attributes

TeRaster * | rasterPtr_
unsigned int | rasterChn_
double ** | bufferPtr_
unsigned int | bufferLines_
unsigned int | bufferCols_
unsigned int | lastReadedLine_

## Detailed Description

A raster rool-up lines buffer.

Author:
  Emiliano F. Castejon <castejon@dpi.inpe.br>

## Constructor & Destructor Documentation

TePDIRasterRUBuffer::TePDIRasterRUBuffer | ( |  | ) |

TePDIRasterRUBuffer::~TePDIRasterRUBuffer | ( |  | ) |

## Member Function Documentation

void TePDIRasterRUBuffer::clear | ( |  | ) | `[protected]`

double ** TePDIRasterRUBuffer::getBufferPtr | ( |  | ) |

Returns a pointer to the current buffer.

Returns:
  A pointer to the current buffer.

Note:
  The returned pointer will be invalidated if reset or roolUp methods were called.

bool TePDIRasterRUBuffer::reset | ( | TeRaster & | inputRaster,
|  | unsigned int | inRasterChn,
|  | unsigned int | bufferLines
| ) |  |

Reset this roll up buffer instance.

Parameters:

  inputRaster | Input raster.
  inRasterChn | Input raster channel/band.
  bufferLines | Number of roll-up buffer lines.

Returns:
  true if OK, false on errors.

Note:
  No lines will be pre-loaded.

bool TePDIRasterRUBuffer::roolUp | ( |  | ) |

Buffer roll-up (read the next line from input raster)

Returns:
  true if OK, false on errors.

## Member Data Documentation

unsigned int TePDIRasterRUBuffer::bufferCols_`[protected]`

unsigned int TePDIRasterRUBuffer::bufferLines_`[protected]`

double** TePDIRasterRUBuffer::bufferPtr_`[protected]`

unsigned int TePDIRasterRUBuffer::lastReadedLine_`[protected]`

unsigned int TePDIRasterRUBuffer::rasterChn_`[protected]`

TeRaster* TePDIRasterRUBuffer::rasterPtr_`[protected]`

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIRasterRUBuffer.hpp
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIRasterRUBuffer.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines