Isis 3 Programmer Reference
Spectel.h
Go to the documentation of this file.
1 #ifndef Spectel_h
2 #define Spectel_h
3 
28 #include "Pixel.h"
29 
30 namespace Isis {
43  class Spectel : public Isis::Pixel {
44  public:
45  Spectel();
46  Spectel(int sample, int line, int band, double DN, double center, double width);
47  Spectel(Pixel pixel, double center, double width);
48  Spectel(const Spectel& spectel);
49  virtual ~Spectel();
50 
51  Spectel &operator=(const Spectel& other);
52 
53  double centerWavelength() const;
54  double filterWidth() const;
55 
56  private:
58  double m_center;
60  double m_width;
61  };
62 }
63 
64 #endif
65 
66 
double centerWavelength() const
Gets central wavelength of spectel.
Definition: Spectel.cpp:111
double filterWidth() const
Gets wavelength width associated with spectel.
Definition: Spectel.cpp:123
int sample() const
Definition: Pixel.cpp:102
double m_center
Center wavelength associated with pixel.
Definition: Spectel.h:58
Store and/or manipulate pixel values.
Definition: Pixel.h:63
Spectel()
Constructs an empty Spectel.
Definition: Spectel.cpp:34
int band() const
Definition: Pixel.cpp:108
Spectel & operator=(const Spectel &other)
Copy assignment operator.
Definition: Spectel.cpp:96
virtual ~Spectel()
Default destructor.
Definition: Spectel.cpp:91
double m_width
Wavelength width (FWHM) associated with pixel.
Definition: Spectel.h:60
int line() const
Definition: Pixel.cpp:96
double DN() const
Definition: Pixel.cpp:114
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Stores information about a "Spectral pixel" or spectel.
Definition: Spectel.h:43