This file is indexed.

/usr/include/ossim/imaging/ossimImageDataHelper.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
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
// 
// Author: Garrett Potts (gpotts@imagelinks)
//
//*************************************************************************
// $Id: ossimImageDataHelper.h 9968 2006-11-29 14:01:53Z gpotts $
#ifndef ossimImageDataHelper_HEADER
#define ossimImageDataHelper_HEADER

#include <ossim/imaging/ossimImageData.h>
#include <ossim/base/ossimPolyArea2d.h>
#include <ossim/base/ossimRgbVector.h>

class ossimImageDataHelper
{
public:
   /*!
    * This must be a valid image data object
    */
   ossimImageDataHelper(ossimImageData* imageData=0);

   void setImageData(ossimImageData* imageData);

   void fill(const double* values,
             const ossimIrect& rect,
             bool clipPoly=true);

   void fill(const double* values,
             std::vector<ossimPolygon>& regionList,
             bool clipPoly=true);
   
   void fill(const ossimRgbVector& color,
             std::vector<ossimPolygon>& regionList,
             bool clipPoly=true);
   
   void fill(const ossimRgbVector& color,
             const ossimIrect& rect,
             bool clipPoly=true);
   /*!
    * Values must be of the same type as the image data that
    * we are writing to.
    */
   void fill(const double*  values,
             const ossimPolygon& region,
             bool clipPoly=true);

   void fill(const ossimRgbVector& color,
             const ossimPolygon& region,
             bool clipPoly=true);
   /*!
    * The input is assumed to have the same origin, size and scalar
    * as this object.  This will implement a selection
    */
   void copyInputToThis(const void* input,
                        const ossimPolygon& region,
                        bool clipPoly=true);

   ossimImageData* theImageData;
   

protected:
   ossimIpt        theOrigin;
   ossimIrect      theImageRectangle;
   ossimPolyArea2d thePolyImageRectangle;
   
   template <class T>
   void fill(T dummyVariable,
             const double* values,
             const ossimPolygon& region,
             bool clipPoly);

   template <class T>
   void fill(T dummyVariable,
             const double* values,
             const ossimIrect& region,
             bool clipPoly);
   
   template <class T>
   void copyInputToThis(const T* inputBuf,
                        const ossimPolygon& region,
                        bool clipPoly);

   template <class T>
   void fill(T dummyVariable,
             const double* values,
             const ossimPolygon& region);
   template <class T>
   void fill(T dummyVariable,
             const double* values,
             const ossimIrect& region);
   
   template <class T>
   void copyInputToThis(const T* inputBuf,
                        const ossimPolygon& region);

   
};

#endif