JSci.instruments
Interface ROI

All Known Implementing Classes:
PTCroquette, ROIAdapter

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

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

setComponent

public 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

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

Parameters:
g - the Graphics where to paint the ROI