MouseActions
Mouse actions provided as static methods
Static Method Summary
Static Public Methods | ||
public static |
clipNearScroll(stage: Stage, delta: Number): undefined Move near clipping plane based on scroll-delta |
|
public static |
focusScroll(stage: Stage, delta: Number): undefined Move focus planes based on scroll-delta |
|
public static |
isolevelScroll(stage: Stage, delta: Number): undefined Change isolevel of volume surfaces based on scroll-delta |
|
public static |
movePick(stage: Stage, pickingProxy: PickingProxy): undefined Move picked element to the center of the screen |
|
public static |
panAtomDrag(stage: Stage, dx: Number, dy: Number): undefined Pan picked atom based on mouse coordinate changes |
|
public static |
panComponentDrag(stage: Stage, dx: Number, dy: Number): undefined Pan picked component based on mouse coordinate changes |
|
public static |
Pan scene based on mouse coordinate changes |
|
public static |
rotateComponentDrag(stage: Stage, dx: Number, dy: Number): undefined Rotate picked component based on mouse coordinate changes |
|
public static |
rotateDrag(stage: Stage, dx: Number, dy: Number): undefined Rotate scene based on mouse coordinate changes |
|
public static |
tooltipPick(stage: Stage, pickingProxy: PickingProxy): undefined Show tooltip with information of picked element |
|
public static |
Zoom scene based on mouse coordinate changes |
|
public static |
zoomFocusDrag(stage: Stage, dx: Number, dy: Number): undefined Zoom scene based on mouse coordinate changes and move focus planes based on camera position (zoom) |
|
public static |
zoomScroll(stage: Stage, delta: Number): undefined Zoom scene based on scroll-delta |
Static Public Methods
public static clipNearScroll(stage: Stage, delta: Number): undefined source
Move near clipping plane based on scroll-delta
public static focusScroll(stage: Stage, delta: Number): undefined source
Move focus planes based on scroll-delta
public static isolevelScroll(stage: Stage, delta: Number): undefined source
Change isolevel of volume surfaces based on scroll-delta
public static movePick(stage: Stage, pickingProxy: PickingProxy): undefined source
Move picked element to the center of the screen
Params:
Name | Type | Attribute | Description |
stage | Stage | the stage |
|
pickingProxy | PickingProxy | the picking data object |
public static panAtomDrag(stage: Stage, dx: Number, dy: Number): undefined source
Pan picked atom based on mouse coordinate changes
public static panComponentDrag(stage: Stage, dx: Number, dy: Number): undefined source
Pan picked component based on mouse coordinate changes
public static panDrag(stage: Stage, dx: Number, dy: Number): undefined source
Pan scene based on mouse coordinate changes
public static rotateComponentDrag(stage: Stage, dx: Number, dy: Number): undefined source
Rotate picked component based on mouse coordinate changes
public static rotateDrag(stage: Stage, dx: Number, dy: Number): undefined source
Rotate scene based on mouse coordinate changes
public static tooltipPick(stage: Stage, pickingProxy: PickingProxy): undefined source
Show tooltip with information of picked element
Params:
Name | Type | Attribute | Description |
stage | Stage | the stage |
|
pickingProxy | PickingProxy | the picking data object |
public static zoomDrag(stage: Stage, dx: Number, dy: Number): undefined source
Zoom scene based on mouse coordinate changes