OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimClosestToCenterCombiner.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2005 Garrett Potts.
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: ossimClosestToCenterCombiner.h 22162 2013-02-26 01:37:48Z gpotts $
12 #ifndef ossimClosestToCenterCombiner_HEADER
13 #define ossimClosestToCenterCombiner_HEADER
14 #include <vector>
26 {
27 public:
29 
38  ossim_uint32 resLevel=0);
39 protected:
41  {
42  public:
44  ossim_int32 idx)
45  :theTile(tile),
46  theIndex(idx)
47  {
48  }
51  };
52 
53 
54  ossim_int32 findIdx(const std::vector<ossimClosestToCenterCombinerInfo >& normTileList,
55  const ossimIpt& pt, ossim_uint32 offset)const;
56 
58 };
59 
60 #endif
This implements a closest to center combiner.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &origin, ossim_uint32 resLevel=0)
An image mosaic is a simple combiner that will just do a simple mosaic.
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
ossimClosestToCenterCombinerInfo(ossimRefPtr< ossimImageData > tile, ossim_int32 idx)
#define OSSIM_DLL
int ossim_int32