DatacubeView

DatacubeView

new DatacubeView(view)

Source:
Parameters:
Name Type Description
view View

Methods

matchCanvasToData() → {undefined}

Resize datacube canvas node height & width to match data slice dimensions.

Source:
Returns:
Type:
undefined

mousemove(evt) → {undefined}

Handles a mousemove event on the canvas node & updates the view's position value.

Source:
Parameters:
Name Type Description
evt Event
Returns:
Type:
undefined

render() → {undefined}

Renders the 2D slice of the data onto the canvas based on the view's current position.

Source:
Returns:
Type:
undefined