InteractorStyleImage
Methods
getCurrentImageProperty
Gets the current image property.
getInteractionMode
Gets the interaction mode.
handleEndMouseWheel
Handles the end of a wheel event.
| Argument | Type | Required | Description |
|---|---|---|---|
callData | Yes | event data |
handleLeftButtonPress
Handles a left button press event.
| Argument | Type | Required | Description |
|---|---|---|---|
callData | Yes | event data |
handleLeftButtonRelease
Handles a left button release event.
| Argument | Type | Required | Description |
|---|---|---|---|
callData | Yes | event data |
handleMouseMove
Handles a mouse move.
| Argument | Type | Required | Description |
|---|---|---|---|
callData | Yes | event data |
handleMouseWheel
Handles a wheel event.
| Argument | Type | Required | Description |
|---|---|---|---|
callData | Yes | event data |
handleStartMouseWheel
Handles the start of a wheel event.
| Argument | Type | Required | Description |
|---|---|---|---|
callData | Yes | event data |
setCurrentImageNumber
Sets the current image property.
This is a way of dealing with images as if they were layers. It looks through the renderer's list of props and sets the interactor ivars from the Nth image that it finds. You can also use negative numbers, i.e. -1 will return the last image, -2 will return the second-to-last image, etc.
| Argument | Type | Required | Description |
|---|---|---|---|
i | Yes | image number |
setCurrentImageProperty
Sets the current image property.
| Argument | Type | Required | Description |
|---|---|---|---|
imageProperty | Yes | image property |
setInteractionMode
Sets the interaction mode.
| Argument | Type | Required | Description |
|---|---|---|---|
mode | Yes | interaction mode |
slice
Set slice from position.
| Argument | Type | Required | Description |
|---|---|---|---|
renderer | Yes | the renderer | |
position | Yes | the display position |
superHandleLeftButtonPress
The inherited handleLeftButtonPress, captured before it is overridden.
| Argument | Type | Required | Description |
|---|---|---|---|
callData | Yes | event data |
superHandleLeftButtonRelease
The inherited handleLeftButtonRelease, captured before it is overridden.
superHandleMouseMove
The inherited handleMouseMove, captured before it is overridden.
| Argument | Type | Required | Description |
|---|---|---|---|
callData | Yes | event data |
windowLevel
Set window level from position.
| Argument | Type | Required | Description |
|---|---|---|---|
renderer | Yes | the renderer | |
position | Yes | the display position |