public class ROI2DShape.ROI2DShapePainter extends ROI2D.ROI2DPainter implements java.lang.Runnable
Overlay.OverlayPriorityID_CANBEREMOVED, ID_CLASSNAME, ID_ID, ID_NAME, ID_OVERLAY, ID_PRIORITY, ID_READONLY, ID_RECEIVEKEYEVENTONHIDDEN, ID_RECEIVEMOUSEEVENTONHIDDEN, LOD_SMALL, LOD_TINY, PROPERTY_CANBEREMOVED, PROPERTY_NAME, PROPERTY_PERSISTENT, PROPERTY_PRIORITY, PROPERTY_READONLY, PROPERTY_RECEIVEKEYEVENTONHIDDEN, PROPERTY_RECEIVEMOUSEEVENTONHIDDEN| Constructor and Description |
|---|
ROI2DShape.ROI2DShapePainter() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawROI(java.awt.Graphics2D g,
Sequence sequence,
IcyCanvas canvas)
Draw the ROI
|
vtk.vtkProp[] |
getProps()
Returns the VTK actors for this painter.
|
void |
keyPressed(java.awt.event.KeyEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Key press event forwarded to the overlay.
|
void |
keyReleased(java.awt.event.KeyEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Key release event forwarded to the overlay.
|
void |
mouseClick(java.awt.event.MouseEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse click event forwarded to the overlay.
|
void |
mouseDrag(java.awt.event.MouseEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse drag event forwarded to the overlay.
|
void |
mouseMove(java.awt.event.MouseEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse move event forwarded to the overlay.
|
void |
mousePressed(java.awt.event.MouseEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse press event forwarded to the overlay.
|
void |
mouseReleased(java.awt.event.MouseEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse release event forwarded to the overlay.
|
void |
run() |
void |
setColor(java.awt.Color value)
Set the ROI painter base color.
|
drawName, paintcomputePriority, getAdjustedStroke, getColor, getDisplayColor, getFocusedColor, getMousePos, getName, getOpacity, getSelectedColor, getShowName, getStroke, hideVtkObjects, isReadOnly, loadFromXML, saveToXML, setMousePos, setName, setOpacity, setSelectedColor, setShowName, setStrokeaddOverlayListener, attachTo, beginUpdate, changed, compareTo, createFromXML, detachFrom, endUpdate, getAttachedCanvas, getCanBeRemoved, getOptionsPanel, getOverlayCount, getPriority, getReceiveKeyEventOnHidden, getReceiveMouseEventOnHidden, getSequences, isAttached, isFixed, isPersistent, isUpdating, keyPressed, keyReleased, loadFromXML, loadOverlaysFromXML, mouseClick, mouseDrag, mouseEntered, mouseEntered, mouseExited, mouseExited, mouseMove, mousePressed, mouseReleased, mouseWheelMoved, mouseWheelMoved, onChanged, painterChanged, propertyChanged, remove, removeOverlayListener, saveOverlaysToXML, setCanBeRemoved, setFixed, setPersistent, setPriority, setReadOnly, setReceiveKeyEventOnHidden, setReceiveMouseEventOnHiddenpublic ROI2DShape.ROI2DShapePainter()
public void keyPressed(java.awt.event.KeyEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
OverlaykeyPressed in class ROI.ROIPaintere - key eventimagePoint - mouse position (image coordinates)canvas - icy canvaspublic void keyReleased(java.awt.event.KeyEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
OverlaykeyReleased in class ROI.ROIPaintere - key eventimagePoint - mouse position (image coordinates)canvas - icy canvaspublic void mousePressed(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
OverlaymousePressed in class ROI2D.ROI2DPaintere - mouse eventimagePoint - mouse position (image coordinates)canvas - icy canvaspublic void mouseReleased(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
OverlaymouseReleased in class ROI2D.ROI2DPaintere - mouse eventimagePoint - mouse position (image coordinates)canvas - icy canvaspublic void mouseClick(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
OverlaymouseClick in class ROI.ROIPaintere - mouse eventimagePoint - mouse position (image coordinates)canvas - icy canvaspublic void mouseDrag(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
OverlaymouseDrag in class ROI2D.ROI2DPaintere - mouse eventimagePoint - mouse position (image coordinates)canvas - icy canvaspublic void mouseMove(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
OverlaymouseMove in class ROI.ROIPaintere - mouse eventimagePoint - mouse position (image coordinates)canvas - icy canvaspublic void drawROI(java.awt.Graphics2D g, Sequence sequence, IcyCanvas canvas)
drawROI in class ROI2D.ROI2DPainterpublic void setColor(java.awt.Color value)
ROI.ROIPaintersetColor in class ROI.ROIPainterpublic vtk.vtkProp[] getProps()
VtkPaintergetProps in interface VtkPaintergetProps in class ROI.ROIPainterpublic void run()
run in interface java.lang.Runnable