Call this function to initialize the adaptor called during mouse down and computes certain values like spacing in arbitrary direction, total number of slices
Inform the ScrollAdaptor class that scrolling has ended, so it will reset cached variables If it is not scrolling, reset immediately, else queue it up to be processed when scrolling computation is finished Either way, subsequent request to scroll function will be rejected
Call this function to perform the scroll put in the distance value and a callback function to call when scrolling is finished
Generated using TypeDoc
Call this function with render parameters obtained with the image to get the current and total slices The function assumes that the adaptor has been constructed with VolumeDataContext so that volume box parameters are valid This function does not do anything during the scrolling operation itself, rather is helper function to get location in image before it is rendered