27#ifndef GSKYPROJECTION_HPP
28#define GSKYPROJECTION_HPP
66 virtual int size(
void)
const = 0;
67 virtual std::string
code(
void)
const = 0;
68 virtual std::string
name(
void)
const = 0;
77 virtual std::string
coordsys(
void)
const;
Definition of interface for all GammaLib classes.
Abstract FITS extension base class definition.
Sky direction class interface definition.
Sky map pixel class definition.
Interface class for all GammaLib classes.
Abstract FITS extension base class.
Abstract sky projection base class.
friend bool operator==(const GSkyProjection &a, const GSkyProjection &b)
Equality operator.
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
void copy_members(const GSkyProjection &proj)
Copy class members.
virtual bool compare(const GSkyProjection &proj) const =0
void free_members(void)
Delete class members.
virtual std::string coordsys(void) const
Returns coordinate system.
virtual std::string code(void) const =0
virtual std::string classname(void) const =0
Return class name.
virtual void read(const GFitsHDU &hdu)=0
int m_coordsys
0=CEL, 1=GAL
virtual double solidangle(const GSkyPixel &pixel) const =0
virtual GSkyProjection * clone(void) const =0
Clones object.
virtual int size(void) const =0
friend bool operator!=(const GSkyProjection &a, const GSkyProjection &b)
Non-equality operator.
void init_members(void)
Initialise class members.
virtual void clear(void)=0
Clear object.
virtual GSkyPixel dir2pix(const GSkyDir &dir) const =0
virtual std::string name(void) const =0
virtual GSkyProjection & operator=(const GSkyProjection &proj)
Assignment operator.
GSkyProjection(void)
Void constructor.
virtual ~GSkyProjection(void)
Destructor.
virtual void write(GFitsHDU &hdu) const =0
virtual GSkyDir pix2dir(const GSkyPixel &pixel) const =0