23 #include "wxgis/carto/renderer.h"
24 #include "wxgis/core/pointer.h"
44 virtual OGREnvelope GetEnvelope(
void)
const;
45 virtual void SetMaximumScale(
double dMaxScale){m_dMaxScale = dMaxScale;};
46 virtual double GetMaximumScale(
void)
const {
return m_dMaxScale;};
47 virtual void SetMinimumScale(
double dMinScale){m_dMinScale = dMinScale;};
48 virtual double GetMinimumScale(
void)
const {
return m_dMinScale;};
49 virtual bool GetVisible(
void)
const {
return m_bVisible;};
50 virtual void SetVisible(
bool bVisible){m_bVisible = bVisible;};
51 virtual void SetName(
const wxString &sName){m_sName = sName;};
52 virtual wxString GetName(
void)
const {
return m_sName;};
53 virtual bool IsCacheNeeded(
void)
const;
54 virtual wxGISEnumDatasetType GetType(
void)
const {
return enumGISAny;};
55 virtual bool IsValid(
void)
const;
56 virtual bool Draw(wxGISEnumDrawPhase DrawPhase,
ITrackCancel*
const pTrackCancel = NULL) = 0;
59 virtual size_t GetCacheId(
void)
const {
return m_nCacheId;};
60 virtual void SetCacheId(
size_t nCacheId) {m_nCacheId = nCacheId;};
62 virtual void SetDisplay(
wxGISDisplay *pDisplay) { m_pDisplay = pDisplay; };
63 virtual wxGISDataset* GetDataset() {wsGET(m_pwxGISDataset);};
64 virtual bool IsLoading()
const;
65 virtual short GetId()
const;
66 virtual void SetId(
short nNewId);
71 OGREnvelope m_FullEnvelope;
72 double m_dMaxScale, m_dMinScale;
Definition: gisdisplay.h:43
A TrackCancel interface class.
Definition: core.h:144
The base class for renderers.
Definition: renderer.h:31