public class MultiBoxOverlay2d extends MultiBoxOverlay
MultiBoxOverlay.IntervalAndTransform| Constructor and Description |
|---|
MultiBoxOverlay2d() |
| Modifier and Type | Method and Description |
|---|---|
void |
highlight(int sourceIndex) |
boolean |
isHighlightInProgress() |
<I extends MultiBoxOverlay.IntervalAndTransform> |
paint(Graphics2D graphics,
List<I> sources,
Interval targetInterval,
Interval boxScreen)
This paints the box overlay with perspective and scale set such that it
fits approximately into the specified screen area.
|
public boolean isHighlightInProgress()
isHighlightInProgress in class MultiBoxOverlaypublic void highlight(int sourceIndex)
highlight in class MultiBoxOverlaypublic <I extends MultiBoxOverlay.IntervalAndTransform> void paint(Graphics2D graphics, List<I> sources, Interval targetInterval, Interval boxScreen)
paint in class MultiBoxOverlaygraphics - graphics context to paint to.sources - source intervals (3D boxes) to be shown.targetInterval - target interval (2D box) into which a slice of sourceInterval
is projected.boxScreen - (approximate) area of the screen which to fill with the box
visualisation.Copyright © 2015–2021 Fiji. All rights reserved.