public class MultiBoxOverlay extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MultiBoxOverlay.IntervalAndTransform |
Constructor and Description |
---|
MultiBoxOverlay() |
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 <I extends MultiBoxOverlay.IntervalAndTransform> void paint(Graphics2D graphics, List<I> sources, Interval targetInterval, Interval boxScreen)
graphics
- 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.public boolean isHighlightInProgress()
public void highlight(int sourceIndex)
Copyright © 2015–2021 Fiji. All rights reserved.