Serializable, Componentpublic class HipsImage extends Image
| Constructor | Description |
|---|---|
HipsImage(String directory) |
Create a image associated with a HiPS
|
| Modifier and Type | Method | Description |
|---|---|---|
double |
getAllSkyPixel(long npix) |
|
double |
getData(long ipix) |
Defer reading the data until it is asked for.
|
double[] |
getDataArray() |
Probably should happen, but just in case we
support the get array function.
|
int |
getDepth() |
Get the number of planes in the image
|
int |
getHeight() |
Get the height of the image
|
int |
getWidth() |
Get the width of the image
|
void |
initialize(double scale) |
|
void |
setData(long npix,
double val) |
Support changing the data! Probably won't use this...
|
void |
setOrder(double scale) |
Determine which order to sample at given the limits in the HiPS and
the user requested scale.
|
double |
tiledPixel(long npix) |
clearData, getBaseImage, getCenter, getCorners, getDescription, getName, getTransformer, getWCS, initialize, isTiled, setAccumulate, setDataArray, setName, valid, validatepublic HipsImage(String directory)
directory - The base directory for the HiPSpublic void initialize(double scale)
throws TransformationException,
IllegalArgumentException,
IOException
public void setOrder(double scale)
scale - Scale of desired pixels in radians.public int getWidth()
Imagepublic int getHeight()
Imagepublic int getDepth()
Imagepublic double getData(long ipix)
public double getAllSkyPixel(long npix)
public double tiledPixel(long npix)
public double[] getDataArray()
getDataArray in class Image