/usr/include/ossim/imaging/ossimNormalizedRemapTable.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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: David Burken
//
// Description:
//
// Contains class declaration for NormalizedRemapTable. Table for
// normalizing unsigned 8 bit data.
//*******************************************************************
// $Id: ossimNormalizedRemapTable.h 10456 2007-02-08 14:17:50Z gpotts $
#ifndef ossimNormalizedRemapTable_HEADER
#define ossimNormalizedRemapTable_HEADER
#include <ossim/base/ossimConstants.h>
//*******************************************************************
// CLASS: ossimNormalizedRemapTable
//*******************************************************************
class OSSIM_DLL ossimNormalizedRemapTable
{
public:
ossimNormalizedRemapTable();
virtual ~ossimNormalizedRemapTable(){}
/*!
* Returns a normalized value (between '0.0' and '1.0') from
* a pixel value.
*/
virtual ossim_float64 normFromPix(ossim_int32 pix) const = 0;
/*!
* Returns an pixel value as an int from a normalized value.
*/
virtual ossim_int32 pixFromNorm(ossim_float64 normPix) const = 0;
/*!
* Returns a normalized value (between '0.0' and '1.0') from a
* pixel value.
*/
virtual ossim_float64 operator[](ossim_int32 pix) const = 0;
private:
// Forbid copy constructor and asignment operator.
ossimNormalizedRemapTable(const ossimNormalizedRemapTable& source);
ossimNormalizedRemapTable& operator=(const ossimNormalizedRemapTable&);
};
#endif
|