SAGA API Version 9.14
Loading...
Searching...
No Matches
CSG_Map_Grids Class Reference

#include <map_layer.h>

Inheritance diagram for CSG_Map_Grids:
CSG_Map_Layer

Public Member Functions

 CSG_Map_Grids (CSG_Grids *pGrids=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)
CSG_Grid * Get_Grid (void)
CSG_Grid * Get_Grid (int Band)
CSG_String Get_Grid_Name (int Band, int Style=SG_GRIDS_NAME_GRID)
bool Set_Grid_Choices (CSG_Parameters &Parameters, int NameField=-1)
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)
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

Detailed Description

Definition at line 492 of file map_layer.h.

Constructor & Destructor Documentation

◆ CSG_Map_Grids()

CSG_Map_Grids::CSG_Map_Grids ( CSG_Grids * pGrids = NULL)

Member Function Documentation

◆ Add_Parameters()

◆ asImage()

bool CSG_Map_Grids::asImage ( CSG_Grid * pImage)
virtual

◆ DataObject_Changed()

bool CSG_Map_Grids::DataObject_Changed ( void )
virtual

◆ Get_Bitmap()

bool CSG_Map_Grids::Get_Bitmap ( wxBitmap & Bitmap,
bool bFitSize = true,
int Width = 0,
int Height = 0 )
virtual

◆ Get_Bitmap_Legend()

bool CSG_Map_Grids::Get_Bitmap_Legend ( wxBitmap & Bitmap,
double Zoom )
virtual

Definition at line 619 of file map_grids.cpp.

References CSG_Map_Legend::Draw(), and CSG_Map_Layer::Get_Legend().

◆ Get_Grid() [1/2]

CSG_Grid * CSG_Map_Grids::Get_Grid ( int Band)

Definition at line 310 of file map_grids.cpp.

References CSG_Map_Layer::m_Parameters.

◆ Get_Grid() [2/2]

CSG_Grid * CSG_Map_Grids::Get_Grid ( void )

◆ Get_Grid_Name()

CSG_String CSG_Map_Grids::Get_Grid_Name ( int Band,
int Style = SG_GRIDS_NAME_GRID )

◆ Get_Image()

bool CSG_Map_Grids::Get_Image ( wxImage & Image,
bool bFitSize = true,
int Width = 0,
int Height = 0 )
virtual

◆ On_Draw()

◆ Parameter_Changed()

◆ Parameters_Changed()

bool CSG_Map_Grids::Parameters_Changed ( void )
virtual

◆ Set_Grid_Choices()

bool CSG_Map_Grids::Set_Grid_Choices ( CSG_Parameters & Parameters,
int NameField = -1 )

◆ Set_Stretch_Extent()


The documentation for this class was generated from the following files: