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");
Abstract FITS image base class definition.
Single precision FITS image class.
void free_members(void)
Delete class members.
int type(void) const
Return image type.
double pixel(const int &ix) const
Return value of image pixel.
float & at(const int &ix)
Image pixel access operator.
std::string classname(void) const
Return class name.
void load_data(void) const
Load data.
void alloc_nulval(const void *value)
Allocates nul value.
GFitsImageFloat(void)
Void constructor.
void * pixels(void)
Return pointer to image pixel.
float * m_nulval
NULL value.
virtual ~GFitsImageFloat(void)
Destructor.
float & operator()(const int &ix)
Image pixel access operator.
GFitsImageFloat & operator=(const GFitsImageFloat &image)
Assignment operator.
void clear(void)
Clear instance.
void release_data(void)
Release data.
GFitsImageFloat * clone(void) const
Clone FITS image.
void construct_data(const float *pixels)
Construct data from array.
void alloc_data(void)
Allocate data.
void init_data(void)
Initialise data.
void init_members(void)
Initialise class members.
void copy_members(const GFitsImageFloat &image)
Copy class members.
Abstract FITS image base class.
int naxes(const int &axis) const
Return dimension of an image axis.