Class ScrollAdaptorCoronal

Class to perform computations for scrolling, called up by external interfaces

Hierarchy

  • ScrollAdaptorCoronal

Index

Constructors

constructor

Properties

Private currentSlice

currentSlice: number = -1

dimensioninDirection

dimensioninDirection: number = 0

Private renderEngine

renderEngine: RenderEngineContext3D

Private renderParams

renderParams: RenderParams3D = null

Private scrollData

Private scrollListener

scrollListener: any

spacing

spacing: number = 0

Methods

init

  • Call this function to initialize the adaptor

    Parameters

    Returns void

scroll

  • Call this function to perform the scroll put in the distance value If scaling is required for distance, input function should scale it

    Parameters

    • distance: number

    Returns RenderParams3D