Isis 3 Programmer Reference
Spectel.h
1 #ifndef Spectel_h
2 #define Spectel_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 
11 #include "Pixel.h"
12 
13 namespace Isis {
26  class Spectel : public Isis::Pixel {
27  public:
28  Spectel();
29  Spectel(int sample, int line, int band, double DN, double center, double width);
30  Spectel(Pixel pixel, double center, double width);
31  Spectel(const Spectel& spectel);
32  virtual ~Spectel();
33 
34  Spectel &operator=(const Spectel& other);
35 
36  double centerWavelength() const;
37  double filterWidth() const;
38 
39  private:
41  double m_center;
43  double m_width;
44  };
45 }
46 
47 #endif
48 
49 
Isis::Spectel
Stores information about a "Spectral pixel" or spectel.
Definition: Spectel.h:26
Isis::Spectel::centerWavelength
double centerWavelength() const
Gets central wavelength of spectel.
Definition: Spectel.cpp:95
Isis::Spectel::filterWidth
double filterWidth() const
Gets wavelength width associated with spectel.
Definition: Spectel.cpp:107
Isis::Spectel::m_center
double m_center
Center wavelength associated with pixel.
Definition: Spectel.h:41
Isis::Pixel::band
int band() const
Definition: Pixel.cpp:92
Isis::Pixel::line
int line() const
Definition: Pixel.cpp:80
Isis::Pixel::DN
double DN() const
Definition: Pixel.cpp:98
Isis::Pixel
Store and/or manipulate pixel values.
Definition: Pixel.h:48
Isis::Pixel::sample
int sample() const
Definition: Pixel.cpp:86
Isis::Spectel::~Spectel
virtual ~Spectel()
Default destructor.
Definition: Spectel.cpp:75
Isis::Spectel::Spectel
Spectel()
Constructs an empty Spectel.
Definition: Spectel.cpp:18
Isis::Spectel::m_width
double m_width
Wavelength width (FWHM) associated with pixel.
Definition: Spectel.h:43
Isis::Spectel::operator=
Spectel & operator=(const Spectel &other)
Copy assignment operator.
Definition: Spectel.cpp:80
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16