SAGA API Version 9.14
Loading...
Searching...
No Matches
map_layer.cpp File Reference
#include "../dc_helper.h"
#include "map_symbology.h"
#include "map_legend.h"
#include "map_layer.h"
#include "map_classify.h"

Go to the source code of this file.

Macros

#define CLASSIFY_UNIQUE   0
#define CLASSIFY_EQUAL   1
#define CLASSIFY_DEFINED   2
#define CLASSIFY_QUANTILE   3
#define CLASSIFY_GEOMETRIC   4
#define CLASSIFY_NATURAL   5
#define CLASSIFY_STDDEV   6
#define CLASSIFY_MANUAL   7
#define DEF_LAYER_COLOUR_COUNT   10
#define ADD_LUT_CLASS(name, desc, min, max)

Variables

static int s_Def_Layer_Colours [DEF_LAYER_COLOUR_COUNT]

Macro Definition Documentation

◆ ADD_LUT_CLASS

#define ADD_LUT_CLASS ( name,
desc,
min,
max )
Value:
{ CSG_Table_Record &r = *pLUT->Add_Record();\
r.Set_Value(0, SG_Color_Get_Random()); r.Set_Value(1, name); r.Set_Value(2, desc); r.Set_Value(3, min); r.Set_Value(4, max);\
}
long SG_Color_Get_Random(void)
bool Set_Value(int Field, const CSG_String &Value)

Referenced by CSG_Map_Layer::Add_Parameters().

◆ CLASSIFY_DEFINED

#define CLASSIFY_DEFINED   2

Definition at line 96 of file map_layer.cpp.

◆ CLASSIFY_EQUAL

#define CLASSIFY_EQUAL   1

Definition at line 95 of file map_layer.cpp.

◆ CLASSIFY_GEOMETRIC

#define CLASSIFY_GEOMETRIC   4

Definition at line 98 of file map_layer.cpp.

◆ CLASSIFY_MANUAL

#define CLASSIFY_MANUAL   7

Definition at line 101 of file map_layer.cpp.

◆ CLASSIFY_NATURAL

#define CLASSIFY_NATURAL   5

Definition at line 99 of file map_layer.cpp.

◆ CLASSIFY_QUANTILE

#define CLASSIFY_QUANTILE   3

Definition at line 97 of file map_layer.cpp.

◆ CLASSIFY_STDDEV

#define CLASSIFY_STDDEV   6

Definition at line 100 of file map_layer.cpp.

◆ CLASSIFY_UNIQUE

#define CLASSIFY_UNIQUE   0

Definition at line 94 of file map_layer.cpp.

◆ DEF_LAYER_COLOUR_COUNT

#define DEF_LAYER_COLOUR_COUNT   10

Definition at line 104 of file map_layer.cpp.

Referenced by CSG_Map_Layer::Add_Parameters().

Variable Documentation

◆ s_Def_Layer_Colours

int s_Def_Layer_Colours[DEF_LAYER_COLOUR_COUNT]
static
Initial value:
=
{
}
#define SG_COLOR_BLUE_DARK
Definition api_core.h:1366
#define SG_COLOR_GREEN_DARK
Definition api_core.h:1363
#define SG_COLOR_GREEN
Definition api_core.h:1362
#define SG_COLOR_PINK
Definition api_core.h:1370
#define SG_COLOR_RED
Definition api_core.h:1358
#define SG_COLOR_BLUE_GREEN
Definition api_core.h:1368
#define SG_COLOR_PURPLE
Definition api_core.h:1369
#define SG_COLOR_RED_DARK
Definition api_core.h:1359
#define SG_COLOR_YELLOW_DARK
Definition api_core.h:1361
#define SG_COLOR_BLUE
Definition api_core.h:1365

Definition at line 106 of file map_layer.cpp.

Referenced by CSG_Map_Layer::Add_Parameters().