Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::ListInputHandler Class Reference
Inheritance diagram for AltusUnified::ListInputHandler:
Collaboration diagram for AltusUnified::ListInputHandler:

Public Member Functions

 ListInputHandler ()
 
void addInputHandler (RawInputHandler receiver)
 
bool removeInputHandler (RawInputHandler handler)
 
void update (TimeStamp timeStamp)
 Callback for update More...
 
void motion (MouseMotionEvent motionEvent, TimeStamp timeStamp)
 Callback for mouse motion More...
 
void down (MouseButtonEvent buttonEvent, TimeStamp timeStamp)
 Callback for mouse down More...
 
void up (MouseButtonEvent buttonEvent, TimeStamp timeStamp)
 Callback for mouse up More...
 
void wheel (MouseWheelEvent wheelEvent, TimeStamp timeStamp)
 Callback for mouse wheel More...
 
void zoomIn (ScreenSpacePercentagePoint curScreenPoint, double amount)
 Callback for zoom in More...
 
void zoomOut (ScreenSpacePercentagePoint curScreenPoint, double amount)
 Callback for zoom out More...
 
void keyDown (KeyboardEvent keyEvent, TimeStamp timeStamp)
 Callback for key down More...
 
void keyUp (KeyboardEvent keyEvent, TimeStamp timeStamp)
 Callback for key up More...
 
void fingerDown (TouchFingerEvent touchEvent, TimeStamp timeStamp)
 Callback for finger down More...
 
void fingerUp (TouchFingerEvent touchEvent, TimeStamp timeStamp)
 Callback for finger up More...
 
void fingerMotion (TouchFingerEvent touchEvent, TimeStamp timeStamp)
 Callback for finger motion More...
 
void setMinMaxAltitude (double minAltitudeInMeters, double maxAltitudeInMeters)
 Sets the minimum and maximum altitude More...
 
void setPanEnabled (bool enabled)
 Enables or disables panning More...
 
void setZoomEnabled (bool enabled)
 Enables or disables zooming More...
 
 Public Member Functions inherited from AltusUnified::RawInputHandler
void update (TimeStamp timeStamp)
 Callback for update More...
 
void motion (MouseMotionEvent motionEvent, TimeStamp timeStamp)
 Callback for mouse motion More...
 
void down (MouseButtonEvent buttonEvent, TimeStamp timeStamp)
 Callback for mouse down More...
 
void up (MouseButtonEvent buttonEvent, TimeStamp timeStamp)
 Callback for mouse up More...
 
void wheel (MouseWheelEvent wheelEvent, TimeStamp timeStamp)
 Callback for mouse wheel More...
 
void zoomIn (ScreenSpacePercentagePoint curScreenPoint, double amount)
 Callback for zoom in More...
 
void zoomOut (ScreenSpacePercentagePoint curScreenPoint, double amount)
 Callback for zoom out More...
 
void keyDown (KeyboardEvent keyEvent, TimeStamp timeStamp)
 Callback for key down More...
 
void keyUp (KeyboardEvent keyEvent, TimeStamp timeStamp)
 Callback for key up More...
 
void fingerDown (TouchFingerEvent touchEvent, TimeStamp timeStamp)
 Callback for finger down More...
 
void fingerUp (TouchFingerEvent touchEvent, TimeStamp timeStamp)
 Callback for finger up More...
 
void fingerMotion (TouchFingerEvent touchEvent, TimeStamp timeStamp)
 Callback for finger motion More...
 
void setMinMaxAltitude (double minAltitudeInMeters, double maxAltitudeInMeters)
 Sets the minimum and maximum altitude More...
 
void setPanEnabled (bool enabled)
 Enables or disables panning More...
 
void setZoomEnabled (bool enabled)
 Enables or disables zooming More...
 

Constructor & Destructor Documentation

AltusUnified::ListInputHandler::ListInputHandler ( )

Member Function Documentation

void AltusUnified::ListInputHandler::addInputHandler ( RawInputHandler  receiver)
void AltusUnified::ListInputHandler::down ( MouseButtonEvent  buttonEvent,
TimeStamp  timeStamp 
)

Callback for mouse down

Parameters
buttonEventThe MouseButtonEvent
timeStampThe TimeStamp
void AltusUnified::ListInputHandler::fingerDown ( TouchFingerEvent  touchEvent,
TimeStamp  timeStamp 
)

Callback for finger down

Parameters
touchEventThe TouchFingerEvent
timeStampThe TimeStamp
void AltusUnified::ListInputHandler::fingerMotion ( TouchFingerEvent  touchEvent,
TimeStamp  timeStamp 
)

Callback for finger motion

Parameters
touchEventThe TouchFingerEvent
timeStampThe TimeStamp
void AltusUnified::ListInputHandler::fingerUp ( TouchFingerEvent  touchEvent,
TimeStamp  timeStamp 
)

Callback for finger up

Parameters
touchEventThe TouchFingerEvent
timeStampThe TimeStamp
void AltusUnified::ListInputHandler::keyDown ( KeyboardEvent  keyEvent,
TimeStamp  timeStamp 
)

Callback for key down

Parameters
keyEventThe KeyboardEvent
timeStampThe TimeStamp
void AltusUnified::ListInputHandler::keyUp ( KeyboardEvent  keyEvent,
TimeStamp  timeStamp 
)

Callback for key up

Parameters
keyEventThe KeyboardEvent
timeStampThe TimeStamp
void AltusUnified::ListInputHandler::motion ( MouseMotionEvent  motionEvent,
TimeStamp  timeStamp 
)

Callback for mouse motion

Parameters
motionEventThe MouseMotionEvent
timeStampThe TimeStamp
bool AltusUnified::ListInputHandler::removeInputHandler ( RawInputHandler  handler)
void AltusUnified::ListInputHandler::setMinMaxAltitude ( double  minAltitudeInMeters,
double  maxAltitudeInMeters 
)

Sets the minimum and maximum altitude

void AltusUnified::ListInputHandler::setPanEnabled ( bool  enabled)

Enables or disables panning

void AltusUnified::ListInputHandler::setZoomEnabled ( bool  enabled)

Enables or disables zooming

void AltusUnified::ListInputHandler::up ( MouseButtonEvent  buttonEvent,
TimeStamp  timeStamp 
)

Callback for mouse up

Parameters
buttonEventThe MouseButtonEvent
timeStampThe TimeStamp
void AltusUnified::ListInputHandler::update ( TimeStamp  timeStamp)

Callback for update

void AltusUnified::ListInputHandler::wheel ( MouseWheelEvent  wheelEvent,
TimeStamp  timeStamp 
)

Callback for mouse wheel

Parameters
wheelEventThe MouseWheelEvent
timeStampThe TimeStamp
void AltusUnified::ListInputHandler::zoomIn ( ScreenSpacePercentagePoint  curScreenPoint,
double  amount 
)

Callback for zoom in

Parameters
curScreenPointThe point of the screen to zoom into
amountThe amount to zoom, where 1 means "a normal amount" and 2 would mean "even more, please!"
void AltusUnified::ListInputHandler::zoomOut ( ScreenSpacePercentagePoint  curScreenPoint,
double  amount 
)

Callback for zoom out

Parameters
curScreenPointThe point of the screen to zoom into
amountThe amount to zoom, where 1 means "a normal amount" and 2 would mean "even more, please!"