50#ifndef _HEADER_INCLUDED__SAGA_API__Map_Symbology_H
51#define _HEADER_INCLUDED__SAGA_API__Map_Symbology_H
82 bool Set_NoData_Color (
int Color);
85 bool Set_Single_Color (
int Color);
127 bool Set_Class_Count (
int Count);
137 return( (
int)
m_pLUT->Get_Count() );
177 double Get_Class_Value_Minimum (
int Class);
178 double Get_Class_Value_Center (
int Class);
179 double Get_Class_Value_Maximum (
int Class);
180 wxString Get_Class_Name (
int Class);
181 wxString Get_Class_Name_byValue (
double Value);
182 wxString Get_Class_Name_byValue (
const wxString &Value);
200 if( Class < 0 || Class >=
m_pLUT->Get_Count() )
259 int c = (int)(255. *
m_Stretch.to_Relative(Value));
if( c < 0 ) { c = 0; }
else if( c > 255 ) { c = 255; }
321 bool Histogram_Update (
void);
372 bool _Histogram_Update (
CSG_Table *pTable,
int Field,
int Normalize = -1,
double Scale = 1.);
#define SAGA_API_DLL_EXPORT
#define SG_GET_RGB(r, g, b)
int Get_Class_Color_byValue(double Value) const
double Get_Stretch_Range(void) const
int _METRIC_Get_Class(double Value) const
double Get_Stretch_Maximum(void) const
double Get_Stretch_LogScale(void) const
bool Get_Class_Color_byValue(double Value, int &Color) const
CSG_Scaler & Get_Stretch(void)
int Get_Class(double Value)
int Get_Single_Color(void) const
const CSG_Simple_Statistics & Statistics_Get(void) const
bool Get_Class_Color_byValue(const CSG_String &Value, int &Color) const
const CSG_Colors & Get_Colors(void) const
int Get_NoData_Color(void) const
int _LUT_Cmp_Class(double Value, int Class) const
CSG_Simple_Statistics m_Statistics
double Get_Stretch_from_Relative(double Value) const
double Get_Stretch_Minimum(void) const
int Get_Class(const CSG_String &Value)
CSG_Map_Symbology(class CSG_Map_Layer *pLayer)
bool Set_Stretch(double Minimum, double Maximum, int Mode=0, double LogScale=1.)
int _LUT_Get_Class(double Value) const
CSG_Histogram m_Histogram
const CSG_Histogram & Histogram_Get(void) const
int Get_Class_Color_byValue(const CSG_String &Value) const
const CSG_Scaler & Get_Stretch(void) const
double Get_Stretch_to_Relative(double Value) const
CSG_Colors & Get_Colors(void)
int Get_Class_Count(void) const
int Get_Stretch_Mode(void) const
bool Get_Class_Color(int Class, int &Color) const
int Get_Class_Color(int Class) const
class CSG_Map_Layer * m_pLayer
bool asDouble(double &Value) const