This class is GUI used to define the clipping parameters for the RP constast operation. More...
#include <ClippingWizardPage.h>
Public Slots | |
void | onEnvelopeAcquired (te::gm::Envelope env) |
void | onLayerComboBoxActivated (int index) |
void | onStrategyTypeComboBoxActivated (int index) |
Public Member Functions | |
ClippingWizardPage (QWidget *parent=0) | |
te::map::AbstractLayerPtr | get () |
void | getDimensionClipping (int &x, int &y, int &width, int &height) |
void | getExtentClipping (te::gm::Envelope &env) |
bool | isComplete () const |
bool | isDimensionClipping () |
bool | isExtentClipping () |
bool | isLayerClipping () |
void | set (te::map::AbstractLayerPtr layer) |
This method is used to set the selected layer for clipping operation. More... | |
void | setList (std::list< te::map::AbstractLayerPtr > &layerList) |
~ClippingWizardPage () | |
Protected Member Functions | |
void | fillClippingTypes () |
Private Types | |
enum | CLIPPING_TYPE { CLIPPING_EXTENT, CLIPPING_DIMENSION, CLIPPING_LAYER } |
Private Attributes | |
te::map::AbstractLayerPtr | m_layer |
std::auto_ptr < te::qt::widgets::RasterNavigatorWidget > | m_navigator |
std::auto_ptr < Ui::ClippingWizardPageForm > | m_ui |
This class is GUI used to define the clipping parameters for the RP constast operation.
Definition at line 56 of file ClippingWizardPage.h.
|
private |
Enumerator | |
---|---|
CLIPPING_EXTENT | |
CLIPPING_DIMENSION | |
CLIPPING_LAYER |
Definition at line 60 of file ClippingWizardPage.h.
te::qt::widgets::ClippingWizardPage::ClippingWizardPage | ( | QWidget * | parent = 0 | ) |
Definition at line 48 of file ClippingWizardPage.cpp.
References fillClippingTypes(), m_navigator, m_ui, onEnvelopeAcquired(), onLayerComboBoxActivated(), and onStrategyTypeComboBoxActivated().
te::qt::widgets::ClippingWizardPage::~ClippingWizardPage | ( | ) |
Definition at line 100 of file ClippingWizardPage.cpp.
|
protected |
Definition at line 278 of file ClippingWizardPage.cpp.
Referenced by ClippingWizardPage().
te::map::AbstractLayerPtr te::qt::widgets::ClippingWizardPage::get | ( | ) |
Definition at line 170 of file ClippingWizardPage.cpp.
void te::qt::widgets::ClippingWizardPage::getDimensionClipping | ( | int & | x, |
int & | y, | ||
int & | width, | ||
int & | height | ||
) |
Definition at line 207 of file ClippingWizardPage.cpp.
void te::qt::widgets::ClippingWizardPage::getExtentClipping | ( | te::gm::Envelope & | env | ) |
Definition at line 199 of file ClippingWizardPage.cpp.
References te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, and te::gm::Envelope::m_ury.
bool te::qt::widgets::ClippingWizardPage::isComplete | ( | ) | const |
Definition at line 104 of file ClippingWizardPage.cpp.
bool te::qt::widgets::ClippingWizardPage::isDimensionClipping | ( | ) |
Definition at line 183 of file ClippingWizardPage.cpp.
bool te::qt::widgets::ClippingWizardPage::isExtentClipping | ( | ) |
Definition at line 175 of file ClippingWizardPage.cpp.
bool te::qt::widgets::ClippingWizardPage::isLayerClipping | ( | ) |
Definition at line 191 of file ClippingWizardPage.cpp.
|
slot |
Definition at line 235 of file ClippingWizardPage.cpp.
References te::da::GetFirstPropertyPos(), te::gm::Envelope::getLowerLeftX(), te::gm::Envelope::getLowerLeftY(), te::gm::Envelope::getUpperRightX(), te::gm::Envelope::getUpperRightY(), te::gm::Envelope::isValid(), te::dt::RASTER_TYPE, te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by ClippingWizardPage().
|
slot |
Definition at line 220 of file ClippingWizardPage.cpp.
Referenced by ClippingWizardPage().
|
slot |
Definition at line 215 of file ClippingWizardPage.cpp.
Referenced by ClippingWizardPage().
void te::qt::widgets::ClippingWizardPage::set | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set the selected layer for clipping operation.
layer | The layer ptr |
Definition at line 139 of file ClippingWizardPage.cpp.
void te::qt::widgets::ClippingWizardPage::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
Definition at line 150 of file ClippingWizardPage.cpp.
|
private |
Definition at line 117 of file ClippingWizardPage.h.
|
private |
Definition at line 116 of file ClippingWizardPage.h.
Referenced by ClippingWizardPage().
|
private |
Definition at line 115 of file ClippingWizardPage.h.
Referenced by ClippingWizardPage().