97 const unsigned long* pixels) :
122 const unsigned long* pixels) :
149 const unsigned long* pixels) :
173 const unsigned long* pixels) :
266 if (
this != &image) {
366 const int& iz,
const int& it)
458 const int& iz,
const int& it)
const
655 const int& iz,
const int& it)
const
676 return (
double(this->
at(ix)));
692 return (
double(this->
at(ix,iy)));
709 return (
double(this->
at(ix,iy,iz)));
728 return (
double(this->
at(ix,iy,iz,it)));
788 bool not_loaded = (image.
m_pixels == NULL);
805 #if defined(G_SMALL_MEMORY)
903 if (pixels == NULL) {
954 *
m_nulval = *((
unsigned long*)value);
unsigned long & at(const int &ix)
Image pixel access operator.
Abstract FITS image base class.
int offset(const int &ix) const
Return pixel offset.
GFitsImageULong & operator=(const GFitsImageULong &image)
Assignment operator.
void * pixels(void)
Return pointer to image pixel.
unsigned long * m_pixels
Pixels.
Unsigned long image FITS class.
virtual ~GFitsImageULong(void)
Destructor.
void copy_members(const GFitsImageULong &image)
Copy class members.
void alloc_nulval(const void *value)
Allocates nul value.
void release_data(void)
Release data.
#define G_BITPIX
Defines the number of bits per pixel.
int m_num_pixels
Number of image pixels.
Unsigned long image FITS class definition.
long * m_naxes
Number of pixels in each dimension.
void init_data(void)
Initialise data.
GFitsImageULong * clone(void) const
Clone FITS image.
void load_data(void) const
Load data.
CFITSIO interface header.
void clear(void)
Clear instance.
virtual double pixel(const int &ix) const =0
void fetch_data(void)
Fetch image pixels.
void init_members(void)
Initialise class members.
void alloc_data(void)
Allocate data.
void init_members(void)
Initialise class members.
unsigned long * m_nulval
NULL value.
GFitsImageULong(void)
Void constructor.
double pixel(const int &ix) const
Return value of image pixel.
unsigned long & operator()(const int &ix)
Image pixel access operator.
int m_bitpix
Number of Bits/pixel.
void free_members(void)
Delete class members.
Exception handler interface definition.
GFitsImage & operator=(const GFitsImage &image)
Assignment operator.
void construct_data(const unsigned long *pixels)
Construct data from array.
void free_members(void)
Delete class members.
int type(void) const
Return image type.
GFitsHeaderCard & card(const int &cardno)
Return header card.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.