![]() |
SAGA API v9.10
|
#include <tool.h>
Public Member Functions | |
CSG_Tool_Interactive_Base (void) | |
virtual | ~CSG_Tool_Interactive_Base (void) |
bool | Set_Projection (const CSG_Projection &Projection) |
bool | Execute_Position (CSG_Point ptWorld, TSG_Tool_Interactive_Mode Mode, int Keys) |
bool | Execute_Keyboard (int Character, int Keys) |
bool | Execute_Finish (void) |
int | Get_Drag_Mode (void) const |
Protected Member Functions | |
const CSG_Projection & | Get_Projection (void) const |
virtual bool | On_Execute_Position (CSG_Point ptWorld, TSG_Tool_Interactive_Mode Mode) |
virtual bool | On_Execute_Keyboard (int Character) |
virtual bool | On_Execute_Finish (void) |
const CSG_Point & | Get_Position (void) const |
double | Get_xPosition (void) const |
double | Get_yPosition (void) const |
const CSG_Point & | Get_Position_Last (void) const |
double | Get_xPosition_Last (void) const |
double | Get_yPosition_Last (void) const |
bool | is_Shift (void) const |
bool | is_Alt (void) const |
bool | is_Ctrl (void) const |
void | Set_Drag_Mode (int Drag_Mode) |
Friends | |
class | CSG_Tool_Interactive |
class | CSG_Tool_Grid_Interactive |
CSG_Tool_Interactive_Base::CSG_Tool_Interactive_Base | ( | void | ) |
Definition at line 81 of file tool_interactive_base.cpp.
References TOOL_INTERACTIVE_DRAG_BOX.
Referenced by CSG_Tool_Grid_Interactive.
|
virtual |
Definition at line 93 of file tool_interactive_base.cpp.
bool CSG_Tool_Interactive_Base::Execute_Finish | ( | void | ) |
Definition at line 172 of file tool_interactive_base.cpp.
References _TL, ADD_MESSAGE_EXECUTION, ADD_MESSAGE_TIME, CSG_String::Format(), CSG_DateTime::Now(), On_Execute_Finish(), SG_UI_MSG_STYLE_FAILURE, SG_UI_MSG_STYLE_SUCCESS, SG_UI_Process_Set_Okay(), and SG_UI_Process_Set_Ready().
Referenced by CSG_Tool_Grid_Interactive.
bool CSG_Tool_Interactive_Base::Execute_Keyboard | ( | int | Character, |
int | Keys ) |
Definition at line 141 of file tool_interactive_base.cpp.
References ADD_MESSAGE_TIME, CSG_DateTime::Now(), On_Execute_Keyboard(), SG_UI_Process_Set_Okay(), and SG_UI_Process_Set_Ready().
Referenced by CSG_Tool_Grid_Interactive.
bool CSG_Tool_Interactive_Base::Execute_Position | ( | CSG_Point | ptWorld, |
TSG_Tool_Interactive_Mode | Mode, | ||
int | Keys ) |
Definition at line 108 of file tool_interactive_base.cpp.
References ADD_MESSAGE_TIME, CSG_DateTime::Now(), On_Execute_Position(), SG_UI_Process_Set_Okay(), and SG_UI_Process_Set_Ready().
Referenced by CSG_Tool_Grid_Interactive.
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 541 of file tool.h.
Referenced by CSG_Tool_Grid_Interactive::Get_Grid_Pos(), and CSG_Tool_Grid_Interactive::Get_xGrid().
|
inlineprotected |
|
inlineprotected |
Definition at line 542 of file tool.h.
Referenced by CSG_Tool_Grid_Interactive::Get_Grid_Pos(), and CSG_Tool_Grid_Interactive::Get_yGrid().
|
inlineprotected |
|
inlineprotected |
Definition at line 549 of file tool.h.
References TOOL_INTERACTIVE_KEY_ALT.
|
inlineprotected |
Definition at line 550 of file tool.h.
References TOOL_INTERACTIVE_KEY_CTRL.
|
inlineprotected |
Definition at line 548 of file tool.h.
References TOOL_INTERACTIVE_KEY_SHIFT.
|
protectedvirtual |
Definition at line 201 of file tool_interactive_base.cpp.
Referenced by Execute_Finish().
|
protectedvirtual |
Definition at line 166 of file tool_interactive_base.cpp.
Referenced by Execute_Keyboard().
|
protectedvirtual |
Definition at line 135 of file tool_interactive_base.cpp.
Referenced by Execute_Position().
|
protected |
Definition at line 212 of file tool_interactive_base.cpp.
bool CSG_Tool_Interactive_Base::Set_Projection | ( | const CSG_Projection & | Projection | ) |
Definition at line 102 of file tool_interactive_base.cpp.
References Projection.
Referenced by CSG_Tool_Grid_Interactive.
|
friend |
Definition at line 517 of file tool.h.
References CSG_Tool_Grid_Interactive, CSG_Tool_Interactive_Base(), Execute_Finish(), Execute_Keyboard(), Execute_Position(), Projection, and Set_Projection().
Referenced by CSG_Tool_Grid_Interactive.
|
friend |
Definition at line 516 of file tool.h.
References CSG_Tool_Interactive.
Referenced by CSG_Tool_Interactive.