/usr/include/ossim/imaging/ossimLandsatTileSource.h is in libossim-dev 1.8.16-3+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
// Description:
//
// Contains class definition for the class "ossimLandsatTileSource".
// ossimLandsatTileSource is derived from ImageHandler which is derived from
// TileSource.
//
//*******************************************************************
// $Id: ossimLandsatTileSource.h 17932 2010-08-19 20:34:35Z dburken $
#ifndef ossimLandsatTileSource_HEADER
#define ossimLandsatTileSource_HEADER
#include <ossim/imaging/ossimGeneralRasterTileSource.h>
#include <ossim/base/ossimDate.h>
#include <ossim/support_data/ossimFfL7.h>
class OSSIM_DLL ossimLandsatTileSource : public ossimGeneralRasterTileSource
{
public:
ossimLandsatTileSource();
ossimLandsatTileSource(const ossimKeywordlist& kwl,
const char* prefix=0);
virtual ossimString getShortName() const;
virtual ossimString getLongName() const;
virtual bool open();
virtual double getNullPixelValue(ossim_uint32 band=0)const;
virtual double getMinPixelValue(ossim_uint32 band=0)const;
virtual double getMaxPixelValue(ossim_uint32 band=0)const;
virtual ossimScalarType getOutputScalarType() const;
bool getAcquisitionDate(ossimDate& date)const;
ossimString getSatelliteName()const;
ossimFilename getBandFilename(ossim_uint32 idx)const;
bool isPan()const;
bool isVir()const;
bool isTm()const;
//! Returns the image geometry object associated with this tile source or NULL if non defined.
//! The geometry contains full-to-local image transform as well as projection (image-to-world)
virtual ossimRefPtr<ossimImageGeometry> getImageGeometry();
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix = NULL);
/**
* @brief Gets a property for matching name.
* @param name The name of the property to get.
* @return Returns property matching "name".
*/
virtual ossimRefPtr<ossimProperty> getProperty(const ossimString& name)const;
/**
* @brief Gets a list of property names available.
* @param propertyNames The list to push back names to.
*/
virtual void getPropertyNames(std::vector<ossimString>& propertyNames)const;
private:
virtual ~ossimLandsatTileSource();
void openHeader(const ossimFilename& file);
ossimRefPtr<ossimFfL7> theFfHdr;
TYPE_DATA
};
#endif
|