| TerraLib 4.1

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

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

Public Types | Public Member Functions
TePDIMtxDoubleAdpt< T > Class Template Reference
Image processing auxiliary classes/methods.

Matrix double adapter. More...

`#include <TePDIMtxDoubleAdpt.hpp>`

Inheritance diagram for TePDIMtxDoubleAdpt< T >:

List of all members.

## Public Types

typedef TePDIMatrix< T > ::MemoryPolicy | MemoryPolicy

## Public Member Functions

| TePDIMtxDoubleAdpt ()
| ~TePDIMtxDoubleAdpt ()
void | getValue (const unsigned int &lin, const unsigned int col, double &value) const
| Read values from the internal representation converting to double.
void | setValue (const unsigned int &lin, const unsigned int col, const double &value)
| Write double values converting to the internal representation.
bool | reset (unsigned int lines, unsigned int columns)
| Reallocate memory following the internal memory policy.
unsigned int | getNLines () const
unsigned int | getNCols () const

## Detailed Description

### template<class T>
class TePDIMtxDoubleAdpt< T >

Matrix double adapter.

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

## Member Typedef Documentation

template<class T >

typedef TePDIMatrix< T >::MemoryPolicy TePDIMtxDoubleAdpt< T >::MemoryPolicy

Forward declaration for memory policy

Reimplemented from TePDIMatrix< T >.

## Constructor & Destructor Documentation

template<class T >

TePDIMtxDoubleAdpt< T >::TePDIMtxDoubleAdpt | ( |  | ) | `[inline]`

template<class T >

TePDIMtxDoubleAdpt< T >::~TePDIMtxDoubleAdpt | ( |  | ) | `[inline]`

## Member Function Documentation

template<class T >

unsigned int TePDIMtxDoubleAdpt< T >::getNCols | ( |  | ) | const`[inline, virtual]`

Return the number of matrix columns.

Returns:
  The number of Matrix columns.

Implements TePDIMtxDoubleAdptInt.

template<class T >

unsigned int TePDIMtxDoubleAdpt< T >::getNLines | ( |  | ) | const`[inline, virtual]`

Return the number of matrix lines.

Returns:
  The number of Matrix lines.

Implements TePDIMtxDoubleAdptInt.

template<class T >

void TePDIMtxDoubleAdpt< T >::getValue | ( | const unsigned int & | lin,
|  | const unsigned int | col,
|  | double & | value
| ) |  | const`[inline, virtual]`

Read values from the internal representation converting to double.

Parameters:

  lin | Line.
  col | Column.
  value | The readed value.

Implements TePDIMtxDoubleAdptInt.

template<class T >

bool TePDIMtxDoubleAdpt< T >::reset | ( | unsigned int | lines,
|  | unsigned int | columns
| ) |  | `[inline, virtual]`

Reallocate memory following the internal memory policy.

Parameters:

  lines | The new lines number.
  columns | The new columns number.

Returns:
  true if OK.

Implements TePDIMtxDoubleAdptInt.

template<class T >

void TePDIMtxDoubleAdpt< T >::setValue | ( | const unsigned int & | lin,
|  | const unsigned int | col,
|  | const double & | value
| ) |  | `[inline, virtual]`

Write double values converting to the internal representation.

Parameters:

  lin | Line.
  col | Column.
  value | The value to write.

Implements TePDIMtxDoubleAdptInt.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIMtxDoubleAdpt.hpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines