The view for map showing. More...
#include <gxmapview.h>
Public Member Functions | |
wxGxMapView (wxWindow *parent, wxWindowID id=MAPCTRLID, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
void | OnMouseMove (wxMouseEvent &event) |
void | OnMouseDown (wxMouseEvent &event) |
void | OnMouseUp (wxMouseEvent &event) |
void | OnMouseDoubleClick (wxMouseEvent &event) |
virtual bool | Create (wxWindow *parent, wxWindowID id=MAPCTRLID, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("MapView")) |
virtual bool | Activate (IApplication *const pApplication, wxXmlNode *const pConf) |
virtual void | Deactivate (void) |
virtual bool | Applies (wxGxSelection *const Selection) |
virtual void | OnShow (bool bShow) |
virtual void | OnSelectionChanged (wxGxSelectionEvent &event) |
Public Member Functions inherited from wxGISDrawingMapView | |
wxGISDrawingMapView (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxCLIP_CHILDREN|wxNO_FULL_REPAINT_ON_RESIZE) | |
virtual void | ChangeLayerOrder (size_t nOldIndex, size_t nNewIndex) |
virtual bool | AddLayer (wxGISLayer *pLayer) |
virtual short | GetCurrentDrawingLayer (void) const |
virtual void | SetCurrentDrawingLayer (short nCurrentDrawingLayer) |
virtual bool | AddShape (const wxGISGeometry &Geom, wxGISEnumShapeType eType) |
Public Member Functions inherited from wxGISMapView | |
wxGISMapView (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxCLIP_CHILDREN|wxNO_FULL_REPAINT_ON_RESIZE) | |
virtual void | SetTrackCancel (ITrackCancel *pTrackCancel) |
virtual wxGISDisplay * | GetDisplay (void) const |
virtual void | Clear (void) |
virtual void | SetSpatialReference (const wxGISSpatialReference &SpatialReference) |
virtual void | SetExtent (const OGREnvelope &Env) |
virtual void | SetFullExtent (void) |
virtual OGREnvelope | GetFullExtent (void) |
virtual double | GetScaleRatio (OGREnvelope &Bounds, wxDC &dc) |
virtual void | PanStart (wxPoint MouseLocation) |
virtual void | PanMoveTo (wxPoint MouseLocation) |
virtual void | PanStop (wxPoint MouseLocation) |
virtual void | RotateStart (wxPoint MouseLocation) |
virtual bool | CanRotate (void) |
virtual void | RotateBy (wxPoint MouseLocation) |
virtual void | RotateStop (wxPoint MouseLocation) |
virtual void | SetRotate (double dAngleRad) |
virtual double | GetCurrentRotate (void) |
virtual void | AddFlashGeometry (const wxGISGeometry &Geometry, wxGISSymbol *const pSymbol, unsigned char nPhase=1) |
virtual void | StartFlashing (wxGISEnumFlashStyle eFlashStyle=enumGISMapFlashNewColor) |
Public Member Functions inherited from wxGISExtentStack | |
virtual bool | CanRedo (void) |
virtual bool | CanUndo (void) |
virtual void | Redo (void) |
virtual void | Undo (void) |
virtual size_t | GetSize (void) const |
virtual void | Do (const OGREnvelope &Env) |
virtual OGREnvelope | GetCurrentExtent (void) const |
Public Member Functions inherited from wxGISMap | |
virtual void | SetName (const wxString &sName) |
virtual wxString | GetName (void) const |
virtual size_t | GetLayerCount (void) const |
virtual wxGISLayer *const | GetLayerByIndex (size_t nIndex) |
virtual wxGISLayer *const | GetLayerById (short nId) |
virtual wxString | GetDescription (void) const |
virtual void | SetDescription (const wxString &sDescription) |
virtual OGREnvelope | GetFullExtent (void) const |
virtual wxGISSpatialReference | GetSpatialReference (void) const |
virtual bool | HasLayerType (wxGISEnumDatasetType eType) const |
Public Member Functions inherited from wxGISConnectionPointContainer | |
virtual long | Advise (wxEvtHandler *pEvtHandler) |
virtual void | Unadvise (long nCookie) |
Public Member Functions inherited from wxGxView | |
virtual wxString | GetViewName (void) const |
virtual wxIcon | GetViewIcon (void) |
virtual void | SetViewIcon (wxIcon Icon) |
virtual void | Refresh (void) |
virtual void | BeginRename (long nObjectID=wxNOT_FOUND) |
Protected Member Functions | |
virtual void | LoadData (long nGxObjectId) |
virtual void | LoadLayer (wxGxDataset *const pGxDataset) |
virtual void | LoadLayers (wxGxDatasetContainer *const pGxDataset) |
virtual wxGISLayer * | GetLayerFromDataset (wxGxDataset *const pGxDataset) |
Protected Member Functions inherited from wxGISMapView | |
virtual void | OnPaint (wxPaintEvent &event) |
virtual void | OnEraseBackground (wxEraseEvent &event) |
virtual void | OnSize (wxSizeEvent &event) |
virtual void | OnTimer (wxTimerEvent &event) |
virtual void | OnKeyDown (wxKeyEvent &event) |
virtual void | OnCaptureLost (wxMouseCaptureLostEvent &event) |
virtual void | OnMouseWheel (wxMouseEvent &event) |
virtual void | OnDraw (wxGISEnumDrawPhase nPhase) |
virtual void | OnMapDrawing (wxMxMapViewUIEvent &event) |
virtual void | OnLayerChanged (wxMxMapViewEvent &event) |
virtual void | OnLayerLoading (wxMxMapViewEvent &event) |
virtual void | DrawToolTip (wxClientDC &dc, const wxString &sText) |
virtual OGREnvelope | CreateEnvelopeFromZoomFactor (double dZoom) |
virtual void | UpdateFrameCenter (void) |
virtual void | Flash (wxGISEnumFlashStyle eFlashStyle=enumGISMapFlashNewColor) |
virtual void | DrawGeometry (const wxGISGeometry &Geometry, wxGISSymbol *const pSymbol) |
void | Refresh (void) |
virtual bool | IsDrawing () const |
virtual wxThread::ExitCode | Entry () |
virtual bool | CreateAndRunDrawThread (void) |
virtual void | DestroyDrawThread (void) |
Protected Member Functions inherited from wxGISConnectionPointContainer | |
virtual void | AddEvent (const wxEvent &event) |
virtual void | PostEvent (wxEvent *event) |
Protected Attributes | |
long | m_ConnectionPointCatalogCookie |
long | m_ConnectionPointSelectionCookie |
wxGxSelection * | m_pSelection |
wxGxCatalogUI * | m_pCatalog |
long | m_nParentGxObjectID |
wxGISStatusBar * | m_pStatusBar |
wxGxApplication * | m_pApp |
long | m_nPanCmdId |
wxGISCoordinatesFormat | m_CFormat |
Protected Attributes inherited from wxGISDrawingMapView | |
short | m_nCurrentDrawingLayer |
Protected Attributes inherited from wxGISMapView | |
wxTimer | m_timer |
ITrackCancel * | m_pTrackCancel |
IProgressor * | m_pAni |
wxDword | m_nDrawingState |
double | m_nFactor |
wxPoint | m_StartMouseLocation |
wxPoint | m_FrameCenter |
double | m_dOriginAngle |
double | m_dCurrentAngle |
wxVector< FLASH_GEOMETRY > | m_staFlashGeoms |
wxGISEnumFlashStyle | m_eFlashStyle |
wxCriticalSection | m_CritSect |
wxCriticalSection | m_KeysCritSect |
wxCriticalSection | m_FlashCritSect |
wxSize | m_PrevSize |
wxDateTime | m_dtNow |
Protected Attributes inherited from wxGISExtentStack | |
wxVector< OGREnvelope > | m_staEnvelope |
int | m_nPos |
OGREnvelope | m_CurrentExtent |
Protected Attributes inherited from wxGISMap | |
wxString | m_sMapName |
wxString | m_sDescription |
wxVector< wxGISLayer * > | m_paLayers |
wxGISSpatialReference | m_SpatialReference |
wxGISDisplay * | m_pGISDisplay |
OGREnvelope | m_FullExtent |
bool | m_bFullExtIsInit |
short | m_nIdCounter |
wxCriticalSection | m_CritSect |
Protected Attributes inherited from wxGISConnectionPointContainer | |
wxVector< wxEvtHandler * > | m_pPointsArray |
wxCriticalSection | m_CritSectEvt |
Protected Attributes inherited from wxGxView | |
wxString | m_sViewName |
wxXmlNode * | m_pXmlConf |
wxIcon | m_Icon |
Additional Inherited Members | |
Public Types inherited from wxGISMapView | |
typedef struct wxGISMapView::_flash_geometry | FLASH_GEOMETRY |
The view for map showing.