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

#include <map_layer.h>

Inheritance diagram for CSG_Map_Shapes_Line:
CSG_Map_Shapes CSG_Map_Layer

Public Member Functions

 CSG_Map_Shapes_Line (CSG_Shapes *pShapes=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 void Draw_Shape (CSG_Map_DC &dc_Map, CSG_Shape *pShape, int Flags=0)
virtual void Draw_Label (CSG_Map_DC &dc_Map, CSG_Shape *pShape, const wxString &Label)
bool Get_Style_Size (int &min_Size, int &max_Size, double &min_Value, double &dValue, wxString *pName)
Public Member Functions inherited from CSG_Map_Shapes
int Get_Field_Value (void) const
int Get_Field_Normal (void) const
double Get_Scale_Normal (void) const
int Get_Field_Label (void) const
wxPen Get_Def_Pen (void) const
wxBrush Get_Def_Brush (void) const
virtual void Draw_Thumbnails (CSG_Map_DC &dc_Map, int Limit)
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)
virtual bool Set_Stretch_Extent (const CSG_Rect &Extent)
bool Classify (const CSG_MetaData &Options)
class CSG_Map_Symbology * Get_Symbology (void)
class CSG_Map_Legend * Get_Legend (void)
virtual bool asImage (CSG_Grid *pImage)
const class wxBitmap * Get_Thumbnail (int dx, int dy)
bool Set_Thumbnail (void)

Protected Member Functions

virtual void Draw_Initialize (CSG_Map_DC &dc_Map, int Flags)
Protected Member Functions inherited from CSG_Map_Shapes
 CSG_Map_Shapes (void)
virtual void On_Draw (CSG_Map_DC &dc_Map, int Flags)
CSG_Shape * Get_Shape (sLong i)
bool Get_Class_Color (CSG_Shape *pShape, int &Color)
CSG_Parameter * BrushList_Add (CSG_Parameters &Parameters, const CSG_String &ParentID, const CSG_String &Identifier, const CSG_String &Name, const CSG_String &Description) const
wxBrushStyle BrushList_Get_Style (const CSG_String &Identifier)
CSG_Parameter * PenList_Add (CSG_Parameters &Parameters, const CSG_String &ParentID, const CSG_String &Identifier, const CSG_String &Name, const CSG_String &Description) const
int PenList_Get_Style (const CSG_String &Identifier)
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)

Protected Attributes

bool m_bPoints
int m_iSize
int m_Size_Type
int m_Line_Style
int m_Effect
int m_Label_Style
int m_Label_Freq
int m_Label_Align
int m_Label_Orient
double m_Size
double m_dSize
double m_Size_Min
wxColour m_Effect_Color
Protected Attributes inherited from CSG_Map_Shapes
bool m_bNoData = true
int m_bVertices = 0
int m_DrawOrder = 0
wxPen m_Pen
wxBrush m_Brush
class CSG_Map_Shapes::CStretch m_Stretch
class CSG_Map_Shapes::CLabel m_Label
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

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)

Detailed Description

Definition at line 815 of file map_layer.h.

Constructor & Destructor Documentation

◆ CSG_Map_Shapes_Line()

Member Function Documentation

◆ Add_Parameters()

◆ DataObject_Changed()

bool CSG_Map_Shapes_Line::DataObject_Changed ( void )
virtual

◆ Draw_Initialize()

◆ Draw_Label()

◆ Draw_Shape()

◆ Get_Style_Size()

bool CSG_Map_Shapes_Line::Get_Style_Size ( int & min_Size,
int & max_Size,
double & min_Value,
double & dValue,
wxString * pName )

Definition at line 234 of file map_shapes_line.cpp.

References m_dSize, m_iSize, CSG_Map_Layer::m_pObject, m_Size, and m_Size_Min.

Referenced by CSG_Map_Legend::_Draw_Line().

◆ Parameter_Changed()

bool CSG_Map_Shapes_Line::Parameter_Changed ( CSG_Parameters & Parameters,
CSG_Parameter & Parameter,
int Flags )
virtual

◆ Parameters_Changed()

Member Data Documentation

◆ m_bPoints

bool CSG_Map_Shapes_Line::m_bPoints
protected

Definition at line 838 of file map_layer.h.

◆ m_dSize

double CSG_Map_Shapes_Line::m_dSize
protected

Definition at line 844 of file map_layer.h.

Referenced by Draw_Shape(), Get_Style_Size(), and Parameters_Changed().

◆ m_Effect

int CSG_Map_Shapes_Line::m_Effect
protected

Definition at line 840 of file map_layer.h.

Referenced by Draw_Shape(), and Parameters_Changed().

◆ m_Effect_Color

wxColour CSG_Map_Shapes_Line::m_Effect_Color
protected

Definition at line 846 of file map_layer.h.

Referenced by Draw_Shape(), and Parameters_Changed().

◆ m_iSize

int CSG_Map_Shapes_Line::m_iSize
protected

Definition at line 840 of file map_layer.h.

Referenced by Draw_Shape(), Get_Style_Size(), and Parameters_Changed().

◆ m_Label_Align

int CSG_Map_Shapes_Line::m_Label_Align
protected

Definition at line 842 of file map_layer.h.

Referenced by Draw_Initialize(), and Draw_Label().

◆ m_Label_Freq

int CSG_Map_Shapes_Line::m_Label_Freq
protected

Definition at line 842 of file map_layer.h.

Referenced by Draw_Initialize(), and Draw_Label().

◆ m_Label_Orient

int CSG_Map_Shapes_Line::m_Label_Orient
protected

Definition at line 842 of file map_layer.h.

Referenced by Draw_Initialize(), and Draw_Label().

◆ m_Label_Style

int CSG_Map_Shapes_Line::m_Label_Style
protected

Definition at line 842 of file map_layer.h.

Referenced by Draw_Initialize(), and Draw_Label().

◆ m_Line_Style

int CSG_Map_Shapes_Line::m_Line_Style
protected

Definition at line 840 of file map_layer.h.

Referenced by Draw_Initialize(), and Parameters_Changed().

◆ m_Size

double CSG_Map_Shapes_Line::m_Size
protected

Definition at line 844 of file map_layer.h.

Referenced by Draw_Shape(), Get_Style_Size(), and Parameters_Changed().

◆ m_Size_Min

double CSG_Map_Shapes_Line::m_Size_Min
protected

Definition at line 844 of file map_layer.h.

Referenced by Draw_Shape(), Get_Style_Size(), and Parameters_Changed().

◆ m_Size_Type

int CSG_Map_Shapes_Line::m_Size_Type
protected

Definition at line 840 of file map_layer.h.

Referenced by Draw_Shape(), and Parameters_Changed().


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