27 #ifndef GFITSIMAGEDOUBLE_HPP
28 #define GFITSIMAGEDOUBLE_HPP
56 double&
operator()(
const int& ix,
const int& iy);
57 double&
operator()(
const int& ix,
const int& iy,
const int& iz);
58 double&
operator()(
const int& ix,
const int& iy,
const int& iz,
const int& it);
60 const double&
operator()(
const int& ix,
const int& iy)
const;
61 const double&
operator()(
const int& ix,
const int& iy,
const int& iz)
const;
62 const double&
operator()(
const int& ix,
const int& iy,
const int& iz,
const int& it)
const;
68 double&
at(
const int& ix);
69 double&
at(
const int& ix,
const int& iy);
70 double&
at(
const int& ix,
const int& iy,
const int& iz);
71 double&
at(
const int& ix,
const int& iy,
const int& iz,
const int& it);
72 const double&
at(
const int& ix)
const;
73 const double&
at(
const int& ix,
const int& iy)
const;
74 const double&
at(
const int& ix,
const int& iy,
const int& iz)
const;
75 const double&
at(
const int& ix,
const int& iy,
const int& iz,
const int& it)
const;
76 double pixel(
const int& ix)
const;
77 double pixel(
const int& ix,
const int& iy)
const;
78 double pixel(
const int& ix,
const int& iy,
const int& iz)
const;
79 double pixel(
const int& ix,
const int& iy,
const int& iz,
const int& it)
const;
111 return (
"GFitsImageDouble");
Abstract FITS image base class.
double & at(const int &ix)
Image pixel access operator.
std::string classname(void) const
Return class name.
void copy_members(const GFitsImageDouble &image)
Copy class members.
void free_members(void)
Delete class members.
double & operator()(const int &ix)
Image pixel access operator.
double * m_nulval
NULL value.
int type(void) const
Return image type.
Abstract FITS image base class definition.
GFitsImageDouble(void)
Void constructor.
void load_data(void) const
Load data.
void * pixels(void)
Return pointer to image pixel.
Double precision FITS image class.
double pixel(const int &ix) const
Return value of image pixel.
void release_data(void)
Release data.
GFitsImageDouble & operator=(const GFitsImageDouble &image)
Assignment operator.
int naxes(const int &axis) const
Return dimension of an image axis.
void alloc_data(void)
Allocate data.
void init_members(void)
Initialise class members.
virtual ~GFitsImageDouble(void)
Destructor.
GFitsImageDouble * clone(void) const
Clone FITS image.
void clear(void)
Clear instance.
void alloc_nulval(const void *value)
Allocates nul value.
void construct_data(const double *pixels)
Construct data from array.
void init_data(void)
Initialise data.