This class is GUI used to define the clipping parameters for the RP constast operation. More...
#include <ClippingWizardPage.h>
Public Slots | |
void | drawGeom () |
void | onEnvelopeAcquired (te::gm::Envelope env) |
void | onLayerComboBoxActivated (int index) |
void | onLayerComboBoxChanged (int index) |
void | onStrategyTypeComboBoxActivated (int index) |
void | onStrategyTypeComboBoxChanged (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) |
void | getLayerClipping (std::auto_ptr< te::gm::GeometryCollection > &geomColl) |
bool | isComplete () const |
bool | isDimensionClipping () |
bool | isExtentClipping () |
bool | isLayerClipping () |
bool | isSingleRasterResult () |
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::gm::Envelope | m_envDim |
te::gm::Envelope | m_envExt |
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 57 of file ClippingWizardPage.cpp.
References drawGeom(), fillClippingTypes(), m_navigator, m_ui, onEnvelopeAcquired(), onLayerComboBoxActivated(), onLayerComboBoxChanged(), onStrategyTypeComboBoxActivated(), and onStrategyTypeComboBoxChanged().
te::qt::widgets::ClippingWizardPage::~ClippingWizardPage | ( | ) |
Definition at line 112 of file ClippingWizardPage.cpp.
|
slot |
Definition at line 461 of file ClippingWizardPage.cpp.
References te::qt::widgets::MapDisplay::getDraftPixmap(), te::map::MapDisplay::getExtent(), te::gm::GetGeomFromEnvelope(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, te::qt::widgets::Canvas::setWindow(), and TE_OPAQUE.
Referenced by ClippingWizardPage().
|
protected |
Definition at line 452 of file ClippingWizardPage.cpp.
Referenced by ClippingWizardPage().
te::map::AbstractLayerPtr te::qt::widgets::ClippingWizardPage::get | ( | ) |
Definition at line 185 of file ClippingWizardPage.cpp.
void te::qt::widgets::ClippingWizardPage::getDimensionClipping | ( | int & | x, |
int & | y, | ||
int & | width, | ||
int & | height | ||
) |
Definition at line 234 of file ClippingWizardPage.cpp.
void te::qt::widgets::ClippingWizardPage::getExtentClipping | ( | te::gm::Envelope & | env | ) |
Definition at line 226 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.
void te::qt::widgets::ClippingWizardPage::getLayerClipping | ( | std::auto_ptr< te::gm::GeometryCollection > & | geomColl | ) |
Definition at line 242 of file ClippingWizardPage.cpp.
References te::gm::GeometryCollection::add(), te::gm::GeometryCollectionType, te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::dt::Property::getName(), te::gm::GeometryProperty::getSRID(), and te::gm::Geometry::Union().
bool te::qt::widgets::ClippingWizardPage::isComplete | ( | ) | const |
Definition at line 116 of file ClippingWizardPage.cpp.
bool te::qt::widgets::ClippingWizardPage::isDimensionClipping | ( | ) |
Definition at line 198 of file ClippingWizardPage.cpp.
bool te::qt::widgets::ClippingWizardPage::isExtentClipping | ( | ) |
Definition at line 190 of file ClippingWizardPage.cpp.
bool te::qt::widgets::ClippingWizardPage::isLayerClipping | ( | ) |
Definition at line 206 of file ClippingWizardPage.cpp.
bool te::qt::widgets::ClippingWizardPage::isSingleRasterResult | ( | ) |
Definition at line 214 of file ClippingWizardPage.cpp.
|
slot |
Definition at line 405 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 378 of file ClippingWizardPage.cpp.
Referenced by ClippingWizardPage().
|
slot |
Definition at line 393 of file ClippingWizardPage.cpp.
Referenced by ClippingWizardPage().
|
slot |
Definition at line 342 of file ClippingWizardPage.cpp.
Referenced by ClippingWizardPage().
|
slot |
Definition at line 347 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 154 of file ClippingWizardPage.cpp.
void te::qt::widgets::ClippingWizardPage::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
Definition at line 165 of file ClippingWizardPage.cpp.
|
private |
Definition at line 130 of file ClippingWizardPage.h.
|
private |
Definition at line 129 of file ClippingWizardPage.h.
|
private |
Definition at line 127 of file ClippingWizardPage.h.
|
private |
Definition at line 125 of file ClippingWizardPage.h.
Referenced by ClippingWizardPage().
|
private |
Definition at line 124 of file ClippingWizardPage.h.
Referenced by ClippingWizardPage().