Class vxlPickerInteractor


Version 0.90.2 picking lists.
Interactor that implements a picking mechanism.

Constructor

vxlPickerInteractor(view, camera)

Author: Diego Cantor.

Parameters:

Object view

the view this interactor will observe

Object camera

the camera this interactor will master

Since:
0.89.1 initial release

Methods

.getType()
.onMouseDown(ev)
Reacts to the onmouse event on the canvas

Parameters:

Type Name Description
Object ev

mouse event

.onMouseMove(ev)
Reacts to the onmouse move event on the canvas

Parameters:

Type Name Description
Object ev

.onMouseUp(ev)
Reacts to the onmouse up event on the canvas

Parameters:

Type Name Description
Object ev

.setCallback(callback)

Parameters:

Type Name Description
callback

.setCellPicking(flag)

Parameters:

Type Name Description
flag