| TerraLib 4.1

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

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

Public Member Functions | Protected Attributes
TePDISAMClassifier::SegThread Class Reference

Segmentation thread class. More...

`#include <TePDISAMClassifier.hpp>`

Inheritance diagram for TePDISAMClassifier::SegThread:

List of all members.

## Public Member Functions

| SegThread (bool progEnabled, TeRaster &inRaster, const std::vector< unsigned int > &inRasterBands, const std::vector< ClassReferenceData > &refDataVector, TeMutex &inMutex, TeMutex &outMutex, std::vector< bool > &linesProcStatusVec, volatile bool &abortFlag, TeRaster &outRaster)
| ~SegThread ()
bool | getReturnValue () const
void | run ()
| Thread execution method: this method will be called when the thread starts. Subclasses must reimplement it.

## Protected Attributes

bool | progEnabled_
volatile bool | returnValue_
TeRaster & | inRaster_
const std::vector< unsigned int > & | inRasterBands_
const std::vector < ClassReferenceData > & | refDataVector_
TeMutex & | inMutex_
TeMutex & | outMutex_
std::vector< bool > & | linesProcStatusVec_
volatile bool & | abortFlag_
TeRaster & | outRaster_

## Detailed Description

Segmentation thread class.

## Constructor & Destructor Documentation

TePDISAMClassifier::SegThread::SegThread | ( | bool | progEnabled,
|  | TeRaster & | inRaster,
|  | const std::vector< unsigned int > & | inRasterBands,
|  | const std::vector< ClassReferenceData > & | refDataVector,
|  | TeMutex & | inMutex,
|  | TeMutex & | outMutex,
|  | std::vector< bool > & | linesProcStatusVec,
|  | volatile bool & | abortFlag,
|  | TeRaster & | outRaster
| ) |  |

TePDISAMClassifier::SegThread::~SegThread | ( |  | ) |

## Member Function Documentation

bool TePDISAMClassifier::SegThread::getReturnValue | ( |  | ) | const`[inline]`

void TePDISAMClassifier::SegThread::run | ( |  | ) | `[virtual]`

Thread execution method: this method will be called when the thread starts. Subclasses must reimplement it.

Implements TeThread.

## Member Data Documentation

volatile bool& TePDISAMClassifier::SegThread::abortFlag_`[protected]`

The abort flag to be checked/set when an error occurs.

TeMutex& TePDISAMClassifier::SegThread::inMutex_`[protected]`

The mutex to use when reading input data.

TeRaster& TePDISAMClassifier::SegThread::inRaster_`[protected]`

Input raster to process.

const std::vector< unsigned int >& TePDISAMClassifier::SegThread::inRasterBands_`[protected]`

Input raster bands to process.

std::vector< bool >& TePDISAMClassifier::SegThread::linesProcStatusVec_`[protected]`

The processing status vector of each line.

TeMutex& TePDISAMClassifier::SegThread::outMutex_`[protected]`

The mutex to use when writing output data.

TeRaster& TePDISAMClassifier::SegThread::outRaster_`[protected]`

The output raster where to save the result.

bool TePDISAMClassifier::SegThread::progEnabled_`[protected]`

Progress enabled/disabled flat.

const std::vector< ClassReferenceData >& TePDISAMClassifier::SegThread::refDataVector_`[protected]`

The reference classes data vector.

volatile bool TePDISAMClassifier::SegThread::returnValue_`[protected]`

The return value for this thread instance execution ( true if ok, false on errors).

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines