This file is indexed.

/usr/include/ossim/imaging/ossimFeatherMosaic.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
//*******************************************************************
// Copyright (C) 2000 ImageLinks Inc. 
//
// License:  MIT
// 
// See LICENSE.txt file in the top level directory for more details.
// 
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimFeatherMosaic.h 15766 2009-10-20 12:37:09Z gpotts $
#ifndef ossimFeatherMosaic_HEADER
#define ossimFeatherMosaic_HEADER
#include <vector>
#include <iterator>

#include <ossim/imaging/ossimImageMosaic.h>
#include <ossim/base/ossimDpt.h>


/**
 * Performs a spatial blend accross overlapping regions
 */
class OSSIMDLLEXPORT ossimFeatherMosaic : public ossimImageMosaic
{
public:
   ossimFeatherMosaic();
   ossimFeatherMosaic(ossimConnectableObject::ConnectableObjectList& inputSources);
   virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& origin,
                                   ossim_uint32 resLevel=0);
   virtual void initialize();
       
protected:
   virtual ~ossimFeatherMosaic();
   /**
    * This is only visible by this class and will remain here
    * unless we want to move it later.
    */
   class ossimFeatherInputInformation
   {
      
   public:
      ossimFeatherInputInformation(const vector<ossimIpt>& validVertices=vector<ossimIpt>());

      void setVertexList(const vector<ossimIpt>& validVertices);
      
      ossimDpt        theCenter;
      ossimDpt        theAxis1;
      ossimDpt        theAxis2;
      double          theAxis1Length;
      double          theAxis2Length;
      std::vector<ossimIpt> theValidVertices;
      
   };

   friend ostream& operator<<(ostream& out,
                              const ossimFeatherInputInformation& data);
   

   /**
    * will hold an array of input information
    *
    */
   ossimFeatherInputInformation* theInputFeatherInformation;
   ossimRefPtr<ossimImageData> theAlphaSum;
   ossimRefPtr<ossimImageData> theResult;
   
   /**
    * Will hold the count for the feather information list.
    */
   long                          theFeatherInfoSize;

   /**
    * The dummy variable is used for the template type.  See the getTile
    * method for the call.
    */
   template <class T>
   ossimRefPtr<ossimImageData> combine(T dummyVariableNotUsed,
                                       const ossimIrect& tileRect,
                                       ossim_uint32 resLevel);
   
   virtual double computeWeight(long index,
                                const ossimDpt& point)const;
TYPE_DATA
};

#endif /* #ifndef ossimFeatherMosaic_HEADER */