/usr/include/ossim/imaging/ossimGridRemapEngine.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 67 68 69 70 | //*****************************************************************************
// FILE: ossimGridRemapEngine.h
//
// Copyright (C) 2001 ImageLinks, Inc.
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// AUTHOR: Oscar Kramer
//
// DESCRIPTION: Contains declaration of class
//
// LIMITATIONS: None.
//
//*****************************************************************************
// $Id: ossimGridRemapEngine.h 15766 2009-10-20 12:37:09Z gpotts $
#ifndef ossimGridRemapEngine_HEADER
#define ossimGridRemapEngine_HEADER
#include <vector>
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimRefPtr.h>
class ossimDpt;
class ossimGridRemapSource;
class ossimImageData;
class ossimAtbPointSource;
/*!****************************************************************************
*
* CLASS: ossimGridRemapEngine
*
*****************************************************************************/
class ossimGridRemapEngine : public ossimObject
{
public:
virtual ossimObject* dup() const = 0;
virtual void remapTile(const ossimDpt& origin_point,
ossimGridRemapSource* remapper,
ossimRefPtr<ossimImageData>& tile) = 0;
virtual void assignRemapValues(std::vector<ossimAtbPointSource*>& sources)=0;
virtual void computeSourceValue(ossimRefPtr<ossimImageData>& source,
void* result) = 0;
int getNumberOfParams() const { return theNumberOfParams; }
int getNumberOfBands() const { return theNumberOfBands; }
protected:
ossimGridRemapEngine(int numParams, int numBands)
: theNumberOfParams(numParams), theNumberOfBands(numBands) {}
ossimGridRemapEngine() {}
virtual ~ossimGridRemapEngine() {}
virtual void computeRemapNode(ossimAtbPointSource* point_source,
void* source_value,
void* target_value) = 0;
int theNumberOfParams;
int theNumberOfBands;
TYPE_DATA
};
#endif
|