OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimMaxMosaic.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2005 SANZ Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Kenneth Melero (kmelero@sanz.com)
9 //
10 // Description: This combiner is designed to "float" the maximum pixel value
11 // of all inputs to the top of the mosaic output.
12 //
13 //*************************************************************************
14 // $Id: ossimMaxMosaic.h 15766 2009-10-20 12:37:09Z gpotts $
15 #ifndef ossimMaxMosaic_HEADER
16 #define ossimMaxMosaic_HEADER
17 
18 #include <vector>
20 
21 
29 {
30 public:
33 
34  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& origin,
35  ossim_uint32 resLevel=0);
36 
37  virtual void initialize();
38 
43  virtual bool saveState(ossimKeywordlist& kwl,
44  const char* prefix=0)const;
45 
50  virtual bool loadState(const ossimKeywordlist& kwl,
51  const char* prefix=0);
52 
53  virtual ossimString getShortName() const;
54  virtual ossimString getLongName() const;
55  virtual ossimString getDescription()const;
56 
57 protected:
58  virtual ~ossimMaxMosaic();
62  void allocate();
63 
65 
66  template <class T> ossimRefPtr<ossimImageData> combine(
67  T, // dummy template variable not used
68  const ossimIrect& tileRect,
69  ossim_uint32 resLevel=0);
70  template <class T> ossimRefPtr<ossimImageData> combineNorm(
71  T, // dummy template variable not used
72  const ossimIrect& tileRect,
73  ossim_uint32 resLevel=0);
74 
76 };
77 
78 #endif
#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)
virtual ossimString getShortName() const
Definition: ossimObject.cpp:48
std::vector< ossimRefPtr< ossimConnectableObject > > ConnectableObjectList
virtual ossimString getDescription() const
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
virtual ossimString getLongName() const
Definition: ossimObject.cpp:53
ossimRefPtr< ossimImageData > theTile
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=NULL)
Method to the load (recreate) the state of an object from a keyword list.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=NULL) const
Method to save the state of an object to a keyword list.
An image mosaic is a simple combiner that will just do a simple mosaic.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)