/usr/include/ossim/imaging/ossimSrtmTileSource.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 | //----------------------------------------------------------------------------
// Copyright (c) 2005, David Burken, all rights reserved.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: David Burken
//
// Description:
//
// Image handler class for a Shuttle Radar Topography Mission (SRTM) file.
//
//----------------------------------------------------------------------------
// $Id: ossimSrtmTileSource.h 9262 2006-07-14 20:49:28Z dburken $
#ifndef ossimSrtmTileSource_HEADER
#define ossimSrtmTileSource_HEADER
#include <ossim/imaging/ossimGeneralRasterTileSource.h>
#include <ossim/support_data/ossimSrtmSupportData.h>
class OSSIMDLLEXPORT ossimSrtmTileSource : public ossimGeneralRasterTileSource
{
public:
ossimSrtmTileSource();
virtual ~ossimSrtmTileSource();
virtual ossimString getShortName() const;
virtual ossimString getLongName() const;
virtual ossimString className() const;
virtual bool open();
/**
* Populates the keyword list with image geometry information. This
* method is used to relay projection/model information to users.
*
* @return true if geometry info is present, false if not.
*/
virtual bool getImageGeometry(ossimKeywordlist& kwl,
const char* prefix=0);
/**
* Method to save the state of an object to a keyword list.
* @return true on success, false on error.
*/
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0)const;
/**
* Method to the load (recreate) the state of an object from a keyword
* list.
*
* @return true on success, false on error.
*/
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix = NULL);
private:
ossimSrtmSupportData theSrtmSupportData;
TYPE_DATA
};
#endif
|