Version: 0.6.0

#include <mapview.h>

Inheritance diagram for wxGISMapView:
Collaboration diagram for wxGISMapView:

Classes

struct  _flash_geometry
 

Public Types

typedef struct
wxGISMapView::_flash_geometry 
FLASH_GEOMETRY
 

Public Member Functions

 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 bool Create (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, const wxString &name=wxT("GISMapView"))
 
virtual void SetTrackCancel (ITrackCancel *pTrackCancel)
 
virtual wxGISDisplayGetDisplay (void) const
 
virtual bool AddLayer (wxGISLayer *pLayer)
 
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 void ChangeLayerOrder (size_t nOldIndex, size_t nNewIndex)
 
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)
 

Protected Member Functions

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

wxTimer m_timer
 
ITrackCancelm_pTrackCancel
 
IProgressorm_pAni
 
wxDword m_nDrawingState
 
double m_nFactor
 
wxPoint m_StartMouseLocation
 
wxPoint m_FrameCenter
 
double m_dOriginAngle
 
double m_dCurrentAngle
 
wxVector< FLASH_GEOMETRYm_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
 
wxGISDisplaym_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
 

Detailed Description

The MapView class draw layers to wxWindow.

Library:  wxGISCartoUI

The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/cartoui/mapview.h
  • /home/bishop/work/projects/nextgismanager/src/cartoui/mapview.cpp