USGS

Isis 3.0 Developer's Reference (API)

Home

CissLabels.h

Go to the documentation of this file.
00001 #ifndef CISSLABELS_H
00002 #define CISSLABELS_H
00003 
00025 #include <string>
00026 #include <vector>
00027 
00028 #include <QString>
00029 
00030 namespace Isis {
00031   class Pvl;
00048   class CissLabels {
00049     public:
00050       CissLabels(Pvl &lab);
00051       CissLabels(const QString &file);
00053       ~CissLabels() {};
00054 
00055 
00066       inline bool            NarrowAngle()           const {
00067         return p_cissNA;
00068       };
00069 
00070 
00081       inline bool            WideAngle()           const {
00082         return !p_cissNA;
00083       };
00084 
00085 
00096       inline double          BiasStripMean()         const {
00097         return p_biasStripMean;
00098       };
00099 
00100 
00112       inline QString         CompressionRatio()      const {
00113         return p_compressionRatio;
00114       };
00115 
00116 
00127       inline QString         CompressionType()       const {
00128         return p_compressionType;
00129       };
00130 
00131 
00142       inline QString         DataConversionType()    const {
00143         return p_dataConversionType;
00144       };
00145 
00146 
00156       inline QString         DelayedReadoutFlag()    const {
00157         return p_delayedReadoutFlag;
00158       };
00159 
00160 
00170       inline double          ExposureDuration()      const {
00171         return p_exposureDuration;
00172       };
00173 
00174 
00201       std::vector <QString>       FilterName()              const {
00202         return p_filter;
00203       };
00204 
00205 
00216       std::vector <int>           FilterIndex()             const {
00217         return p_filterIndex;
00218       };
00219 
00220 
00232       inline QString         FlightSoftwareVersion() const {
00233         return p_flightSoftwareVersion;
00234       };
00235 
00236 
00247       inline double          FrontOpticsTemp()       const {
00248         return p_frontOpticsTemp;
00249       };
00250 
00251 
00262       inline int             GainModeId()            const {
00263         return p_gainModeId;
00264       };
00265 
00266 
00277       inline int             GainState()            const {
00278         return p_gainState;
00279       };
00280 
00281 
00290       inline double          ImageNumber()             const {
00291         return p_imageNumber;
00292       };
00293 
00294 
00305       inline double          InstrumentDataRate()    const {
00306         return p_instrumentDataRate;
00307       };
00308 
00309 
00319       inline QString         InstrumentId()          const {
00320         return p_instrumentId;
00321       };
00322 
00323 
00337       inline QString         InstrumentModeId()      {
00338         return p_instrumentModeId.toLower();
00339       };
00340 
00341 
00353       inline QString         ReadoutCycleIndex()     const {
00354         return p_readoutCycleIndex;
00355       };
00356 
00357 
00370       inline int             ReadoutOrder()     const {
00371         return p_readoutOrder;
00372       };
00373 
00374 
00385       inline QString         ShutterModeId()         const {
00386         return p_shutterModeId;
00387       };
00388 
00389 
00401       inline int             SummingMode()           const {
00402         return p_summingMode;
00403       };
00404 
00405 
00415       inline bool            AntibloomingOn()        const {
00416         return p_antiblooming;
00417       };
00418 
00419 
00420     private:
00421       void Init(Pvl &lab);
00422       void ReadLabels(Pvl &lab);
00423       void ComputeImgProperties();
00424 
00425 
00427       QString p_ABflag;
00429       bool p_antiblooming;
00431       double p_biasStripMean;
00433       bool p_cissNA;
00435       QString p_compressionRatio;
00437       QString p_compressionType;
00439       QString p_dataConversionType;
00441       QString p_delayedReadoutFlag;
00443       double p_exposureDuration;
00445       std::vector <QString> p_filter;
00447       std::vector <int> p_filterIndex;
00449       QString p_flightSoftwareVersion;
00451       double p_frontOpticsTemp;
00453       int p_gainModeId;
00455       int p_gainState;
00457       double p_imageNumber;
00459       double p_instrumentDataRate;
00461       QString p_instrumentId;
00463       QString p_instrumentModeId;
00465       QString p_readoutCycleIndex;
00467       int p_readoutOrder;
00469       QString p_shutterModeId;
00471       int p_summingMode;
00472   };
00473 };
00474 
00475 #endif