122 const char* pixels) :
149 const char* pixels) :
173 const char* pixels) :
266 if (
this != &image) {
365 const int& iz,
const int& it)
457 const int& iz,
const int& it)
const
654 const int& iz,
const int& it)
const
675 return (
double(this->
at(ix)));
691 return (
double(this->
at(ix,iy)));
708 return (
double(this->
at(ix,iy,iz)));
727 return (
double(this->
at(ix,iy,iz,it)));
787 bool not_loaded = (image.
m_pixels == NULL);
804 #if defined(G_SMALL_MEMORY)
902 if (pixels == NULL) {
void init_members(void)
Initialise class members.
char * m_nulval
NULL value.
Abstract FITS image base class.
int offset(const int &ix) const
Return pixel offset.
#define G_BITPIX
BITPIX code for TSBYTE.
void init_data(void)
Initialise data.
char & at(const int &ix)
Image pixel access operator.
Signed Byte FITS image class definition.
void release_data(void)
Release data.
Signed Byte FITS image class.
int type(void) const
Return image type.
void construct_data(const char *pixels)
Construct data from array.
void * pixels(void)
Return pointer to image pixel.
void clear(void)
Clear instance.
void alloc_nulval(const void *value)
Allocates nul value.
int m_num_pixels
Number of image pixels.
long * m_naxes
Number of pixels in each dimension.
double pixel(const int &ix) const
Return value of image pixel.
void alloc_data(void)
Allocate data.
CFITSIO interface header.
GFitsImageSByte(void)
Void constructor.
virtual double pixel(const int &ix) const =0
void load_data(void) const
Load data.
void fetch_data(void)
Fetch image pixels.
void init_members(void)
Initialise class members.
void init_members(void)
Initialise class members.
GFitsImageSByte * clone(void) const
Clone FITS image.
GFitsImageSByte & operator=(const GFitsImageSByte &image)
Assignment operator.
virtual ~GFitsImageSByte(void)
Destructor.
int m_bitpix
Number of Bits/pixel.
Exception handler interface definition.
GFitsImage & operator=(const GFitsImage &image)
Assignment operator.
void free_members(void)
Delete class members.
void free_members(void)
Delete class members.
void copy_members(const GFitsImageSByte &image)
Copy class members.
GFitsHeaderCard & card(const int &cardno)
Return header card.
char & operator()(const int &ix)
Image pixel access operator.
void free_members(void)
Delete class members.