27 #ifndef GFITSIMAGEFLOAT_HPP
28 #define GFITSIMAGEFLOAT_HPP
47 GFitsImageFloat(
const int& nx,
const int& ny,
const int& nz,
const int& nt,
const float*
pixels = NULL);
56 float&
operator()(
const int& ix,
const int& iy);
57 float&
operator()(
const int& ix,
const int& iy,
const int& iz);
58 float&
operator()(
const int& ix,
const int& iy,
const int& iz,
const int& it);
60 const float&
operator()(
const int& ix,
const int& iy)
const;
61 const float&
operator()(
const int& ix,
const int& iy,
const int& iz)
const;
62 const float&
operator()(
const int& ix,
const int& iy,
const int& iz,
const int& it)
const;
68 float&
at(
const int& ix);
69 float&
at(
const int& ix,
const int& iy);
70 float&
at(
const int& ix,
const int& iy,
const int& iz);
71 float&
at(
const int& ix,
const int& iy,
const int& iz,
const int& it);
72 const float&
at(
const int& ix)
const;
73 const float&
at(
const int& ix,
const int& iy)
const;
74 const float&
at(
const int& ix,
const int& iy,
const int& iz)
const;
75 const float&
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 (
"GFitsImageFloat");
float & at(const int &ix)
Image pixel access operator.
float * m_nulval
NULL value.
void free_members(void)
Delete class members.
Abstract FITS image base class.
void load_data(void) const
Load data.
int type(void) const
Return image type.
double pixel(const int &ix) const
Return value of image pixel.
void construct_data(const float *pixels)
Construct data from array.
void * pixels(void)
Return pointer to image pixel.
Abstract FITS image base class definition.
void clear(void)
Clear instance.
float & operator()(const int &ix)
Image pixel access operator.
void init_members(void)
Initialise class members.
GFitsImageFloat & operator=(const GFitsImageFloat &image)
Assignment operator.
void alloc_nulval(const void *value)
Allocates nul value.
Single precision FITS image class.
GFitsImageFloat * clone(void) const
Clone FITS image.
int naxes(const int &axis) const
Return dimension of an image axis.
std::string classname(void) const
Return class name.
void copy_members(const GFitsImageFloat &image)
Copy class members.
virtual ~GFitsImageFloat(void)
Destructor.
GFitsImageFloat(void)
Void constructor.
void alloc_data(void)
Allocate data.
void release_data(void)
Release data.
void init_data(void)
Initialise data.