public class InterestPointOverlay extends Object implements OverlayRenderer, TransformListener<AffineTransform3D>
Modifier and Type | Class and Description |
---|---|
static interface |
InterestPointOverlay.InterestPointSource |
Constructor and Description |
---|
InterestPointOverlay(ViewerPanel viewer,
Collection<? extends InterestPointOverlay.InterestPointSource> interestPointSources) |
Modifier and Type | Method and Description |
---|---|
void |
drawOverlays(Graphics g)
Render overlays.
|
void |
setCanvasSize(int width,
int height)
This is called, when the screen size of the canvas (the component
displaying the image and generating mouse events) changes.
|
void |
setColor(Color col) |
void |
transformChanged(AffineTransform3D transform) |
public InterestPointOverlay(ViewerPanel viewer, Collection<? extends InterestPointOverlay.InterestPointSource> interestPointSources)
public void setColor(Color col)
public void transformChanged(AffineTransform3D transform)
transformChanged
in interface TransformListener<AffineTransform3D>
public void drawOverlays(Graphics g)
OverlayRenderer
drawOverlays
in interface OverlayRenderer
public void setCanvasSize(int width, int height)
OverlayRenderer
setCanvasSize
in interface OverlayRenderer
width
- the new canvas width.height
- the new canvas height.Copyright © 2015–2021 Fiji. All rights reserved.