public class ZoomExtentsModifier3D extends GestureModifierBase3D
Constructor and Description |
---|
ZoomExtentsModifier3D()
Creates a new instance of the
ZoomExtentsModifier3D class. |
Modifier and Type | Method and Description |
---|---|
long |
getAnimationDuration()
Gets the animation duration in milliseconds for any zoom operations
|
boolean |
getAutoFitRadius()
When true, attempts to auto-fit the camera radius to fit the scene.
|
com.scichart.charting.modifiers.ExecuteOn |
getExecuteOn()
Gets when the
ZoomExtentsModifier3D should be executed. |
Vector3 |
getResetPosition()
Gets the reset position.
|
Vector3 |
getResetTarget()
Gets the reset target.
|
boolean |
onDoubleTap(android.view.MotionEvent e) |
boolean |
onFling(android.view.MotionEvent e1,
android.view.MotionEvent e2,
float velocityX,
float velocityY) |
void |
onLongPress(android.view.MotionEvent e) |
boolean |
onSingleTapConfirmed(android.view.MotionEvent e) |
protected void |
performZoomExtents()
Performs the zoom extents function.
|
void |
setAnimationDuration(long animationDuration)
Sets the animation duration in milliseconds for any zoom operations
|
void |
setAutoFitRadius(boolean autoFitRadius)
When true, attempts to auto-fit the camera radius to fit the scene.
|
void |
setExecuteOn(com.scichart.charting.modifiers.ExecuteOn executeOn)
Sets when the
ZoomExtentsModifier3D should be executed. |
void |
setResetPosition(Vector3 resetPosition)
Sets the reset position.
|
void |
setResetTarget(Vector3 resetTarget)
Sets the reset target.
|
attachTo, detach, getOriginalTouchEvent, onCancel, onDoubleTapEvent, onDown, onScroll, onShowPress, onSingleTapUp, onTouch, onUp
getCamera, getContext, getModifierSurface, getParentSurface, getPointRelativeTo, getXAxis, getYAxis, getZAxis, onChartRendered, onXAxisChanged, onYAxisChanged, onZAxisChanged
applyThemeProvider, checkPointerCounter, getEventsGroupTag, getIsEnabled, getReceiveHandledEvents, getServices, isAttached, onGenericMotion, onIsEnabledChanged, onRenderableSeriesCollectionChanged, onRenderableSeriesDrasticallyChanged, onSelectedSeriesCollectionChanged, setEventsGroupTag, setIsEnabled, setReceiveHandledEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventsGroupTag, getIsEnabled, setIsEnabled
public ZoomExtentsModifier3D()
ZoomExtentsModifier3D
class.public final Vector3 getResetTarget()
Vector3
in 3D world coordinates where the ISciChartSurface3D.getCamera()
Target is moved to on double-tappublic final void setResetTarget(Vector3 resetTarget)
Vector3
in 3D world coordinates where the ISciChartSurface3D.getCamera()
Target is moved toresetTarget
- The new reset targetpublic final Vector3 getResetPosition()
Vector3
in 3D world coordinates where the ISciChartSurface3D.getCamera()
Position is moved topublic final void setResetPosition(Vector3 resetPosition)
Vector3
in 3D world coordinates where the ISciChartSurface3D.getCamera()
Position is moved toresetPosition
- The new reset positionpublic final boolean getAutoFitRadius()
getResetPosition()
and getResetTarget()
insteadpublic final void setAutoFitRadius(boolean autoFitRadius)
getResetPosition()
and getResetTarget()
insteadautoFitRadius
- The new autoFitRadius valuepublic final long getAnimationDuration()
public final void setAnimationDuration(long animationDuration)
animationDuration
- The new animation durationpublic final com.scichart.charting.modifiers.ExecuteOn getExecuteOn()
ZoomExtentsModifier3D
should be executed.
e.g. ExecuteOn.DoubleTap
will cause a zoom to extents on double tap on the parent surface instance.ZoomExtentsModifier3D
should be executed.public final void setExecuteOn(com.scichart.charting.modifiers.ExecuteOn executeOn)
ZoomExtentsModifier3D
should be executed.
e.g. ExecuteOn.DoubleTap
will cause a zoom to extents on double tap on the parent surface instance.executeOn
- When the ZoomExtentsModifier3D
should be executed.public boolean onDoubleTap(android.view.MotionEvent e)
onDoubleTap
in interface android.view.GestureDetector.OnDoubleTapListener
onDoubleTap
in class GestureModifierBase3D
public boolean onSingleTapConfirmed(android.view.MotionEvent e)
onSingleTapConfirmed
in interface android.view.GestureDetector.OnDoubleTapListener
onSingleTapConfirmed
in class GestureModifierBase3D
public void onLongPress(android.view.MotionEvent e)
onLongPress
in interface android.view.GestureDetector.OnGestureListener
onLongPress
in class GestureModifierBase3D
public boolean onFling(android.view.MotionEvent e1, android.view.MotionEvent e2, float velocityX, float velocityY)
onFling
in interface android.view.GestureDetector.OnGestureListener
onFling
in class GestureModifierBase3D
protected void performZoomExtents()