|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphicsImageDisplay
This defines the interface for a widget that can display images and draw graphics overlays.
Method Summary | |
---|---|
void |
blankImage(double ra,
double dec)
Display a blank image with the given center coordinates. |
void |
clear()
Clear the image display, freeing up any resources currently used by the image so that they can be garbage collected. |
CanvasGraphics |
getCanvasGraphics()
Return an object to be used for drawing persistent graphics over the image |
FITSImage |
getFitsImage()
If the current image is in FITS format, return the FITSImage object managing it, otherwise return null. |
double |
getPixelValue(Point2D.Double p,
int band)
Return the value of the pixel in the given band at the given user coordinates |
double[] |
getPixelValues(Rectangle region,
int band)
Return an array containing the values of the pixels in the given band in the given user coordinates region. |
boolean |
isClear()
Return true if the image has been cleared. |
Methods inherited from interface jsky.image.gui.BasicImageDisplay |
---|
addImageGraphicsHandler, getCanvas, getCoordinateConverter, getDisplayImage, getImage, getImageHeight, getImageProcessor, getImageWidth, getInterpolation, getOrigin, getScale, getScaleHints, getVisibleArea, getWCS, isAutoCenterImage, isImmediateMode, isInitialized, isPrescaled, isWCS, removeImageGraphicsHandler, scaleToFit, setAutoCenterImage, setImage, setImageProcessor, setImmediateMode, setInterpolation, setOrigin, setPrescaled, setScale, setScaleHints, setWCS, updateImage |
Method Detail |
---|
CanvasGraphics getCanvasGraphics()
void clear()
boolean isClear()
void blankImage(double ra, double dec)
ra
- RA center coordinate in deg J2000dec
- Dec center coordinate in deg J2000FITSImage getFitsImage()
double getPixelValue(Point2D.Double p, int band)
getPixelValue
in interface BasicImageDisplay
double[] getPixelValues(Rectangle region, int band)
region
- describes the region of the image to get in user coordinatesband
- the band of the image to get
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |