MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSL3DInteractionModeRequest Class Referenceabstract

Detailed Description

This is the request handler, used for callbacks to the application.

The application should derive from this class, and pass a pointer to the constructor of the TSLInteractionModeManager.

Deprecated
Deprecated as of MapLink 11.1. Advised to use MapLink Earth SDK instead.

Public Member Functions

virtual ~TSL3DInteractionModeRequest ()
 
virtual void resetMode (TSL3DInteractionMode *newMode, TSLButtonType button, TSLDeviceUnits xDU, TSLDeviceUnits yDU)=0
 
virtual void viewChanged (TSL3DDrawingSurface *drawingSurface)=0
 

Constructor & Destructor Documentation

◆ ~TSL3DInteractionModeRequest()

virtual TSL3DInteractionModeRequest::~TSL3DInteractionModeRequest ( )
virtual

Member Function Documentation

◆ resetMode()

virtual void TSL3DInteractionModeRequest::resetMode ( TSL3DInteractionMode * newMode,
TSLButtonType button,
TSLDeviceUnits xDU,
TSLDeviceUnits yDU )
pure virtual

This is triggered when the mode manager resets back to the default mode.

Parameters
newModeNew mode that has been activated
buttonIf the reset was triggered by a button press, this should be the button type. TSLButtonNone if for some other reason.
(xDU,yDU)Position of button press that triggered the reset. 0,0 if the reset is occurring for some other reason.

◆ viewChanged()

virtual void TSL3DInteractionModeRequest::viewChanged ( TSL3DDrawingSurface * drawingSurface)
pure virtual

This is triggered when the view has changed for any reason.

Parameters
drawingSurfacePointer to the drawing surface whose view has changed.