97 const short* pixels) :
122 const short* pixels) :
148 const int& nt,
const short* pixels) :
172 const short* pixels) :
265 if (
this != &image) {
364 const int& iz,
const int& it)
456 const int& iz,
const int& it)
const
653 const int& iz,
const int& it)
const
674 return (
double(this->
at(ix)));
690 return (
double(this->
at(ix,iy)));
707 return (
double(this->
at(ix,iy,iz)));
726 return (
double(this->
at(ix,iy,iz,it)));
786 bool not_loaded = (image.
m_pixels == NULL);
803 #if defined(G_SMALL_MEMORY)
901 if (pixels == NULL) {
Abstract FITS image base class.
int offset(const int &ix) const
Return pixel offset.
void release_data(void)
Release data.
void free_members(void)
Delete class members.
int type(void) const
Return image type.
GFitsImageShort * clone(void) const
Clone FITS image.
short * m_nulval
NULL value.
GFitsImageShort(void)
Void constructor.
void load_data(void) const
Load data.
void clear(void)
Clear instance.
double pixel(const int &ix) const
Return value of image pixel.
void init_data(void)
Initialise data.
int m_num_pixels
Number of image pixels.
#define G_BITPIX
Defines the number of bits per pixel.
long * m_naxes
Number of pixels in each dimension.
short & operator()(const int &ix)
Image pixel access operator.
CFITSIO interface header.
void copy_members(const GFitsImageShort &image)
Copy class members.
virtual double pixel(const int &ix) const =0
short & at(const int &ix)
Image pixel access operator.
void fetch_data(void)
Fetch image pixels.
void init_members(void)
Initialise class members.
Short integer FITS image class.
Short integer FITS image class definition.
void init_members(void)
Initialise class members.
void construct_data(const short *pixels)
Construct data from array.
virtual ~GFitsImageShort(void)
Destructor.
void * pixels(void)
Return pointer to image pixel.
int m_bitpix
Number of Bits/pixel.
Exception handler interface definition.
void alloc_data(void)
Allocate data.
GFitsImage & operator=(const GFitsImage &image)
Assignment operator.
void free_members(void)
Delete class members.
GFitsHeaderCard & card(const int &cardno)
Return header card.
void alloc_nulval(const void *value)
Allocates nul value.
GFitsImageShort & operator=(const GFitsImageShort &image)
Assignment operator.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.