Isis 3.0 Programmer Reference
Back | Home
SpectralDefinition.h
Go to the documentation of this file.
1 #ifndef SpectralDefinition_h
2 #define SpectralDefinition_h
3 
28 #include <vector>
29 
30 #include "Buffer.h"
31 #include "Cube.h"
32 #include "Spectel.h"
33 
34 namespace Isis{
35  class WavelengthsAndWidths;
36  class Spectel;
37 
53 
54  public:
56  virtual ~SpectralDefinition();
57 
58  virtual Spectel findSpectel(const int sample, const int line, const int band) const = 0;
59  virtual Spectel findSpectel(const Spectel &inSpectel, int sectionNumber) const = 0;
60  virtual Spectel findSpectelByWavelength(const double wavlength, int sectionNumber) const = 0;
61 
62  virtual int sampleCount() const;
63  virtual int lineCount() const;
64  virtual int bandCount() const;
65  virtual int sectionCount() const;
66 
67  virtual int sectionNumber(int s, int l, int b) const = 0;
68 
69  protected:
70 
72  int m_ns;
73 
75  int m_nl;
76 
78  int m_nb;
79 
82 
83  private:
84  void init();
85 
86  };
87 }
88 
89 #endif
SpectralDefinition()
Constructs an empty SpectralDefinition object.
void init()
Constructor initializer.
virtual int sampleCount() const
Returns the number of samples in the calibration image.
int m_numSections
Number of sections of the chip/wavelength data.
virtual int bandCount() const
Returns the number of bands in the calibration image.
virtual int sectionCount() const
Returns the number of sections in the calibration image.
virtual int lineCount() const
Returns the number of line in the calibration image.
virtual ~SpectralDefinition()
default destructor
contains calibration info for spectral smile correction (center wavelengths and widths for the whole ...
int m_nl
Number of lines in input Cube.
int m_nb
Number of bands in input Cube.
int m_ns
Number of samples in input Cube.
Stores information about a &quot;Spectral pixel&quot; or spectel.
Definition: Spectel.h:43

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:29:34