public class ProxyImage extends Image
| Constructor and Description |
|---|
ProxyImage(java.lang.String spell,
WCS wcs,
int width,
int height,
int depth)
Construct a WCS
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearData()
Clear the data array
|
Image |
getBaseImage()
Get the current 'real' image.
|
double[] |
getCenter(int npix)
Get the center position of the given output pixel
|
double[][] |
getCorners(int npix)
Get the corners of the given output pixel
|
double |
getData(long npix)
Get a pixels data associated with the image.
|
double[] |
getDataArray()
Get the data as an array
|
int |
getDepth()
Get the number of planes in the image
|
int |
getHeight()
Get the height of the image
|
java.lang.String |
getName()
Get the name of the image
|
java.lang.String |
getSpell()
Get the spell associated with the proxy
|
Transformer |
getTransformer()
Get the transformation to the pixel coordinates of the image
|
WCS |
getWCS()
Get the WCS associated with the image.
|
int |
getWidth()
Get the width of the image
|
void |
setData(long npix,
double newData)
Set the Data associated with the image.
|
void |
setDataArray(double[] newData)
Set the data array
|
void |
setFactory(ImageFactory imFac)
Set the factory that is used to create the real images
|
protected void |
setName(java.lang.String name)
set the name of the image
|
boolean |
valid()
Is this currently a fully validated image?
|
void |
validate()
Make sure the image is read for detailed use.
|
getDescription, initialize, isTiled, setAccumulatepublic ProxyImage(java.lang.String spell,
WCS wcs,
int width,
int height,
int depth)
throws TransformationException
TransformationExceptionpublic java.lang.String getName()
protected void setName(java.lang.String name)
public void setFactory(ImageFactory imFac)
public double getData(long npix)
public double[] getDataArray()
getDataArray in class Imagepublic void setData(long npix,
double newData)
public void setDataArray(double[] newData)
setDataArray in class Imagepublic Transformer getTransformer()
getTransformer in class Imagepublic int getDepth()
public double[] getCenter(int npix)
public double[][] getCorners(int npix)
getCorners in class Imagepublic void validate()
public boolean valid()
public Image getBaseImage()
getBaseImage in class Imagepublic java.lang.String getSpell()