public class ROI3DArea.ROI3DAreaPainter extends ROI3DStack.ROI3DStackPainter implements java.lang.Runnable
Overlay.OverlayPriority
ID_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 |
---|
ROI3DArea.ROI3DAreaPainter() |
Modifier and Type | Method and Description |
---|---|
vtk.vtkProp[] |
getProps()
Returns the VTK actors for this painter.
|
void |
mouseClick(java.awt.event.MouseEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse click event forwarded to the overlay.
|
void |
paint(java.awt.Graphics2D g,
Sequence sequence,
IcyCanvas canvas)
Paint method called to draw the overlay.
|
void |
run() |
drawROI, getUseChildColor, keyPressed, keyReleased, mouseDrag, mouseEntered, mouseExited, mouseMove, mousePressed, mouseReleased, mouseWheelMoved, setColor, setColor, setOpacity, setShowName, setStroke, setUseChildColor
drawName
computePriority, getAdjustedStroke, getColor, getDisplayColor, getFocusedColor, getMousePos, getName, getOpacity, getSelectedColor, getShowName, getStroke, hideVtkObjects, isReadOnly, loadFromXML, saveToXML, setMousePos, setName, setSelectedColor
addOverlayListener, 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, mouseExited, mouseMove, mousePressed, mouseReleased, mouseWheelMoved, onChanged, painterChanged, propertyChanged, remove, removeOverlayListener, saveOverlaysToXML, setCanBeRemoved, setFixed, setPersistent, setPriority, setReadOnly, setReceiveKeyEventOnHidden, setReceiveMouseEventOnHidden
public ROI3DArea.ROI3DAreaPainter()
public void mouseClick(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mouseClick
in class ROI3DStack.ROI3DStackPainter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void paint(java.awt.Graphics2D g, Sequence sequence, IcyCanvas canvas)
Overlay
paint
in interface Painter
paint
in class ROI3DStack.ROI3DStackPainter
public vtk.vtkProp[] getProps()
VtkPainter
getProps
in interface VtkPainter
getProps
in class ROI.ROIPainter
public void run()
run
in interface java.lang.Runnable