Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home |
Public Member Functions | |
FreeAxisInputHandler (Scene scene) | |
Constructor More... | |
void | update (TimeStamp timeStamp) |
Callback for update More... | |
void | motion (MouseMotionEvent motionEvent, TimeStamp timeStamp) |
Callback for mouse motion More... | |
void | up (MouseButtonEvent buttonEvent, TimeStamp timeStamp) |
Callback for mouse up More... | |
void | down (MouseButtonEvent buttonEvent, TimeStamp timeStamp) |
Callback for mouse down 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::FreeAxisInputHandler::FreeAxisInputHandler | ( | Scene | scene | ) |
Constructor
scene | The scene to effect. |
void AltusUnified::FreeAxisInputHandler::down | ( | MouseButtonEvent | buttonEvent, |
TimeStamp | timeStamp | ||
) |
Callback for mouse down
buttonEvent | The MouseButtonEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::fingerDown | ( | TouchFingerEvent | touchEvent, |
TimeStamp | timeStamp | ||
) |
Callback for finger down
touchEvent | The TouchFingerEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::fingerMotion | ( | TouchFingerEvent | touchEvent, |
TimeStamp | timeStamp | ||
) |
Callback for finger motion
touchEvent | The TouchFingerEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::fingerUp | ( | TouchFingerEvent | touchEvent, |
TimeStamp | timeStamp | ||
) |
Callback for finger up
touchEvent | The TouchFingerEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::keyDown | ( | KeyboardEvent | keyEvent, |
TimeStamp | timeStamp | ||
) |
Callback for key down
keyEvent | The KeyboardEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::keyUp | ( | KeyboardEvent | keyEvent, |
TimeStamp | timeStamp | ||
) |
Callback for key up
keyEvent | The KeyboardEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::motion | ( | MouseMotionEvent | motionEvent, |
TimeStamp | timeStamp | ||
) |
Callback for mouse motion
motionEvent | The MouseMotionEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::setMinMaxAltitude | ( | double | minAltitudeInMeters, |
double | maxAltitudeInMeters | ||
) |
Sets the minimum and maximum altitude
void AltusUnified::FreeAxisInputHandler::setPanEnabled | ( | bool | enabled | ) |
Enables or disables panning
void AltusUnified::FreeAxisInputHandler::setZoomEnabled | ( | bool | enabled | ) |
Enables or disables zooming
void AltusUnified::FreeAxisInputHandler::up | ( | MouseButtonEvent | buttonEvent, |
TimeStamp | timeStamp | ||
) |
Callback for mouse up
buttonEvent | The MouseButtonEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::update | ( | TimeStamp | timeStamp | ) |
Callback for update
void AltusUnified::FreeAxisInputHandler::wheel | ( | MouseWheelEvent | wheelEvent, |
TimeStamp | timeStamp | ||
) |
Callback for mouse wheel
wheelEvent | The MouseWheelEvent |
timeStamp | The TimeStamp |
void AltusUnified::FreeAxisInputHandler::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::FreeAxisInputHandler::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!" |