public class MultiBoxOverlayRenderer extends Object
ViewerState
into a
Graphics2D
.Modifier and Type | Field and Description |
---|---|
protected MultiBoxOverlay |
box
Navigation wire-frame cube.
|
protected Interval |
boxInterval
Screen interval in which to display navigation wire-frame cube.
|
protected ArrayList<IntervalAndTransform> |
boxSources |
protected Interval |
virtualScreenInterval
scaled screenImage interval for
box rendering |
Constructor and Description |
---|
MultiBoxOverlayRenderer() |
MultiBoxOverlayRenderer(int screenWidth,
int screenHeight) |
Modifier and Type | Method and Description |
---|---|
void |
highlight(int sourceIndex) |
boolean |
isHighlightInProgress() |
void |
paint(Graphics2D g) |
void |
setBoxInterval(Interval interval)
Update the box interval.
|
void |
setViewerState(ViewerState viewerState)
Deprecated.
|
void |
setViewerState(ViewerState state)
Update data to show in the box overlay.
|
void |
updateVirtualScreenSize(int screenWidth,
int screenHeight)
Update the screen interval.
|
protected final MultiBoxOverlay box
protected Interval boxInterval
protected Interval virtualScreenInterval
box
renderingprotected final ArrayList<IntervalAndTransform> boxSources
public MultiBoxOverlayRenderer()
public MultiBoxOverlayRenderer(int screenWidth, int screenHeight)
public void paint(Graphics2D g)
public boolean isHighlightInProgress()
public void highlight(int sourceIndex)
public void updateVirtualScreenSize(int screenWidth, int screenHeight)
public void setBoxInterval(Interval interval)
@Deprecated public void setViewerState(ViewerState viewerState)
public void setViewerState(ViewerState state)
Copyright © 2015–2021 Fiji. All rights reserved.