/usr/include/ossim/base/ossimHistogramSource.h is in libossim-dev 1.8.16-4ubuntu1.
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 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimHistogramSource.h 11721 2007-09-13 13:19:34Z gpotts $
#ifndef ossimHistogramSource_HEADER
#define ossimHistogramSource_HEADER
#include <ossim/base/ossimSource.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimMultiResLevelHistogram.h>
class OSSIM_DLL ossimHistogramSource : public ossimSource
{
public:
virtual ~ossimHistogramSource();
virtual ossimRefPtr<ossimMultiResLevelHistogram> getHistogram();
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0)const;
protected:
ossimHistogramSource(ossimObject* owner=NULL,
ossim_uint32 numberOfInputs=0,
ossim_uint32 numberOfOutputs=0,
bool inputListFixedFlag=true,
bool outputListFixedFlag=true);
ossimRefPtr<ossimMultiResLevelHistogram> theHistogram;
/*!
* if the filename is not "" then it will use
* this to store the histogram outside the keywordlist.
*
* it will set the filename keyword to the filename and
* during a save state will save it out to the file
* instead of inline to the keyword list.
*/
ossimFilename theFilename;
private:
/** Hidden from use copy constructor. */
ossimHistogramSource(const ossimHistogramSource&);
TYPE_DATA
};
#endif /* End of "#ifndef ossimHistogramSource_HEADER" */
|