JSci.instruments
Interface ROI

All Known Implementing Classes:
PTCroquette, RectangularROI, ROIAdapter, TwoROI

public interface ROI

A Region Of Interest, that is a region delimited by a polygon, that can be moved with the mouse.


Method Summary
 java.awt.Shape getShape()
           
 void paint(java.awt.Graphics g)
          Called by the Player: draw the ROI
 void setComponent(java.awt.Component c)
          Called by the Player: set the component where to display the ROI
 

Method Detail

getShape

java.awt.Shape getShape()
Returns:
the Shape of the ROI

setComponent

void setComponent(java.awt.Component c)
Called by the Player: set the component where to display the ROI

Parameters:
c - The Component where to display the ROI

paint

void paint(java.awt.Graphics g)
Called by the Player: draw the ROI

Parameters:
g - the Graphics where to paint the ROI