InteractorStyleImage
Methods
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 |
slice
Set slice from position.
| Argument | Type | Required | Description |
|---|---|---|---|
renderer | Yes | the renderer | |
position | Yes | the display position |
windowLevel
Set window level from position.
| Argument | Type | Required | Description |
|---|---|---|---|
renderer | Yes | the renderer | |
position | Yes | the display position |