/usr/include/ossim/imaging/ossimLandsatTileSource.h is in libossim-dev 1.7.21-3ubuntu2.
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 86 87 88 89 90 91 92 93 | //*******************************************************************
//
// 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 10751 2007-04-23 16:49:08Z dburken $
#ifndef ossimLandsatTileSource_HEADER
#define ossimLandsatTileSource_HEADER
#include <ossim/imaging/ossimGeneralRasterTileSource.h>
#include <ossim/base/ossimDate.h>
class ossimFfL7;
class OSSIM_DLL ossimLandsatTileSource : public ossimGeneralRasterTileSource
{
public:
ossimLandsatTileSource();
ossimLandsatTileSource(const ossimKeywordlist& kwl,
const char* prefix=0);
virtual ~ossimLandsatTileSource();
virtual ossimString getShortName() const;
virtual ossimString getLongName() const;
virtual ossimString className() 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;
/*!
* Populates the keyword list with image geometry information. This
* method is used to relay projection/model information to users.
* Returns true if geometry info is present, false if not.
*/
virtual bool getImageGeometry(ossimKeywordlist& kwl,
const char* prefix=0);
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:
void openHeader(const ossimFilename& file);
ossimFfL7* theFfHdr;
TYPE_DATA
};
#endif
|