Isis 3.0 Programmer Reference
Back | Home
CameraStatistics.h
Go to the documentation of this file.
1 #ifndef CameraStatistics_h
2 #define CameraStatistics_h
3 
27 #include <QString>
28 
29 namespace Isis {
30  class Camera;
31  class Pvl;
32  class PvlKeyword;
33  class Statistics;
34 
58  public:
59  CameraStatistics(QString filename, int sinc, int linc);
60  CameraStatistics(Camera *cam, int sinc, int linc);
61  CameraStatistics(Camera *cam, int sinc, int linc, QString filename);
62  virtual ~CameraStatistics();
63 
64  void addStats(Camera *cam, int &sample, int &line);
65  PvlKeyword constructKeyword(QString keyname, double value,
66  QString unit) const;
67  Pvl toPvl() const;
68 
69 
76  const Statistics * getLatStat() const {
77  return m_latStat;
78  };
79 
80 
87  const Statistics * getLonStat() const {
88  return m_lonStat;
89  };
90 
91 
92 
99  const Statistics * getResStat() const {
100  return m_resStat;
101  };
102 
103 
104 
111  const Statistics * getObliqueResStat() const {
112  return m_obliqueResStat;
113  };
114 
122  return m_obliqueSampleResStat;
123  };
124 
125 
126 
134  return m_obliqueLineResStat;
135  };
136 
137 
138 
145  const Statistics * getSampleResStat() const {
146  return m_sampleResStat;
147  };
148 
149 
156  const Statistics * getLineResStat() const {
157  return m_lineResStat;
158  };
159 
160 
167  const Statistics * getAspectRatioStat() const {
168  return m_aspectRatioStat;
169  };
170 
171 
178  const Statistics * getPhaseStat() const {
179  return m_phaseStat;
180  };
181 
182 
189  const Statistics * getEmissionStat() const {
190  return m_emissionStat;
191  };
192 
193 
200  const Statistics * getIncidenceStat() const {
201  return m_incidenceStat;
202  };
203 
204 
212  return m_localSolarTimeStat;
213  };
214 
215 
222  const Statistics * getLocalRaduisStat() const {
223  return m_localRaduisStat;
224  };
225 
226 
233  const Statistics * getNorthAzimuthStat() const {
234  return m_northAzimuthStat;
235  };
236 
237  private:
238  void init(Camera *cam, int sinc, int linc, QString filename);
239 
241  QString m_filename;
242  int m_sinc;
243  int m_linc;
244 
247 
248 
249 
253 
264  };
265 };
266 
267 #endif
268 
const Statistics * getSampleResStat() const
Accessor method for inspecting the statistics gathered on the Sample Resolutions of the input Camera...
Statistics * m_emissionStat
Emission angle statistics.
Pvl toPvl() const
Constructs a Pvl object from the values in the various statistics objects.
Statistics * m_latStat
Universal latitude statistics.
Statistics * m_obliqueResStat
Oblique pixel resolution statistics.
const Statistics * getPhaseStat() const
Accessor method for inspecting the statistics gathered on the Phase Angles of the input Camera...
Statistics * m_phaseStat
Phase angle statistics.
const Statistics * getAspectRatioStat() const
Accessor method for inspecting the statistics gathered on the Aspect Ratios of the input Camera...
Statistics * m_localSolarTimeStat
Local solar time statistics.
Statistics * m_lonStat
Universal longitude statistics.
int m_linc
Line increment for composing statistics.
const Statistics * getResStat() const
Accessor method for inspecting the statistics gathered on the Pixel Resolutions of the input Camera...
const Statistics * getEmissionStat() const
Accessor method for inspecting the statistics gathered on the Emission Angles of the input Camera...
const Statistics * getLocalRaduisStat() const
Accessor method for inspecting the statistics gathered on the Local Radii (in meters) of the input Ca...
Statistics * m_northAzimuthStat
North azimuth statistics.
Statistics * m_localRaduisStat
Local radius statistics (in meters).
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:109
void addStats(Camera *cam, int &sample, int &line)
Add statistics data to Statistics objects if the Camera position given by the provided line and sampl...
int m_sinc
Sample increment for composing statistics.
Calculates a series of statistics pertaining to a Camera.
const Statistics * getObliqueLineResStat() const
Accessor method for inspecting the statistics gathered on the oblique line resolution of the input Ca...
const Statistics * getLatStat() const
Accessor method for inspecting the statistics gathered on the Universal Latitudes of the input Camera...
Statistics * m_sampleResStat
Sample resolution statistics.
Statistics * m_resStat
Pixel resolution statistics.
virtual ~CameraStatistics()
Destroy this instance, deletes all the Statistics objects.
const Statistics * getIncidenceStat() const
Accessor method for inspecting the statistics gathered on the Incidence Angles of the input Camera...
CameraStatistics(QString filename, int sinc, int linc)
Constructs the Camera Statistics object from a Cube filename.
const Statistics * getNorthAzimuthStat() const
Accessor method for inspecting the statistics gathered on the North Azimuths of the input Camera...
A single keyword-value pair.
Definition: PvlKeyword.h:98
Statistics * m_obliqueLineResStat
Oblique line resolution statistics.
const Statistics * getLocalSolarTimeStat() const
Accessor method for inspecting the statistics gathered on the Local Solar Times of the input Camera...
PvlKeyword constructKeyword(QString keyname, double value, QString unit) const
Takes a name, value, and optionally units and constructs a PVL Keyword.
const Statistics * getObliqueResStat() const
Accessor method for inspecting the statistics gathered on the oblique pixel resolutions of the input ...
void init(Camera *cam, int sinc, int linc, QString filename)
FileName of the Cube the Camera was derived from.
Container for cube-like labels.
Definition: Pvl.h:135
Statistics * m_obliqueSampleResStat
Oblique sample resolution statistics.
Statistics * m_aspectRatioStat
Aspect ratio statistics.
const Statistics * getObliqueSampleResStat() const
Accessor method for inspecting the statistics gathered on the oblique sample resolutions of the input...
const Statistics * getLonStat() const
Accessor method for inspecting the statistics gathered on the Universal Longitudes of the input Camer...
Statistics * m_incidenceStat
Incidence angle statistics.
Statistics * m_lineResStat
Line resolution statistics.
const Statistics * getLineResStat() const
Accessor method for inspecting the statistics gathered on the Line Resolution of the input Camera...

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:15:42