97 const long long* pixels) :
123 const long long* pixels) :
149 const int& nz,
const int& nt,
150 const long long* pixels) :
174 const long long* pixels) :
267 if (
this != &image) {
367 const int& iz,
const int& it)
459 const int& iz,
const int& it)
const
656 const int& iz,
const int& it)
const
677 return (
double(this->
at(ix)));
693 return (
double(this->
at(ix,iy)));
710 return (
double(this->
at(ix,iy,iz)));
729 return (
double(this->
at(ix,iy,iz,it)));
789 bool not_loaded = (image.
m_pixels == NULL);
806 #if defined(G_SMALL_MEMORY)
904 if (pixels == NULL) {
Long long integer FITS image class definition.
void clear(void)
Clear instance.
Abstract FITS image base class.
int offset(const int &ix) const
Return pixel offset.
void alloc_data(void)
Allocate data.
long long * m_nulval
NULL value.
void * pixels(void)
Return pointer to image pixel.
void load_data(void) const
Load data.
double pixel(const int &ix) const
Return value of image pixel.
void copy_members(const GFitsImageLongLong &image)
Copy class members.
long long & at(const int &ix)
Image pixel access operator.
Long long integer FITS image class.
int m_num_pixels
Number of image pixels.
GFitsImageLongLong * clone(void) const
Clone FITS image.
void construct_data(const long long *pixels)
Construct data from array.
long * m_naxes
Number of pixels in each dimension.
void free_members(void)
Delete class members.
CFITSIO interface header.
virtual double pixel(const int &ix) const =0
#define G_BITPIX
Defines the number of bits per pixel.
void fetch_data(void)
Fetch image pixels.
long long & operator()(const int &ix)
Image pixel access operator.
void init_members(void)
Initialise class members.
void init_members(void)
Initialise class members.
void release_data(void)
Release data.
GFitsImageLongLong(void)
Void constructor.
int type(void) const
Return image type.
void init_data(void)
Initialise data.
void init_members(void)
Initialise class members.
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.
GFitsHeaderCard & card(const int &cardno)
Return header card.
void alloc_nulval(const void *value)
Allocates nul value.
GFitsImageLongLong & operator=(const GFitsImageLongLong &image)
Assignment operator.
virtual ~GFitsImageLongLong(void)
Destructor.
long long * m_pixels
Pixels.
void free_members(void)
Delete class members.