50#ifndef _HEADER_INCLUDED__SAGA_API__mapping_H
51#define _HEADER_INCLUDED__SAGA_API__mapping_H
78 CMap_Canvas (
int Width,
int Height,
int Background = -1);
79 bool Create (
int Width,
int Height,
int Background = -1);
83 bool Save (
const char *File);
84 bool Save (
const wchar_t *File);
87 bool Draw_Map (
class CMap &Map,
int x = 0,
int y = 0,
int Frame = 0);
88 bool Draw_ScaleBar (
class CMap &Map,
int x = 0,
int y = 0,
int Width = 400,
int Height = 30,
int Style = 0x18);
96 class wxMemoryDC *m_pDC = NULL;
98 class wxBitmap *m_pBitmap = NULL;
115 CMap (
const CSG_Rect &rWorld,
int Width,
int Height,
double Scale = 1.,
int Background = -1,
bool bAlpha =
false);
116 bool Create (
const CSG_Rect &rWorld,
int Width,
int Height,
double Scale = 1.,
int Background = -1,
bool bAlpha =
false);
129 bool Save (
const char *File);
130 bool Save (
const wchar_t *File);
154 const SG_Char *
List_Parameters (
bool bDescription =
true,
bool bConstraints =
true,
bool bValue =
true)
const;
198 bool Classify_StdDev (
double StdDev,
double StdDev_Max = 4. ,
int ColorsID = -1,
const SG_Char *Field = NULL,
const SG_Char *Normalize = NULL);
217 bool _Classify_Initialize (
const SG_Char *Field,
const SG_Char *Normalize);
218 bool _Classify_Finalize (
int ColorsID);
#define SAGA_API_DLL_EXPORT
const SG_Char * List_Parameters(bool bDescription=true, bool bConstraints=true, bool bValue=true) const
virtual CSG_String Get_Name(void) const =0
virtual bool On_Draw(class CSG_Map_DC &dc_Map)=0
virtual CSG_Parameters & Get_Parameters(void) const =0
bool Set_Parameter(const SG_Char *ID, const char *Value)
virtual bool On_Draw(class CSG_Map_DC &dc_Map)
class CSG_Map_BaseMap * m_pLayer
CSG_Projection m_Projection
virtual CSG_String Get_Name(void) const
virtual CSG_Parameters & Get_Parameters(void) const
bool Create(const CSG_Projection &Projection)
bool Draw_Legend(class CMap_Layer &Layer, int x=0, int y=0, double Zoom=1.)
bool Save(const char *File)
bool Draw_Map(class CMap &Map, int x=0, int y=0, int Frame=0)
bool Create(int Width, int Height, int Background=-1)
bool Draw_ScaleBar(class CMap &Map, int x=0, int y=0, int Width=400, int Height=30, int Style=0x18)
class CSG_Map_Graticule * m_pLayer
virtual CSG_Parameters & Get_Parameters(void) const
virtual CSG_String Get_Name(void) const
virtual bool On_Draw(class CSG_Map_DC &dc_Map)
bool Create(const CSG_Projection &Projection)
CSG_Projection m_Projection
virtual CSG_String Get_Name(void) const
bool Draw_Legend(CMap_Canvas &Canvas, int x, int y, double Zoom=1.)
bool Classify_Unique(int maxCount=1024, int ColorsID=-1, const SG_Char *Field=NULL)
bool Classify_Equal(int Count, double Minimum, double Maximum, int ColorsID=-1, const SG_Char *Field=NULL, const SG_Char *Normalize=NULL)
virtual bool On_Draw(class CSG_Map_DC &dc_Map)
bool Classify_Geometric(int Count=10, bool bIncreasing=true, int ColorsID=-1, const SG_Char *Field=NULL, const SG_Char *Normalize=NULL)
bool Classify_Quantile(int Count=10, bool bHistogram=true, int ColorsID=-1, const SG_Char *Field=NULL, const SG_Char *Normalize=NULL)
bool Classify_Defined(double Interval, double Offset, int ColorsID=-1, const SG_Char *Field=NULL, const SG_Char *Normalize=NULL)
bool Classify_Natural(int Count=10, int ColorsID=-1, const SG_Char *Field=NULL, const SG_Char *Normalize=NULL)
bool Classify_StdDev(double StdDev, double StdDev_Max=4., int ColorsID=-1, const SG_Char *Field=NULL, const SG_Char *Normalize=NULL)
virtual CSG_Parameters & Get_Parameters(void) const
bool Create(CSG_Data_Object &Layer)
friend class CMap_Base_Layer
bool Draw(CMap_Canvas &Canvas, int x, int y, int Frame=0)
bool Save(const char *File)
bool Create(const CSG_Rect &rWorld, int Width, int Height, double Scale=1., int Background=-1, bool bAlpha=false)
int Get_Width(void) const
int Get_Height(void) const
const CSG_Rect & Get_Extent(void) const