Post draw callback to detect fast zoom-out and triggers the layers stacking.
More...
Inherits VgIEnginePostDrawCallback.
Post draw callback to detect fast zoom-out and triggers the layers stacking.
- Note
- This callback is used only in the single layer view. As the active manipulator in this view is "2D". It handles the user gestures to manipulate the layer but it cannot be customized as the VgEngine::VgISimpleGestureManipulator. To trigger the stacking, this callback compute the altitude velocity between two frames and switch to the layers overview above a threshold. However, it can be triggered by pinch out of course but also any moves/animations that would perform such a velocity.
virtual VgMyFloorSelectorTrigger::~VgMyFloorSelectorTrigger |
( |
| ) |
|
|
virtual |
void VgMyFloorSelectorTrigger::postDraw |
( |
VgEngine::VgIEngineContext * |
pContext | ) |
|
VgEngine::VgICamera* VgMyFloorSelectorTrigger::mCamera |
|
protected |
clock_t VgMyFloorSelectorTrigger::mPreviousClock |
|
protected |
VgEngine::VgPosition VgMyFloorSelectorTrigger::mPreviousPosition |
|
protected |
The documentation for this class was generated from the following file:
- VgMyStackedLayerAndCameraHandlerOldWithPinch.h