/usr/include/ossim/base/ossim2dTo2dTransform.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 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossim2dTo2dTransform.h 9094 2006-06-13 19:12:40Z dburken $
#ifndef ossim2dTo2dTransform_HEADER
#define ossim2dTo2dTransform_HEADER
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimDpt.h>
class OSSIMDLLEXPORT ossim2dTo2dTransform : public ossimObject
{
public:
virtual void forward(const ossimDpt& input,
ossimDpt& output) const=0;
virtual void forward(ossimDpt& modify_this) const;
virtual void inverse(const ossimDpt& input,
ossimDpt& output) const;
virtual void inverse(ossimDpt& modify_this) const;
/*!
* Used by the inverse iterator. This will give it a good initial value
* that is within the input transforms
*/
virtual ossimDpt getOrigin() const;
virtual std::ostream& print(std::ostream& out) const = 0;
bool saveState(ossimKeywordlist& kwl,
const char* prefix = 0)const;
bool loadState(const ossimKeywordlist& kwl,
const char* prefix = 0);
void setConvergenceThreshold(const double& new_threshold);
void setMaxIterations(int new_max_iters);
void setDxDy(const ossimDpt& dxdy);
protected:
ossim2dTo2dTransform();
void operator =(const ossim2dTo2dTransform& rhs);
double theConvergenceThreshold;
int theMaxIterations;
ossimDpt theDxDy;
TYPE_DATA
};
#endif
|