edu.uthscsa.ric.mango
Interface SliceListener
public interface SliceListener
A SliceListener can be registered with a viewer and will be notified any time the slice position has been changed via the keyboard or mouse. This can be used
in conjuction with makePluginOverlay() in ViewerController to create a dynamic overlay graphic.
Method Summary |
void |
sliceChanged(int slicePos,
int sliceDirection,
boolean isMain)
Notifies that a slice has changed. |
sliceChanged
void sliceChanged(int slicePos,
int sliceDirection,
boolean isMain)
- Notifies that a slice has changed.
- Parameters:
slicePos
- the new slice positionsliceDirection
- the slice directionisMain
- true if the slice is the main (upper) slice, false otherwise