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