/usr/include/ossim/imaging/ossimNullPixelFlip.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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
// Description:
//
//
//*******************************************************************
// $Id$
#ifndef ossimNullPixelFlip_HEADER
#define ossimNullPixelFlip_HEADER
#include <ossim/imaging/ossimImageSourceFilter.h>
class OSSIM_DLL ossimNullPixelFlip : public ossimImageSourceFilter
{
public:
enum ClipMode
{
ClipMode_NONE = 0,
ClipMode_BOUNDING_RECT = 1
};
enum ReplacementType
{
ReplacementType_MINPIX = 0,
ReplacementType_MAXPIX = 1
};
ossimNullPixelFlip(ClipMode clipMode = ClipMode_BOUNDING_RECT,
ReplacementType replacementType=ReplacementType_MINPIX);
virtual void initialize();
virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& tile_rect,
ossim_uint32 resLevel=0);
protected:
template <class T> void flipPixels(T dummy,
ossimImageData* inpuTile,
ossim_uint32 resLevel);
template <class T> ossimImageData* clipTile(T dummy,
ossimImageData* inpuTile,
ossim_uint32 resLevel);
ClipMode m_clipMode;
ReplacementType m_replacementType;
TYPE_DATA
};
#endif
|