SAGA API  v9.5
CSG_Tool_Interactive_Base Class Reference

#include <tool.h>

Inheritance diagram for CSG_Tool_Interactive_Base:
CSG_Tool_Grid_Interactive CSG_Tool_Interactive

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_ProjectionGet_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_PointGet_Position (void) const
 
double Get_xPosition (void) const
 
double Get_yPosition (void) const
 
const CSG_PointGet_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
 

Detailed Description

CSG_Tool_Interactive_Base.

Definition at line 498 of file tool.h.

Constructor & Destructor Documentation

◆ CSG_Tool_Interactive_Base()

CSG_Tool_Interactive_Base::CSG_Tool_Interactive_Base ( void  )

Definition at line 81 of file tool_interactive_base.cpp.

References CSG_Point::Assign(), and TOOL_INTERACTIVE_DRAG_BOX.

◆ ~CSG_Tool_Interactive_Base()

CSG_Tool_Interactive_Base::~CSG_Tool_Interactive_Base ( void  )
virtual

Definition at line 93 of file tool_interactive_base.cpp.

Member Function Documentation

◆ Execute_Finish()

◆ Execute_Keyboard()

bool CSG_Tool_Interactive_Base::Execute_Keyboard ( int  Character,
int  Keys 
)

◆ Execute_Position()

bool CSG_Tool_Interactive_Base::Execute_Position ( CSG_Point  ptWorld,
TSG_Tool_Interactive_Mode  Mode,
int  Keys 
)

◆ Get_Drag_Mode()

int CSG_Tool_Interactive_Base::Get_Drag_Mode ( void  ) const
inline

Definition at line 513 of file tool.h.

◆ Get_Position()

const CSG_Point& CSG_Tool_Interactive_Base::Get_Position ( void  ) const
inlineprotected

Definition at line 524 of file tool.h.

◆ Get_Position_Last()

const CSG_Point& CSG_Tool_Interactive_Base::Get_Position_Last ( void  ) const
inlineprotected

Definition at line 528 of file tool.h.

◆ Get_Projection()

const CSG_Projection& CSG_Tool_Interactive_Base::Get_Projection ( void  ) const
inlineprotected

Definition at line 518 of file tool.h.

◆ Get_xPosition()

double CSG_Tool_Interactive_Base::Get_xPosition ( void  ) const
inlineprotected

◆ Get_xPosition_Last()

double CSG_Tool_Interactive_Base::Get_xPosition_Last ( void  ) const
inlineprotected

Definition at line 529 of file tool.h.

◆ Get_yPosition()

double CSG_Tool_Interactive_Base::Get_yPosition ( void  ) const
inlineprotected

◆ Get_yPosition_Last()

double CSG_Tool_Interactive_Base::Get_yPosition_Last ( void  ) const
inlineprotected

Definition at line 530 of file tool.h.

◆ is_Alt()

bool CSG_Tool_Interactive_Base::is_Alt ( void  ) const
inlineprotected

Definition at line 533 of file tool.h.

References TOOL_INTERACTIVE_KEY_ALT.

◆ is_Ctrl()

bool CSG_Tool_Interactive_Base::is_Ctrl ( void  ) const
inlineprotected

Definition at line 534 of file tool.h.

References TOOL_INTERACTIVE_KEY_CTRL.

◆ is_Shift()

bool CSG_Tool_Interactive_Base::is_Shift ( void  ) const
inlineprotected

Definition at line 532 of file tool.h.

References TOOL_INTERACTIVE_KEY_SHIFT.

◆ On_Execute_Finish()

bool CSG_Tool_Interactive_Base::On_Execute_Finish ( void  )
protectedvirtual

Definition at line 201 of file tool_interactive_base.cpp.

Referenced by Execute_Finish().

◆ On_Execute_Keyboard()

bool CSG_Tool_Interactive_Base::On_Execute_Keyboard ( int  Character)
protectedvirtual

Definition at line 166 of file tool_interactive_base.cpp.

Referenced by Execute_Keyboard().

◆ On_Execute_Position()

bool CSG_Tool_Interactive_Base::On_Execute_Position ( CSG_Point  ptWorld,
TSG_Tool_Interactive_Mode  Mode 
)
protectedvirtual

Definition at line 135 of file tool_interactive_base.cpp.

Referenced by Execute_Position().

◆ Set_Drag_Mode()

void CSG_Tool_Interactive_Base::Set_Drag_Mode ( int  Drag_Mode)
protected

Definition at line 212 of file tool_interactive_base.cpp.

◆ Set_Projection()

bool CSG_Tool_Interactive_Base::Set_Projection ( const CSG_Projection Projection)

Definition at line 102 of file tool_interactive_base.cpp.

References CSG_Projection::Create().

Friends And Related Function Documentation

◆ CSG_Tool_Grid_Interactive

friend class CSG_Tool_Grid_Interactive ( void  )
friend

Definition at line 501 of file tool.h.

◆ CSG_Tool_Interactive

friend class CSG_Tool_Interactive ( void  )
friend

Definition at line 500 of file tool.h.


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