Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

OmgRasterThreshold Class Reference
[Gui]

#include <omgrasterthreshold.h>

Inheritance diagram for OmgRasterThreshold:

Inheritance graph
[legend]
Collaboration diagram for OmgRasterThreshold:

Collaboration graph
[legend]
List of all members.

Detailed Description

This dialog provides an interface for carrying out thresholding and hotspot analysis.

Thresholding is the process of converting continuous probability value rasters into boolean layers. Hotspotting is the process of aggregating thresholded layers together to create a composite view of many models where the output is a raster indicating the number of thresholded models.

Author:
Tim Sutton

Definition at line 45 of file omgrasterthreshold.h.

Public Member Functions

 OmgRasterThreshold (QWidget *parent=0, Qt::WFlags fl=0)
 ~OmgRasterThreshold ()
void setExperiment (OmgExperiment *const thepExperiment)

Private Types

enum  SortMode { BY_TAXON, BY_ALGORITHM }

Private Slots

void on_pbnThresholdOutputDir_clicked ()
void on_pbnSelectThresholdAggregateFile_clicked ()
void accept ()
void error (QString theError)
void updateProgress (int theCurrentValue, int theMaximumValue)
void on_cboSortBy_currentIndexChanged (QString theString)
void populateTree ()
void resizeEvent (QResizeEvent *theEvent)

Private Member Functions

void readSettings ()
void writeSettings ()

Private Attributes

OmgGdal mOmgGdal
QPointer< OmgExperimentmpExperiment
SortMode mSortMode


Member Enumeration Documentation

enum OmgRasterThreshold::SortMode [private]
 

Enumeration values:
BY_TAXON 
BY_ALGORITHM 

Definition at line 73 of file omgrasterthreshold.h.


Constructor & Destructor Documentation

OmgRasterThreshold::OmgRasterThreshold QWidget parent = 0,
Qt::WFlags  fl = 0
 

Definition at line 43 of file omgrasterthreshold.cpp.

References BY_ALGORITHM, error(), mOmgGdal, mSortMode, readSettings(), and updateProgress().

Here is the call graph for this function:

OmgRasterThreshold::~OmgRasterThreshold  ) 
 

Definition at line 59 of file omgrasterthreshold.cpp.


Member Function Documentation

void OmgRasterThreshold::accept  )  [private, slot]
 

Runs when process button is pressed. Does not close the form afterwards.

Definition at line 222 of file omgrasterthreshold.cpp.

References OmgFileWriter::close(), OmgClimateFileReader::currentCol(), OmgClimateFileReader::currentRow(), OmgFileWriter::fileName(), OmgGdal::getAsciiHeader(), OmgClimateFileReader::getElement(), Omgui::getOutputFormatNoData(), Omgui::getOutputFormatRanges(), OmgClimateFileReader::isAtMatrixEnd(), OmgModel::modelRasterFormat(), mOmgGdal, mpExperiment, OmgModel::rawImageFileName(), OmgFileWriter::sendLineBreak(), OmgClimateDataProcessor::threshold(), updateProgress(), OmgModel::workDir(), OmgFileWriter::writeElement(), OmgGdal::writeImage(), writeSettings(), OmgFileWriter::writeString(), OmgClimateFileReader::xDim(), and OmgClimateFileReader::yDim().

void OmgRasterThreshold::error QString  theError  )  [private, slot]
 

Definition at line 466 of file omgrasterthreshold.cpp.

Referenced by OmgRasterThreshold().

void OmgRasterThreshold::on_cboSortBy_currentIndexChanged QString  theString  )  [private, slot]
 

Definition at line 170 of file omgrasterthreshold.cpp.

References BY_ALGORITHM, BY_TAXON, mSortMode, and populateTree().

void OmgRasterThreshold::on_pbnSelectThresholdAggregateFile_clicked  )  [private, slot]
 

Definition at line 200 of file omgrasterthreshold.cpp.

void OmgRasterThreshold::on_pbnThresholdOutputDir_clicked  )  [private, slot]
 

Definition at line 183 of file omgrasterthreshold.cpp.

void OmgRasterThreshold::populateTree  )  [private, slot]
 

Definition at line 74 of file omgrasterthreshold.cpp.

References OmgModel::algorithm(), BY_TAXON, OmgGuid::guid(), OmgModel::isCompleted(), mpExperiment, mSortMode, OmgModel::taxonName(), OmgModel::thumbnailFileName(), and OmgModel::workDir().

Referenced by on_cboSortBy_currentIndexChanged(), and setExperiment().

void OmgRasterThreshold::readSettings  )  [private]
 

Definition at line 442 of file omgrasterthreshold.cpp.

Referenced by OmgRasterThreshold().

void OmgRasterThreshold::resizeEvent QResizeEvent *  theEvent  )  [private, slot]
 

Definition at line 63 of file omgrasterthreshold.cpp.

void OmgRasterThreshold::setExperiment OmgExperiment *const   thepExperiment  ) 
 

Definition at line 68 of file omgrasterthreshold.cpp.

References mpExperiment, and populateTree().

Referenced by OmgMainWindow::toolsRasterThreshold().

void OmgRasterThreshold::updateProgress int  theCurrentValue,
int  theMaximumValue
[private, slot]
 

Definition at line 472 of file omgrasterthreshold.cpp.

Referenced by accept(), and OmgRasterThreshold().

void OmgRasterThreshold::writeSettings  )  [private]
 

Definition at line 454 of file omgrasterthreshold.cpp.

Referenced by accept().


Member Data Documentation

OmgGdal OmgRasterThreshold::mOmgGdal [private]
 

Definition at line 71 of file omgrasterthreshold.h.

Referenced by accept(), and OmgRasterThreshold().

QPointer<OmgExperiment> OmgRasterThreshold::mpExperiment [private]
 

Definition at line 72 of file omgrasterthreshold.h.

Referenced by accept(), populateTree(), and setExperiment().

SortMode OmgRasterThreshold::mSortMode [private]
 

Definition at line 74 of file omgrasterthreshold.h.

Referenced by OmgRasterThreshold(), on_cboSortBy_currentIndexChanged(), and populateTree().


The documentation for this class was generated from the following files:
Generated on Mon Apr 28 15:13:56 2008 for openModellerDesktop by  doxygen 1.4.1-20050210