Class vxlTrackerInteractor


Extends vxlViewInteractor.
Determines the application behaviour originated by mouse and keyboard events.

Constructor

vxlTrackerInteractor()

Methods

.dolly(value)
Internal method used by this tracker to perform dollying

Parameters:

Type Name Description
Number value

the number of dollying steps

.getType()
Returns the type of this interactor as a string
.onDoubleClick(event)
By default, this method invokes a long shot operation on the current camera to visualize all the objects in the scene

Parameters:

Type Name Description
Object event

.onDragLeave(event)
Invoked when the user drags away from the view

Parameters:

Type Name Description
event

.onDragOver(event)
Invoked when the user drags a file over the view

Parameters:

Type Name Description
event

.onDrop(event)
Processes the file that has been droped on the view

Parameters:

Type Name Description
event

.onKeyDown(ev)
Invoked when the user presses a key

Parameters:

Type Name Description
ev

.onKeyUp(ev)
Invoked when the user releases a key

Parameters:

Type Name Description
ev

.onMouseDown(ev)
Invoked when the user presses a mouse button

Parameters:

Type Name Description
ev

.onMouseMove(ev)
Invoked when the user moves the mouse

Parameters:

Type Name Description
ev

.onMouseUp(ev)
Invoked when the user releases the mouse

Parameters:

Type Name Description
ev

.pan(dx, dy)
Internal method used by this tracker to perform panning

Parameters:

Type Name Description
Object dx

Object dy

.roll(value)
Internal method used by this tracker to perform rolling

Parameters:

Type Name Description
Number value

the rolling angle

.rotate(dx, dy)
this._dragndrop = false;Internal method used by this tracker to rotate the camera.

Parameters:

Type Name Description
Number dx

the rotation on the X axis (elevation)

Number dy

the rotation on the Y axis (azimuth)