OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimFeatherMosaic.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Garrett Potts
9 //
10 //*************************************************************************
11 // $Id: ossimFeatherMosaic.h 15766 2009-10-20 12:37:09Z gpotts $
12 #ifndef ossimFeatherMosaic_HEADER
13 #define ossimFeatherMosaic_HEADER
14 #include <vector>
15 #include <iterator>
16 
18 #include <ossim/base/ossimDpt.h>
19 
20 
25 {
26 public:
29  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& origin,
30  ossim_uint32 resLevel=0);
31  virtual void initialize();
32 
33 protected:
34  virtual ~ossimFeatherMosaic();
40  {
41 
42  public:
43  ossimFeatherInputInformation(const vector<ossimIpt>& validVertices=vector<ossimIpt>());
44 
45  void setVertexList(const vector<ossimIpt>& validVertices);
46 
52  std::vector<ossimIpt> theValidVertices;
53 
54  };
55 
56  friend ostream& operator<<(ostream& out,
57  const ossimFeatherInputInformation& data);
58 
59 
67 
72 
77  template <class T>
78  ossimRefPtr<ossimImageData> combine(T dummyVariableNotUsed,
79  const ossimIrect& tileRect,
80  ossim_uint32 resLevel);
81 
82  virtual double computeWeight(long index,
83  const ossimDpt& point)const;
85 };
86 
87 #endif /* #ifndef ossimFeatherMosaic_HEADER */
ossimRefPtr< ossimImageData > theAlphaSum
long theFeatherInfoSize
Will hold the count for the feather information list.
#define OSSIMDLLEXPORT
This is only visible by this class and will remain here unless we want to move it later...
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &origin, ossim_uint32 resLevel=0)
Performs a spatial blend accross overlapping regions.
An image mosaic is a simple combiner that will just do a simple mosaic.
virtual void initialize()
std::vector< ossimRefPtr< ossimConnectableObject > > ConnectableObjectList
ossimRefPtr< ossimImageData > combine(T, const ossimIrect &tileRect, ossim_uint32 resLevel=0)
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
ossimRefPtr< ossimImageData > theResult
friend OSSIMDLLEXPORT std::ostream & operator<<(std::ostream &out, const ossimErrorStatusInterface &obj)
ossimFeatherInputInformation * theInputFeatherInformation
will hold an array of input information
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23