OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimImageMosaic.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: ossimImageMosaic.h 15766 2009-10-20 12:37:09Z gpotts $
12 #ifndef ossimImageMosaic_HEADER
13 #define ossimImageMosaic_HEADER
14 #include <vector>
15 using namespace std;
16 
18 
19 
27 {
28 public:
31 
32  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& origin,
33  ossim_uint32 resLevel=0);
34 
35  virtual void initialize();
36 
41  virtual bool saveState(ossimKeywordlist& kwl,
42  const char* prefix=0)const;
43 
48  virtual bool loadState(const ossimKeywordlist& kwl,
49  const char* prefix=0);
50 
51 protected:
52  virtual ~ossimImageMosaic();
53 
57  void allocate();
58 
60 
61  template <class T> ossimRefPtr<ossimImageData> combine(
62  T, // dummy template variable not used
63  const ossimIrect& tileRect,
64  ossim_uint32 resLevel=0);
65  template <class T> ossimRefPtr<ossimImageData> combineNorm(
66  T, // dummy template variable not used
67  const ossimIrect& tileRect,
68  ossim_uint32 resLevel=0);
69 
71 };
72 
73 #endif /* #ifndef ossimImageMosaic_HEADER */
ossimRefPtr< ossimImageData > theTile
#define OSSIMDLLEXPORT
This will be a base for all combiners.
Represents serializable keyword/value map.
void combine(const std::string &left, const std::string &right, char separator, std::string &result)
An image mosaic is a simple combiner that will just do a simple mosaic.
std::vector< ossimRefPtr< ossimConnectableObject > > ConnectableObjectList
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32