te::qt::widgets::ZoomInMapDisplayWidget Class Reference

This class defines the map display ZoomIn, this component is only a specific map that shows the current extent in a larger scale. More...

#include <ZoomInMapDisplayWidget.h>

Inheritance diagram for te::qt::widgets::ZoomInMapDisplayWidget:
QWidget

Public Member Functions

void drawCursorPosition (double x, double y)
 
te::gm::Envelope getCurrentExtent ()
 
void setEnabled (bool status)
 
void setList (std::list< te::map::AbstractLayerPtr > &layerList, int srid)
 This method is used to set the selected layer for mixture model operation. More...
 
 ZoomInMapDisplayWidget (te::qt::widgets::MapDisplay *mapParent, QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~ZoomInMapDisplayWidget ()
 

Protected Slots

void onMapDisplayExtentChanged ()
 
void onParentMapDisplayExtentChanged ()
 
void onZoomFactorChanged ()
 

Protected Member Functions

te::gm::Envelope calculateExtent (te::gm::Envelope &e)
 

Private Attributes

bool m_isEnabled
 
bool m_itsMe
 
te::qt::widgets::MapDisplaym_mapDisplay
 
te::se::Markm_mark
 Represents the mark of a cursor point. More...
 
te::qt::widgets::MapDisplaym_parentMapDisplay
 
te::color::RGBAColor ** m_rgbaMark
 Represents the pattern of cursor point. More...
 
QSlider * m_sliderZoomFactor
 

Detailed Description

This class defines the map display ZoomIn, this component is only a specific map that shows the current extent in a larger scale.

Definition at line 61 of file ZoomInMapDisplayWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::ZoomInMapDisplayWidget::~ZoomInMapDisplayWidget ( )

Definition at line 86 of file ZoomInMapDisplayWidget.cpp.

References te::common::Free(), m_mark, m_rgbaMark, and PATTERN_SIZE.

Member Function Documentation

te::gm::Envelope te::qt::widgets::ZoomInMapDisplayWidget::getCurrentExtent ( )

Definition at line 107 of file ZoomInMapDisplayWidget.cpp.

References te::map::MapDisplay::getExtent(), and m_mapDisplay.

void te::qt::widgets::ZoomInMapDisplayWidget::onParentMapDisplayExtentChanged ( )
protectedslot
void te::qt::widgets::ZoomInMapDisplayWidget::onZoomFactorChanged ( )
protectedslot
void te::qt::widgets::ZoomInMapDisplayWidget::setEnabled ( bool  status)
void te::qt::widgets::ZoomInMapDisplayWidget::setList ( std::list< te::map::AbstractLayerPtr > &  layerList,
int  srid 
)

Member Data Documentation

bool te::qt::widgets::ZoomInMapDisplayWidget::m_isEnabled
private
bool te::qt::widgets::ZoomInMapDisplayWidget::m_itsMe
private
te::se::Mark* te::qt::widgets::ZoomInMapDisplayWidget::m_mark
private

Represents the mark of a cursor point.

Definition at line 107 of file ZoomInMapDisplayWidget.h.

Referenced by ZoomInMapDisplayWidget(), and ~ZoomInMapDisplayWidget().

te::qt::widgets::MapDisplay* te::qt::widgets::ZoomInMapDisplayWidget::m_parentMapDisplay
private
te::color::RGBAColor** te::qt::widgets::ZoomInMapDisplayWidget::m_rgbaMark
private

Represents the pattern of cursor point.

Definition at line 106 of file ZoomInMapDisplayWidget.h.

Referenced by drawCursorPosition(), ZoomInMapDisplayWidget(), and ~ZoomInMapDisplayWidget().

QSlider* te::qt::widgets::ZoomInMapDisplayWidget::m_sliderZoomFactor
private

Definition at line 112 of file ZoomInMapDisplayWidget.h.

Referenced by calculateExtent(), and ZoomInMapDisplayWidget().


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