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

#include <mapping.h>

Inheritance diagram for CMap_Layer:
CMap_Base_Layer

Public Member Functions

 CMap_Layer (void)
virtual ~CMap_Layer (void)
 CMap_Layer (CSG_Data_Object &Layer)
bool Create (CSG_Data_Object &Layer)
bool Destroy (void)
virtual CSG_Parameters & Get_Parameters (void) const
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)
bool Classify_Equal (int Count=10, 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_Defined (double Interval, 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_Geometric (int Count=10, bool bIncreasing=true, 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)
bool Draw_Legend (CMap_Canvas &Canvas, int x, int y, double Zoom=1.)
Public Member Functions inherited from CMap_Base_Layer
 CMap_Base_Layer (void)
virtual ~CMap_Base_Layer (void)
const SG_Char * List_Parameters (bool bDescription=true, bool bConstraints=true, bool bValue=true) const
bool Set_Parameter (const SG_Char *ID, const char *Value)
bool Set_Parameter (const SG_Char *ID, const wchar_t *Value)
bool Set_Parameter (const SG_Char *ID, const CSG_String &Value)
bool Set_Parameter (const SG_Char *ID, int Value)
bool Set_Parameter (const SG_Char *ID, double Value)
bool Set_Parameter (const SG_Char *ID, const CSG_Colors &Value)
bool Draw (CMap &Map)

Protected Member Functions

virtual bool On_Draw (class CSG_Map_DC &dc_Map)
virtual CSG_String Get_Name (void) const

Detailed Description

Definition at line 177 of file mapping.h.

Constructor & Destructor Documentation

◆ CMap_Layer() [1/2]

CMap_Layer::CMap_Layer ( void )

Definition at line 363 of file mapping.cpp.

◆ ~CMap_Layer()

CMap_Layer::~CMap_Layer ( void )
virtual

Definition at line 377 of file mapping.cpp.

References Destroy().

◆ CMap_Layer() [2/2]

CMap_Layer::CMap_Layer ( CSG_Data_Object & Layer)

Definition at line 369 of file mapping.cpp.

References Create().

Member Function Documentation

◆ Classify_Defined() [1/2]

bool CMap_Layer::Classify_Defined ( double Interval,
double Offset,
int ColorsID = -1,
const SG_Char * Field = NULL,
const SG_Char * Normalize = NULL )

Definition at line 489 of file mapping.cpp.

References SG_Char.

◆ Classify_Defined() [2/2]

bool CMap_Layer::Classify_Defined ( double Interval,
int ColorsID = -1,
const SG_Char * Field = NULL,
const SG_Char * Normalize = NULL )

Definition at line 490 of file mapping.cpp.

References SG_Char.

◆ Classify_Equal() [1/2]

bool CMap_Layer::Classify_Equal ( int Count,
double Minimum,
double Maximum,
int ColorsID = -1,
const SG_Char * Field = NULL,
const SG_Char * Normalize = NULL )

Definition at line 487 of file mapping.cpp.

References Maximum, Minimum, and SG_Char.

◆ Classify_Equal() [2/2]

bool CMap_Layer::Classify_Equal ( int Count = 10,
int ColorsID = -1,
const SG_Char * Field = NULL,
const SG_Char * Normalize = NULL )

Definition at line 488 of file mapping.cpp.

References SG_Char.

◆ Classify_Geometric()

bool CMap_Layer::Classify_Geometric ( int Count = 10,
bool bIncreasing = true,
int ColorsID = -1,
const SG_Char * Field = NULL,
const SG_Char * Normalize = NULL )

Definition at line 492 of file mapping.cpp.

References SG_Char.

◆ Classify_Natural()

bool CMap_Layer::Classify_Natural ( int Count = 10,
int ColorsID = -1,
const SG_Char * Field = NULL,
const SG_Char * Normalize = NULL )

Definition at line 493 of file mapping.cpp.

References SG_Char.

◆ Classify_Quantile()

bool CMap_Layer::Classify_Quantile ( int Count = 10,
bool bHistogram = true,
int ColorsID = -1,
const SG_Char * Field = NULL,
const SG_Char * Normalize = NULL )

Definition at line 491 of file mapping.cpp.

References SG_Char.

◆ Classify_StdDev()

bool CMap_Layer::Classify_StdDev ( double StdDev,
double StdDev_Max = 4.,
int ColorsID = -1,
const SG_Char * Field = NULL,
const SG_Char * Normalize = NULL )

Definition at line 494 of file mapping.cpp.

References SG_Char.

◆ Classify_Unique()

bool CMap_Layer::Classify_Unique ( int maxCount = 1024,
int ColorsID = -1,
const SG_Char * Field = NULL )

Definition at line 486 of file mapping.cpp.

References SG_Char.

◆ Create()

◆ Destroy()

bool CMap_Layer::Destroy ( void )

Definition at line 409 of file mapping.cpp.

Referenced by Create(), and ~CMap_Layer().

◆ Draw_Legend()

bool CMap_Layer::Draw_Legend ( CMap_Canvas & Canvas,
int x,
int y,
double Zoom = 1. )

Definition at line 497 of file mapping.cpp.

Referenced by CMap_Canvas::Draw_Legend().

◆ Get_Name()

CSG_String CMap_Layer::Get_Name ( void ) const
protectedvirtual

Implements CMap_Base_Layer.

Definition at line 436 of file mapping.cpp.

References _TL, SG_Get_DataObject_Name(), and SG_Get_ShapeType_Name().

◆ Get_Parameters()

CSG_Parameters & CMap_Layer::Get_Parameters ( void ) const
virtual

Implements CMap_Base_Layer.

Definition at line 422 of file mapping.cpp.

◆ On_Draw()

bool CMap_Layer::On_Draw ( class CSG_Map_DC & dc_Map)
protectedvirtual

Implements CMap_Base_Layer.

Definition at line 430 of file mapping.cpp.


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