| TerraLib 4.1

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

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

Public Member Functions
TePDIMixModelComponent Class Reference

This is the class contains the component information for mixmodel algorithms. More...

`#include <TePDIMixModelComponent.hpp>`

List of all members.

## Public Member Functions

| TePDIMixModelComponent (string l)
| ~TePDIMixModelComponent ()
bool | insertPixel (unsigned int bn, double p)
bool | removePixel (unsigned int bn)
double | getPixel (unsigned int bn)
unsigned | getSize ()
void | clearPixels ()
bool | operator== (const TePDIMixModelComponent &external) const

## Detailed Description

This is the class contains the component information for mixmodel algorithms.

Author:
  Felipe Castro da Silva <felipe@dpi.inpe.br>

## Constructor & Destructor Documentation

TePDIMixModelComponent::TePDIMixModelComponent | ( | string | l | ) |

Default constructor.

Parameters:

  l | name of the component (e.g. cloud, vegetation, ...).

TePDIMixModelComponent::~TePDIMixModelComponent | ( |  | ) |

Default destructor.

## Member Function Documentation

void TePDIMixModelComponent::clearPixels | ( |  | ) |

Clear all the component.

double TePDIMixModelComponent::getPixel | ( | unsigned int | bn | ) |

Return pixel value.

Parameters:

  bn | pixel band number.

Returns:
  if bn exists, pixel value, if note -1.0.

unsigned TePDIMixModelComponent::getSize | ( |  | ) |

Return bands number.

Returns:
  bands number in the component.

bool TePDIMixModelComponent::insertPixel | ( | unsigned int | bn,
|  | double | p
| ) |  |

Insert pixel.

Parameters:

  bn | band number where the pixel will be stored.
  p | pixel value.

Returns:
  true if pixel was inserted, false if not.

bool TePDIMixModelComponent::operator== | ( | const TePDIMixModelComponent & | external | ) | const

bool TePDIMixModelComponent::removePixel | ( | unsigned int | bn | ) |

Remove pixel.

Parameters:

  bn | band number of the pixel to be removed.

Returns:
  true if pixel was removed, false if not.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines