USGS

Isis 3.0 Application Source Code Reference

Home

HiBlob.h

Go to the documentation of this file.
00001 #ifndef HiBlob_h
00002 #define HiBlob_h
00003 /**
00004  * @file
00005  * $Revision: 4943 $
00006  * $Date: 2013-01-04 11:02:32 -0700 (Fri, 04 Jan 2013) $
00007  *
00008  *   Unless noted otherwise, the portions of Isis written by the USGS are
00009  *   public domain. See individual third-party library and package descriptions
00010  *   for intellectual property information, user agreements, and related
00011  *   information.
00012  *
00013  *   Although Isis has been used by the USGS, no warranty, expressed or
00014  *   implied, is made by the USGS as to the accuracy and functioning of such
00015  *   software and related material nor shall the fact of distribution
00016  *   constitute any such warranty, and no responsibility is assumed by the
00017  *   USGS in connection therewith.
00018  *
00019  *   For additional information, launch
00020  *   $ISISROOT/doc//documents/Disclaimers/Disclaimers.html
00021  *   in a browser or see the Privacy & Disclaimers page on the Isis website,
00022  *   http://isis.astrogeology.usgs.gov, and the USGS privacy and disclaimers on
00023  *   http://www.usgs.gov/privacy.html.
00024  */
00025 
00026 #include <string>
00027 #include "Blobber.h"
00028 #include "HiCalTypes.h"
00029 
00030 namespace Isis {
00031 
00032   /**
00033    * @brief BLOB extraction class
00034    *
00035    * This class provides access and processing of HiRISE data as
00036    * stored in an ISIS BLOB (Table).
00037    *
00038    * Note that the file provided must be a HiRISE ISIS cube file
00039    * that is freshly converted from a PDS compatable EDR
00040    * (hi2isis).  It must contain an ISIS Table named "HiRISE
00041    * Calibration Image".  From that table, data is extracted from
00042    * the "Calibration" field.
00043    *
00044    * @ingroup MarsReconnaissanceOrbiter
00045    *
00046    * @author 2007-10-09 Kris Becker
00047    * @see Blobber
00048    *
00049    * @internal
00050    *  @history 2008-05-12 Steven Lambright - Removed references to CubeInfo
00051    */
00052   class HiBlob : public Blobber {
00053     public:
00054       /**
00055        * @brief Default, mostly useless constructor
00056        */
00057       HiBlob(): Blobber() { }
00058 
00059       /**
00060        * @brief Constructor providing interface to an ISIS Cube object
00061        */
00062       HiBlob(Cube &cube, const QString &tblname,
00063              const QString &field,
00064              const QString &name = "HiBlob") :
00065         Blobber(cube, tblname, field, name)  { }
00066 
00067       /** Destructor */
00068       virtual ~HiBlob() { }
00069 
00070       /** Return a reference to the data */
00071       const HiMatrix &buffer() const {
00072         return (ref());
00073       }
00074 
00075   };
00076 };
00077 
00078 #endif