/usr/include/ossim/imaging/ossimTilingRect.h is in libossim-dev 2.2.2-1.
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 | //*******************************************************************
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Mingjie Su
//
// Description: implementation for image generator
//
//*************************************************************************
// $Id: ossimTilingRect.h 2725 2011-06-15 18:13:07Z david.burken $
#ifndef ossimTilingRect_HEADER
#define ossimTilingRect_HEADER 1
#include <ossim/imaging/ossimTiling.h>
#include <ossim/imaging/ossimGeoPolyCutter.h>
#include <ossim/imaging/ossimGeoAnnotationPolyObject.h>
#include <ossim/imaging/ossimGeoAnnotationMultiPolyObject.h>
class OSSIM_DLL ossimTilingRect : public ossimTiling
{
public:
ossimTilingRect();
virtual ~ossimTilingRect();
virtual bool initialize(const ossimMapProjection& proj,
const ossimIrect& boundingRect);
virtual bool next(ossimRefPtr<ossimMapProjection>& resultProjection,
ossimIrect& resultingBounds,
ossimString& resultingName);
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0)const;
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
protected:
bool initializeBase(const ossimMapProjection& proj,
const ossimIrect& boundingRect,
ossimDpt& convertedTilingDistance);
void getConvertedDistance(ossimDpt& pt, ossimDpt inputDistance) const;
ossimDpt getPaddingSize() const;
bool m_clipToAoi;
ossim_float64 m_lastWidth;
ossim_float64 m_lastHeight;
bool m_useOffset;
ossimDpt m_offsetInPixels;
ossimDpt m_tilingDistanceInPixels;
ossimDpt m_tilinResolutionDistance;
ossimUnitType m_tilingResolutionUnitType;
ossimDpt m_fractionalPixelMisalignment;
TYPE_DATA
};
#endif
|