Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home |
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... | |
AltusUnified::ListInputHandler::ListInputHandler | ( | ) |
void AltusUnified::ListInputHandler::addInputHandler | ( | RawInputHandler | receiver | ) |
void AltusUnified::ListInputHandler::down | ( | MouseButtonEvent | buttonEvent, |
TimeStamp | timeStamp | ||
) |
Callback for mouse down
buttonEvent | The MouseButtonEvent |
timeStamp | The TimeStamp |
void AltusUnified::ListInputHandler::fingerDown | ( | TouchFingerEvent | touchEvent, |
TimeStamp | timeStamp | ||
) |
Callback for finger down
touchEvent | The TouchFingerEvent |
timeStamp | The TimeStamp |
void AltusUnified::ListInputHandler::fingerMotion | ( | TouchFingerEvent | touchEvent, |
TimeStamp | timeStamp | ||
) |
Callback for finger motion
touchEvent | The TouchFingerEvent |
timeStamp | The TimeStamp |
void AltusUnified::ListInputHandler::fingerUp | ( | TouchFingerEvent | touchEvent, |
TimeStamp | timeStamp | ||
) |
Callback for finger up
touchEvent | The TouchFingerEvent |
timeStamp | The TimeStamp |
void AltusUnified::ListInputHandler::keyDown | ( | KeyboardEvent | keyEvent, |
TimeStamp | timeStamp | ||
) |
Callback for key down
keyEvent | The KeyboardEvent |
timeStamp | The TimeStamp |
void AltusUnified::ListInputHandler::keyUp | ( | KeyboardEvent | keyEvent, |
TimeStamp | timeStamp | ||
) |
Callback for key up
keyEvent | The KeyboardEvent |
timeStamp | The TimeStamp |
void AltusUnified::ListInputHandler::motion | ( | MouseMotionEvent | motionEvent, |
TimeStamp | timeStamp | ||
) |
Callback for mouse motion
motionEvent | The MouseMotionEvent |
timeStamp | The 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
buttonEvent | The MouseButtonEvent |
timeStamp | The TimeStamp |
void AltusUnified::ListInputHandler::update | ( | TimeStamp | timeStamp | ) |
Callback for update
void AltusUnified::ListInputHandler::wheel | ( | MouseWheelEvent | wheelEvent, |
TimeStamp | timeStamp | ||
) |
Callback for mouse wheel
wheelEvent | The MouseWheelEvent |
timeStamp | The TimeStamp |
void AltusUnified::ListInputHandler::zoomIn | ( | ScreenSpacePercentagePoint | curScreenPoint, |
double | amount | ||
) |
Callback for zoom in
curScreenPoint | The point of the screen to zoom into |
amount | The 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
curScreenPoint | The point of the screen to zoom into |
amount | The amount to zoom, where 1 means "a normal amount" and 2 would mean "even more, please!" |