Search Results for

    Show / Hide Table of Contents

    Class ZoomExtentsModifier3D

    The ZoomExtentsModifier3D provides the behaviour of zoom camera to fit on mouse double click on a 3D chart

    Inheritance
    java.lang.Object
    ReceiveMotionEventsBase
    ChartModifierCore
    ChartModifierBase3D
    GestureModifierBase3D
    ZoomExtentsModifier3D
    Inherited Members
    ChartModifierCore.applyThemeProvider(IThemeProvider)
    ChartModifierCore.checkPointerCounter(MotionEvent,int)
    ChartModifierCore.getEventsGroupTag()
    ChartModifierCore.getIsEnabled()
    ChartModifierCore.getReceiveHandledEvents()
    ChartModifierCore.getServices()
    ChartModifierCore.isAttached()
    ChartModifierCore.onGenericMotion(ModifierTouchEventArgs)
    ChartModifierCore.onIsEnabledChanged(boolean)
    ChartModifierCore.onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    ChartModifierCore.onRenderableSeriesDrasticallyChanged()
    ChartModifierCore.onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    ChartModifierCore.setEventsGroupTag(String)
    ChartModifierCore.setIsEnabled(boolean)
    ChartModifierCore.setReceiveHandledEvents(boolean)
    ChartModifierBase3D.getCamera()
    ChartModifierBase3D.getContext()
    ChartModifierBase3D.getModifierSurface()
    ChartModifierBase3D.getParentSurface()
    ChartModifierBase3D.getPointRelativeTo(PointF,IHitTestable)
    ChartModifierBase3D.getXAxis()
    ChartModifierBase3D.getYAxis()
    ChartModifierBase3D.getZAxis()
    ChartModifierBase3D.onChartRendered()
    ChartModifierBase3D.onXAxisChanged()
    ChartModifierBase3D.onYAxisChanged()
    ChartModifierBase3D.onZAxisChanged()
    GestureModifierBase3D.attachTo(IServiceContainer)
    GestureModifierBase3D.detach()
    GestureModifierBase3D.getOriginalTouchEvent()
    GestureModifierBase3D.onCancel(MotionEvent)
    GestureModifierBase3D.onDoubleTap(MotionEvent)
    GestureModifierBase3D.onDoubleTapEvent(MotionEvent)
    GestureModifierBase3D.onDown(MotionEvent)
    GestureModifierBase3D.onFling(MotionEvent,MotionEvent,float,float)
    GestureModifierBase3D.onLongPress(MotionEvent)
    GestureModifierBase3D.onScroll(MotionEvent,MotionEvent,float,float)
    GestureModifierBase3D.onShowPress(MotionEvent)
    GestureModifierBase3D.onSingleTapConfirmed(MotionEvent)
    GestureModifierBase3D.onSingleTapUp(MotionEvent)
    GestureModifierBase3D.onTouch(ModifierTouchEventArgs)
    GestureModifierBase3D.onUp(MotionEvent)
    ReceiveMotionEventsBase.getName()
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class ZoomExtentsModifier3D extends GestureModifierBase3D

    Constructors

    ZoomExtentsModifier3D()

    Creates a new instance of the ZoomExtentsModifier3D class.

    Declaration
    public ZoomExtentsModifier3D()

    Methods

    getAnimationDuration()

    Gets the animation duration in milliseconds for any zoom operations

    Declaration
    public final long getAnimationDuration()
    Returns
    Type Description
    long

    The current animation duration

    getAutoFitRadius()

    When true, attempts to auto-fit the camera radius to fit the scene. When false, uses the #getResetPosition() and #getResetTarget() instead

    Declaration
    public final boolean getAutoFitRadius()
    Returns
    Type Description
    boolean

    The current autoFitRadius value

    getExecuteOn()

    Gets when the ZoomExtentsModifier3D should be executed. e.g. ExecuteOn#DoubleTap will cause a zoom to extents on double tap on the parent surface instance.

    Declaration
    public final ExecuteOn getExecuteOn()
    Returns
    Type Description
    ExecuteOn

    When the ZoomExtentsModifier3D should be executed.

    getResetPosition()

    Gets the reset position. This is the Vector3 in 3D world coordinates where the ISciChartSurface3D#getCamera() Position is moved to

    Declaration
    public final Vector3 getResetPosition()
    Returns
    Type Description
    Vector3

    The reset position

    getResetTarget()

    Gets the reset target. This is the Vector3 in 3D world coordinates where the ISciChartSurface3D#getCamera() Target is moved to on double-tap

    Declaration
    public final Vector3 getResetTarget()
    Returns
    Type Description
    Vector3

    The reset target

    onDoubleTap(MotionEvent e)

    Declaration
    public boolean onDoubleTap(MotionEvent e)
    Parameters
    Type Name Description
    android.view.MotionEvent e
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase3D.onDoubleTap(MotionEvent e)

    onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)

    Declaration
    public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
    Parameters
    Type Name Description
    android.view.MotionEvent e1
    android.view.MotionEvent e2
    float velocityX
    float velocityY
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase3D.onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)

    onLongPress(MotionEvent e)

    Declaration
    public void onLongPress(MotionEvent e)
    Parameters
    Type Name Description
    android.view.MotionEvent e
    Overrides
    GestureModifierBase3D.onLongPress(MotionEvent e)

    onSingleTapConfirmed(MotionEvent e)

    Declaration
    public boolean onSingleTapConfirmed(MotionEvent e)
    Parameters
    Type Name Description
    android.view.MotionEvent e
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase3D.onSingleTapConfirmed(MotionEvent e)

    performZoomExtents()

    Performs the zoom extents function. Called when the user double taps. May be overridden in derived classes to customize what the zoom actually does.

    Declaration
    protected void performZoomExtents()

    setAnimationDuration(long animationDuration)

    Sets the animation duration in milliseconds for any zoom operations

    Declaration
    public final void setAnimationDuration(long animationDuration)
    Parameters
    Type Name Description
    long animationDuration

    The new animation duration

    setAutoFitRadius(boolean autoFitRadius)

    When true, attempts to auto-fit the camera radius to fit the scene. When false, uses the #getResetPosition() and #getResetTarget() instead

    Declaration
    public final void setAutoFitRadius(boolean autoFitRadius)
    Parameters
    Type Name Description
    boolean autoFitRadius

    The new autoFitRadius value

    setExecuteOn(ExecuteOn executeOn)

    Sets when the ZoomExtentsModifier3D should be executed. e.g. ExecuteOn#DoubleTap will cause a zoom to extents on double tap on the parent surface instance.

    Declaration
    public final void setExecuteOn(ExecuteOn executeOn)
    Parameters
    Type Name Description
    ExecuteOn executeOn

    When the ZoomExtentsModifier3D should be executed.

    setResetPosition(Vector3 resetPosition)

    Sets the reset position. This is the Vector3 in 3D world coordinates where the ISciChartSurface3D#getCamera() Position is moved to

    Declaration
    public final void setResetPosition(Vector3 resetPosition)
    Parameters
    Type Name Description
    Vector3 resetPosition

    The new reset position

    setResetTarget(Vector3 resetTarget)

    Sets the reset target. This is the Vector3 in 3D world coordinates where the ISciChartSurface3D#getCamera() Target is moved to

    Declaration
    public final void setResetTarget(Vector3 resetTarget)
    Parameters
    Type Name Description
    Vector3 resetTarget

    The new reset target

    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml