Isis Developer Reference
Spectel.h
Go to the documentation of this file.
1#ifndef Spectel_h
2#define Spectel_h
3
9/* SPDX-License-Identifier: CC0-1.0 */
10
11#include "Pixel.h"
12
13namespace 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
Store and/or manipulate pixel values.
Definition Pixel.h:48
int line() const
Definition Pixel.cpp:80
int sample() const
Definition Pixel.cpp:86
int band() const
Definition Pixel.cpp:92
double DN() const
Definition Pixel.cpp:98
Stores information about a "Spectral pixel" or spectel.
Definition Spectel.h:26
virtual ~Spectel()
Default destructor.
Definition Spectel.cpp:75
double centerWavelength() const
Gets central wavelength of spectel.
Definition Spectel.cpp:95
Spectel & operator=(const Spectel &other)
Copy assignment operator.
Definition Spectel.cpp:80
double filterWidth() const
Gets wavelength width associated with spectel.
Definition Spectel.cpp:107
Spectel()
Constructs an empty Spectel.
Definition Spectel.cpp:18
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16