|
SAGA API Version 9.14
|
#include <map_layer.h>
Public Member Functions | |
| CSG_Map_Grid (CSG_Grid *pGrid=NULL) | |
| virtual bool | Add_Parameters (CSG_Parameters &Parameters) |
| virtual bool | Parameter_Changed (CSG_Parameters &Parameters, CSG_Parameter &Parameter, int Flags) |
| virtual bool | Parameters_Changed (void) |
| virtual bool | DataObject_Changed (void) |
| virtual bool | Update (CSG_Data_Object *pChanged) |
| virtual bool | Set_Stretch_Extent (const CSG_Rect &Extent) |
| virtual bool | asImage (CSG_Grid *pImage) |
| virtual bool | Get_Image (wxImage &Image, bool bFitSize=true, int Width=0, int Height=0) |
| virtual bool | Get_Bitmap (wxBitmap &Bitmap, bool bFitSize=true, int Width=0, int Height=0) |
| virtual bool | Get_Bitmap_Legend (wxBitmap &Bitmap, double Zoom) |
| CSG_Grid * | Get_Composite_Band (int Band) |
| Public Member Functions inherited from CSG_Map_Layer | |
| CSG_Map_Layer (void) | |
| virtual | ~CSG_Map_Layer (void) |
| const TSG_Data_Object_Type & | Get_ObjectType (void) const |
| bool | Set_Object (CSG_Data_Object *pObject) |
| CSG_Data_Object * | Get_Object (void) const |
| CSG_Rect | Get_Extent (void) const |
| CSG_Parameters & | Get_Parameters (void) |
| bool | Set_Parameters (const CSG_Parameters &Parameters) |
| bool | Sync_Back (CSG_Parameters &Target) const |
| bool | Sync_Forward (const CSG_Parameters &Source) |
| bool | Draw (CSG_Map_DC &dc_Map, int Flags=0, CSG_Data_Object *pObject=NULL) |
| CSG_Table & | Get_LUT (void) |
| CSG_Colors & | Get_Colors (void) |
| const CSG_Colors & | Get_Colors (void) const |
| bool | Get_Colors (CSG_Colors &Colors) const |
| bool | Set_Colors (const CSG_Colors &Colors) |
| wxString | Get_Legend_Title (void) const |
| wxString | Get_Legend_Subtitle (void) const |
| bool | Get_Field_Value (sLong Index, int Field, int Normalize, double Scale, wxString &Value) const |
| bool | Get_Field_Value (sLong Index, int Field, int Normalize, double Scale, double &Value) const |
| double | Get_Stretch_Minimum (void) const |
| double | Get_Stretch_Maximum (void) const |
| double | Get_Stretch_Range (void) const |
| bool | Set_Stretch_Range (double Minimum, double Maximum) |
| bool | Set_Stretch_FullRange (void) |
| bool | Classify (const CSG_MetaData &Options) |
| class CSG_Map_Symbology * | Get_Symbology (void) |
| class CSG_Map_Legend * | Get_Legend (void) |
| const class wxBitmap * | Get_Thumbnail (int dx, int dy) |
| bool | Set_Thumbnail (void) |
Protected Member Functions | |
| virtual void | On_Draw (CSG_Map_DC &dc_Map, int Flags) |
| Protected Member Functions inherited from CSG_Map_Layer | |
| CSG_Map_Layer (TSG_Data_Object_Type Type) | |
| bool | Set_Stretch (CSG_Parameters &Parameters, CSG_Data_Object *pObject=NULL, const CSG_String &Suffix="") |
| bool | Set_Normalization (int Field_Value, int Field_Normalize, double Scale_Normalize, sLong maxSamples=0) |
| bool | Set_Fields_Choice (CSG_Parameter &Choice, bool bNumeric, bool bAddNone, bool bSelectNone=false) |
Additional Inherited Members | |
| Static Public Member Functions inherited from CSG_Map_Layer | |
| static CSG_Parameters & | Get_Defaults (void) |
| Static Protected Member Functions inherited from CSG_Map_Layer | |
| static int | Get_Fields_Choice (CSG_Parameter &Choice) |
| Protected Attributes inherited from CSG_Map_Layer | |
| TSG_Data_Object_Type | m_Type = SG_DATAOBJECT_TYPE_Undefined |
| CSG_Parameters | m_Parameters |
| CSG_Data_Object * | m_pObject = NULL |
| class CSG_Map_Symbology * | m_pSymbology = NULL |
| class CSG_Map_Legend * | m_pLegend = NULL |
| class wxBitmap * | m_pThumbnail = NULL |
| CSG_Table | m_Normalization |
Definition at line 275 of file map_layer.h.
| CSG_Map_Grid::CSG_Map_Grid | ( | CSG_Grid * | pGrid = NULL | ) |
Definition at line 67 of file map_grid.cpp.
References Add_Parameters(), CSG_Map_Layer::CSG_Map_Layer(), CSG_Map_Layer::m_Parameters, CSG_Map_Layer::Set_Object(), and SG_DATAOBJECT_TYPE_Grid.
|
virtual |
Reimplemented from CSG_Map_Layer.
Definition at line 81 of file map_grid.cpp.
References _TL, CSG_Parameters::Add_Bool(), CSG_Parameters::Add_Choice(), CSG_Parameters::Add_Color(), CSG_Parameters::Add_Double(), CSG_Parameters::Add_Font(), CSG_Parameters::Add_Grid(), CSG_Parameters::Add_Grid_Resampling(), CSG_Parameters::Add_Int(), CSG_Parameters::Add_Node(), CSG_Map_Layer::Add_Parameters(), CSG_String::Format(), Interpolations, CSG_Map_Layer::m_pObject, NearestNeighbour, PARAMETER_INPUT_OPTIONAL, CSG_Parameter::Set_Collapsed(), and SG_GET_RGB.
Referenced by CSG_Map_Grid().
|
virtual |
Reimplemented from CSG_Map_Layer.
Definition at line 783 of file map_grid.cpp.
References CSG_Grid::Create(), Get_Image(), CSG_Grid::Get_NX(), CSG_Grid::Get_NY(), CSG_Map_Layer::m_pObject, CSG_Grid::Set_NoData(), CSG_Grid::Set_Value(), SG_DATATYPE_Int, and SG_GET_RGB.
|
virtual |
Reimplemented from CSG_Map_Layer.
Definition at line 236 of file map_grid.cpp.
References CSG_Map_Layer::DataObject_Changed().
|
virtual |
Definition at line 838 of file map_grid.cpp.
References CSG_Map_DC::Get_Bitmap(), CSG_Map_Layer::Get_Extent(), CSG_Map_Layer::m_pObject, On_Draw(), and SG_UI_Process_Set_Busy().
|
virtual |
Definition at line 865 of file map_grid.cpp.
References CSG_Map_Legend::Draw(), and CSG_Map_Layer::Get_Legend().
| CSG_Grid * CSG_Map_Grid::Get_Composite_Band | ( | int | Band | ) |
Definition at line 403 of file map_grid.cpp.
References CSG_Map_Layer::m_Parameters, and CSG_Map_Layer::m_pObject.
Referenced by CSG_Map_Legend::_Draw_CompositeBand().
|
virtual |
Definition at line 811 of file map_grid.cpp.
References CSG_Map_Layer::Get_Extent(), CSG_Map_DC::Get_Image(), CSG_Map_Layer::m_pObject, On_Draw(), and SG_UI_Process_Set_Busy().
Referenced by asImage().
|
protectedvirtual |
Reimplemented from CSG_Map_Layer.
Definition at line 489 of file map_grid.cpp.
References CSG_Map_DC::Alpha, asDouble, CSG_Map_Symbology::CLASSIFIED, CSG_Map_Symbology::COMPOSITE, CSG_Parameters::Create(), CSG_String::Create(), CSG_Map_DC::DC2World(), CSG_Map_DC::Draw_Image_Begin(), CSG_Map_DC::Draw_Image_End(), CSG_Map_Layer::Get_Extent(), INTERSECTION_None, LAYER_DRAW_FLAG_NOEDITS, LAYER_DRAW_FLAG_NOLABELS, CSG_Map_Layer::m_Parameters, CSG_Map_Layer::m_pObject, CSG_Map_Layer::m_pSymbology, NearestNeighbour, CSG_Map_Symbology::RGB, CSG_Map_DC::rWorld(), CSG_Map_DC::Shade, and CSG_Map_DC::Transparent.
Referenced by Get_Bitmap(), and Get_Image().
|
virtual |
Reimplemented from CSG_Map_Layer.
Definition at line 159 of file map_grid.cpp.
References CSG_Parameter::asBool(), CSG_Parameter::asGrid(), CSG_Parameter::asInt(), CSG_Map_Symbology::CLASSIFIED, CSG_Parameter::Cmp_Identifier(), CSG_Map_Symbology::COMPOSITE, CSG_Grid::Get_Max(), CSG_Grid::Get_Min(), CSG_Map_Layer::Parameter_Changed(), PARAMETER_CHECK_ENABLE, PARAMETER_CHECK_VALUES, CSG_Map_Symbology::RGB, CSG_Parameter::Set_Children_Enabled(), CSG_Parameters::Set_Enabled(), and CSG_Parameters::Set_Parameter().
|
virtual |
Reimplemented from CSG_Map_Layer.
Definition at line 250 of file map_grid.cpp.
References CSG_Map_Layer::Parameters_Changed().
|
virtual |
Reimplemented from CSG_Map_Layer.
Definition at line 267 of file map_grid.cpp.
References CSG_Map_Symbology::COMPOSITE, CSG_Map_Symbology::DISCRETE, Extent, CSG_Map_Symbology::GRADUATED, CSG_Map_Layer::m_Parameters, CSG_Map_Layer::m_pObject, Maximum, Minimum, and CSG_Map_Layer::Set_Stretch_Range().
|
virtual |
Definition at line 373 of file map_grid.cpp.
References CSG_Data_Object::asGrid(), CSG_Data_Object::asGrids(), CSG_Data_Object::Get_ObjectType(), CSG_Map_Layer::m_Parameters, CSG_Map_Layer::m_pObject, SG_DATAOBJECT_TYPE_Grid, and SG_DATAOBJECT_TYPE_Grids.