/usr/include/ossim/imaging/ossimSrtmTileSource.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 | //----------------------------------------------------------------------------
// 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 17932 2010-08-19 20:34:35Z 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 ossimString getShortName() const;
virtual ossimString getLongName() const;
virtual bool open();
//! Returns the image geometry object associated with this tile source or NULL if not defined.
//! The geometry contains full-to-local image transform as well as projection (image-to-world)
virtual ossimRefPtr<ossimImageGeometry> getImageGeometry();
/**
* 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);
/**
* @brief Gets a property.
* @param The name of the property to get.
* @return The property if found.
*/
virtual ossimRefPtr<ossimProperty> getProperty(
const ossimString& name)const;
/**
* @brief Adds property names to array.
* @param propertyNames Array to populate with property names.
*/
virtual void getPropertyNames(std::vector<ossimString>& propertyNames)const;
protected:
virtual ~ossimSrtmTileSource();
ossimSrtmSupportData m_SrtmSupportData;
TYPE_DATA
};
#endif
|