| TerraLib 4.1

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

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

Public Member Functions
TePDIMixModelSpectralBandList Class Reference

This is the class contains the list of spectral bands for mixmodel algorithms. More...

`#include <TePDIMixModelSpectralBandList.hpp>`

List of all members.

## Public Member Functions

| TePDIMixModelSpectralBandList ()
| ~TePDIMixModelSpectralBandList ()
bool | insertSpectralBand (TePDIMixModelSpectralBand sb)
bool | loadSpectralBandsFromFile (string filename)
unsigned int | getSize ()
string | getSpectralBandLabel (unsigned int b)
TePDIMixModelSpectralBand | getSpectralBand (unsigned int b)
bool | operator== (const TePDIMixModelSpectralBandList &external) const

## Detailed Description

This is the class contains the list of spectral bands for mixmodel algorithms.

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

Examples:

  TePDIMixModel_test.cpp.

## Constructor & Destructor Documentation

TePDIMixModelSpectralBandList::TePDIMixModelSpectralBandList | ( |  | ) |

Default constructor.

TePDIMixModelSpectralBandList::~TePDIMixModelSpectralBandList | ( |  | ) |

Default destructor.

## Member Function Documentation

unsigned int TePDIMixModelSpectralBandList::getSize | ( |  | ) |

Return spectral band list size.

Returns:
  return the spectralbandlist size.

TePDIMixModelSpectralBand TePDIMixModelSpectralBandList::getSpectralBand | ( | unsigned int | b | ) |

Return spectral band.

Parameters:

  b | band number.

Returns:
  return the spectral band.

string TePDIMixModelSpectralBandList::getSpectralBandLabel | ( | unsigned int | b | ) |

Return spectral band name.

Parameters:

  b | band number.

Returns:
  return the spectral band name.

bool TePDIMixModelSpectralBandList::insertSpectralBand | ( | TePDIMixModelSpectralBand | sb | ) |

Insert spectral band.

Parameters:

  sb | spectral band to be stored.

Returns:
  true if the spectral band was inserted, false if not.

Examples:
  TePDIMixModel_test.cpp.

bool TePDIMixModelSpectralBandList::loadSpectralBandsFromFile | ( | string | filename | ) |

Load spectral band file.

Note:
  This file have the following format: sensor_number band_number lower_spectral_range_bound upper_spectral_range_bound spectral_band_name (e.g. 160 1 0.450000 0.520000 Landsat5-TM1)

Parameters:

  filename | file name with spectral bands information.

Returns:
  true if the file was loaded sucessfully, false if not.

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

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines