All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::ContrastWizardPage Class Reference

This class is GUI used to define the contrast parameters for the RP constast operation. More...

#include <ContrastWizardPage.h>

Inheritance diagram for te::qt::widgets::ContrastWizardPage:

Public Member Functions

 ContrastWizardPage (QWidget *parent=0)
 
te::map::AbstractLayerPtr get ()
 
te::rp::Contrast::InputParameters getInputParams ()
 
te::rp::Contrast::OutputParameters getOutputParams ()
 
bool isComplete () const
 
void set (te::map::AbstractLayerPtr layer)
 This method is used to set the selected layer for contrast operation. More...
 
 ~ContrastWizardPage ()
 

Protected Slots

void apply ()
 
void drawHistogram ()
 
void onCellClicked (int row, int column)
 
void onContrastTypeComboBoxActivated (int index)
 
void onMaxValueSelected (int value, int band)
 
void onMinValueSelected (int value, int band)
 
void onPreviewChanged ()
 

Protected Member Functions

void fillContrastTypes ()
 
void listBands ()
 

Private Attributes

std::auto_ptr
< te::qt::widgets::RasterHistogramWidget
m_histogramWidget
 
te::map::AbstractLayerPtr m_layer
 
std::auto_ptr
< te::qt::widgets::RasterNavigatorWidget
m_navigator
 
std::auto_ptr
< Ui::ContrastWizardPageForm > 
m_ui
 

Detailed Description

This class is GUI used to define the contrast parameters for the RP constast operation.

Definition at line 57 of file ContrastWizardPage.h.

Constructor & Destructor Documentation

te::qt::widgets::ContrastWizardPage::ContrastWizardPage ( QWidget *  parent = 0)
te::qt::widgets::ContrastWizardPage::~ContrastWizardPage ( )

Definition at line 86 of file ContrastWizardPage.cpp.

Member Function Documentation

te::map::AbstractLayerPtr te::qt::widgets::ContrastWizardPage::get ( )

Definition at line 120 of file ContrastWizardPage.cpp.

te::rp::Contrast::OutputParameters te::qt::widgets::ContrastWizardPage::getOutputParams ( )
bool te::qt::widgets::ContrastWizardPage::isComplete ( ) const

Definition at line 90 of file ContrastWizardPage.cpp.

void te::qt::widgets::ContrastWizardPage::listBands ( )
protected

Definition at line 319 of file ContrastWizardPage.cpp.

References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.

void te::qt::widgets::ContrastWizardPage::onCellClicked ( int  row,
int  column 
)
protectedslot

Definition at line 502 of file ContrastWizardPage.cpp.

Referenced by ContrastWizardPage().

void te::qt::widgets::ContrastWizardPage::onPreviewChanged ( )
protectedslot

Definition at line 582 of file ContrastWizardPage.cpp.

Referenced by ContrastWizardPage().

void te::qt::widgets::ContrastWizardPage::set ( te::map::AbstractLayerPtr  layer)

This method is used to set the selected layer for contrast operation.

Parameters
layerThe layer ptr
Note
This layer MUST HAVE a valid raster object.

Definition at line 107 of file ContrastWizardPage.cpp.

Member Data Documentation

std::auto_ptr<te::qt::widgets::RasterHistogramWidget> te::qt::widgets::ContrastWizardPage::m_histogramWidget
private

Definition at line 113 of file ContrastWizardPage.h.

Referenced by ContrastWizardPage().

te::map::AbstractLayerPtr te::qt::widgets::ContrastWizardPage::m_layer
private

Definition at line 115 of file ContrastWizardPage.h.

std::auto_ptr<te::qt::widgets::RasterNavigatorWidget> te::qt::widgets::ContrastWizardPage::m_navigator
private

Definition at line 112 of file ContrastWizardPage.h.

Referenced by ContrastWizardPage().

std::auto_ptr<Ui::ContrastWizardPageForm> te::qt::widgets::ContrastWizardPage::m_ui
private

Definition at line 111 of file ContrastWizardPage.h.

Referenced by ContrastWizardPage().


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