public class ROI3DStack.ROI3DStackPainter extends ROI3D.ROI3DPainter
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 |
---|
ROI3DStack.ROI3DStackPainter() |
Modifier and Type | Method and Description |
---|---|
void |
drawROI(java.awt.Graphics2D g,
Sequence sequence,
IcyCanvas canvas)
Draw the ROI
|
boolean |
getUseChildColor()
Deprecated.
this property does not exist anymore (always return
false ) |
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 |
mouseEntered(java.awt.event.MouseEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse enter event forwarded to the overlay.
|
void |
mouseExited(java.awt.event.MouseEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse exit 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 |
mouseWheelMoved(java.awt.event.MouseWheelEvent e,
Point5D.Double imagePoint,
IcyCanvas canvas)
Mouse wheel moved event forwarded to the overlay.
|
void |
paint(java.awt.Graphics2D g,
Sequence sequence,
IcyCanvas canvas)
Paint method called to draw the overlay.
|
void |
setColor(java.awt.Color value)
Set the ROI painter base color.
|
void |
setColor(int z,
java.awt.Color value)
Set the painter color for the specified ROI slice.
|
void |
setOpacity(float value)
Sets the content opacity factor (0 = transparent while 1 means opaque).
|
void |
setShowName(boolean value)
When set to
true the ROI painter display the ROI name at draw time. |
void |
setStroke(double value)
Set ROI painter stroke.
|
void |
setUseChildColor(boolean value)
Deprecated.
this property does not exist anymore
|
drawName
computePriority, getAdjustedStroke, getColor, getDisplayColor, getFocusedColor, getMousePos, getName, getOpacity, getProps, 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 ROI3DStack.ROI3DStackPainter()
@Deprecated public boolean getUseChildColor()
false
)@Deprecated public void setUseChildColor(boolean value)
public void setColor(int z, java.awt.Color value)
setUseChildColor(boolean)
public void setColor(java.awt.Color value)
ROI.ROIPainter
setColor
in class ROI.ROIPainter
public void setOpacity(float value)
ROI.ROIPainter
setOpacity
in class ROI.ROIPainter
public void setStroke(double value)
ROI.ROIPainter
setStroke
in class ROI.ROIPainter
public void setShowName(boolean value)
ROI.ROIPainter
true
the ROI painter display the ROI name at draw time.setShowName
in class ROI.ROIPainter
public void paint(java.awt.Graphics2D g, Sequence sequence, IcyCanvas canvas)
Overlay
paint
in interface Painter
paint
in class ROI3D.ROI3DPainter
public void keyPressed(java.awt.event.KeyEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
keyPressed
in class ROI.ROIPainter
e
- key eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void keyReleased(java.awt.event.KeyEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
keyReleased
in class ROI.ROIPainter
e
- key eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseEntered(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mouseEntered
in class Overlay
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseExited(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mouseExited
in class Overlay
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseMove(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mouseMove
in class ROI.ROIPainter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseDrag(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mouseDrag
in class ROI3D.ROI3DPainter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mousePressed(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mousePressed
in class ROI3D.ROI3DPainter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseReleased(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mouseReleased
in class ROI3D.ROI3DPainter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseClick(java.awt.event.MouseEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mouseClick
in class ROI.ROIPainter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseWheelMoved(java.awt.event.MouseWheelEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
Overlay
mouseWheelMoved
in class Overlay
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void drawROI(java.awt.Graphics2D g, Sequence sequence, IcyCanvas canvas)
ROI3D.ROI3DPainter
drawROI
in class ROI3D.ROI3DPainter