te::qt::widgets::RasterSlicingWizard Class Reference

#include <RasterSlicingWizard.h>

Inheritance diagram for te::qt::widgets::RasterSlicingWizard:

Signals

void addLayer (te::map::AbstractLayerPtr layer)
 

Public Member Functions

te::map::AbstractLayerPtr getOutputLayer ()
 This function returns the layer that has been created by the wizard with the sliced raster. More...
 
void onMapDisplayExtentChanged ()
 This function refreshes the map display when the layer extent was changed. More...
 
 RasterSlicingWizard (QWidget *parent=0)
 Constructor. More...
 
void setActionGroup (QActionGroup *actionGroup)
 This function sets the QActionGroup. More...
 
void setExtent (const te::gm::Envelope &extent)
 This function sets the envelope that will be used to trim tha raster if the user requests it. More...
 
void setList (std::list< te::map::AbstractLayerPtr > &layerList)
 This function sets the list of layers from which the raster that will be sliced will come from. More...
 
void setMapDisplay (te::qt::widgets::MapDisplay *mapDisplay)
 This function sets the map display. More...
 
void setSRID (int srid=0)
 This function sets the srid of the display when the wizard was initiated. More...
 
bool validateCurrentPage ()
 Overridden function that checks if the current page's configuration is done in order to proceed to the next page. More...
 
 ~RasterSlicingWizard ()
 Destructor. More...
 

Protected Slots

void onPageChanged (int index)
 

Protected Member Functions

void addPages ()
 
bool execute ()
 

Private Member Functions

RasterSlicingWizardoperator= (const RasterSlicingWizard &rhs)
 
 RasterSlicingWizard (const RasterSlicingWizard &rhs)
 

Private Attributes

std::unique_ptr< te::qt::widgets::LayerSearchWizardPagem_layerSearchPage
 The wizard page used to select an input layer. More...
 
te::map::AbstractLayerPtr m_outputLayer
 
std::unique_ptr< te::qt::widgets::RasterInfoWizardPagem_rasterInfoPage
 The wizard page used to define the output layer parameters. More...
 
std::unique_ptr< te::qt::widgets::RasterSlicingWizardPagem_wizardPage
 The wizard page used to define the slicing parameters. More...
 

Detailed Description

Definition at line 48 of file RasterSlicingWizard.h.

Constructor & Destructor Documentation

te::qt::widgets::RasterSlicingWizard::RasterSlicingWizard ( QWidget *  parent = 0)

Constructor.

te::qt::widgets::RasterSlicingWizard::~RasterSlicingWizard ( )

Destructor.

te::qt::widgets::RasterSlicingWizard::RasterSlicingWizard ( const RasterSlicingWizard rhs)
private

Member Function Documentation

void te::qt::widgets::RasterSlicingWizard::addLayer ( te::map::AbstractLayerPtr  layer)
signal
void te::qt::widgets::RasterSlicingWizard::addPages ( )
protected
bool te::qt::widgets::RasterSlicingWizard::execute ( )
protected
te::map::AbstractLayerPtr te::qt::widgets::RasterSlicingWizard::getOutputLayer ( )

This function returns the layer that has been created by the wizard with the sliced raster.

A new AbstractLayerPtr containing the sliced raster.

void te::qt::widgets::RasterSlicingWizard::onMapDisplayExtentChanged ( )

This function refreshes the map display when the layer extent was changed.

void te::qt::widgets::RasterSlicingWizard::onPageChanged ( int  index)
protectedslot
RasterSlicingWizard& te::qt::widgets::RasterSlicingWizard::operator= ( const RasterSlicingWizard rhs)
private
void te::qt::widgets::RasterSlicingWizard::setActionGroup ( QActionGroup *  actionGroup)

This function sets the QActionGroup.

Parameters
QActionGroup.
void te::qt::widgets::RasterSlicingWizard::setExtent ( const te::gm::Envelope extent)

This function sets the envelope that will be used to trim tha raster if the user requests it.

Parameters
extentA reference to the envelope that can be used to trim tha raster.
void te::qt::widgets::RasterSlicingWizard::setList ( std::list< te::map::AbstractLayerPtr > &  layerList)

This function sets the list of layers from which the raster that will be sliced will come from.

Parameters
layerListThe list of AbstractLayerPtrs that will be used to get a raster from.
void te::qt::widgets::RasterSlicingWizard::setMapDisplay ( te::qt::widgets::MapDisplay mapDisplay)

This function sets the map display.

Parameters
Mapdisplay.
void te::qt::widgets::RasterSlicingWizard::setSRID ( int  srid = 0)

This function sets the srid of the display when the wizard was initiated.

Parameters
sridThe current srid of the display.
bool te::qt::widgets::RasterSlicingWizard::validateCurrentPage ( )

Overridden function that checks if the current page's configuration is done in order to proceed to the next page.

Returns
A boolean that indicates if the current page's configuration is finished.

Member Data Documentation

std::unique_ptr<te::qt::widgets::LayerSearchWizardPage> te::qt::widgets::RasterSlicingWizard::m_layerSearchPage
private

The wizard page used to select an input layer.

Definition at line 136 of file RasterSlicingWizard.h.

te::map::AbstractLayerPtr te::qt::widgets::RasterSlicingWizard::m_outputLayer
private

Definition at line 139 of file RasterSlicingWizard.h.

std::unique_ptr<te::qt::widgets::RasterInfoWizardPage> te::qt::widgets::RasterSlicingWizard::m_rasterInfoPage
private

The wizard page used to define the output layer parameters.

Definition at line 137 of file RasterSlicingWizard.h.

std::unique_ptr<te::qt::widgets::RasterSlicingWizardPage> te::qt::widgets::RasterSlicingWizard::m_wizardPage
private

The wizard page used to define the slicing parameters.

Definition at line 135 of file RasterSlicingWizard.h.


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