/usr/include/ossim/imaging/ossimOrthoImageMosaic.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 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*******************************************************************
// $Id: ossimOrthoImageMosaic.h 10777 2007-04-25 14:49:17Z gpotts $
#ifndef ossimOrthoImageMosaic_HEADER
#define ossimOrthoImageMosaic_HEADER
#include <ossim/imaging/ossimImageMosaic.h>
class OSSIMDLLEXPORT ossimOrthoImageMosaic : public ossimImageMosaic
{
public:
ossimOrthoImageMosaic();
ossimOrthoImageMosaic(const std::vector<ossimImageSource*>& inputSources);
virtual ~ossimOrthoImageMosaic();
virtual ossimIrect getBoundingRect(ossim_uint32 resLevel=0) const;
virtual void initialize();
virtual bool getImageGeometry(ossimKeywordlist& kwl,
const char* prefix=0);
/*!
* Used to retrieve the number of overlapping images withint the given
* rect.
*/
virtual ossim_uint32 getNumberOfOverlappingImages(const ossimIrect& rect, ossim_uint32 resLevel=0)const;
/*!
* Used to populate the result with the index of the overlapping images.
*/
virtual void getOverlappingImages(std::vector<ossim_uint32>& result,
const ossimIrect& rect,
ossim_uint32 resLevel=0)const;
virtual ossimRefPtr<ossimImageData> getNextTile(ossim_uint32& returnedIdx,
const ossimIrect& origin,
ossim_uint32 resLevel=0);
ossimIrect getRelativeRect(ossim_uint32 index,
ossim_uint32 resLevel = 0)const;
protected:
std::vector<ossimDpt> theInputTiePoints;
/*!
* Holds R0 delta and will be scaled for different r-level requests
*
*/
ossimDpt theDelta;
/*!
* Will hold the upper left tie of the mosaic.
*/
ossimDpt theUpperLeftTie;
ossimIrect theBoundingRect;
ossimString theUnits;
void computeBoundingRect(ossim_uint32 resLevel=0);
TYPE_DATA
};
#endif
|