OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimBandMergeSource.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: ossimBandMergeSource.h 23108 2015-01-27 17:00:20Z okramer $
12 #ifndef ossimBandMergeSource_HEADER
13 #define ossimBandMergeSource_HEADER
15 
16 class ossimImageSourceConnection;
17 class ossimImageSource;
18 
20 {
21 public:
24 
34  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& rect, ossim_uint32 resLevel=0);
35  virtual bool getTile(ossimImageData* tile, ossim_uint32 resLevel=0);
36 
37  virtual void initialize();
38 
44  virtual ossim_uint32 getNumberOfOutputBands() const;
45 
46  virtual double getNullPixelValue(ossim_uint32 band=0)const;
47  virtual double getMinPixelValue(ossim_uint32 band=0)const;
48  virtual double getMaxPixelValue(ossim_uint32 band=0)const;
49 
50 protected:
51  virtual ~ossimBandMergeSource();
53  void allocate();
54 
57 
58  ossim_uint32 computeNumberOfInputBands()const;
59 
61 };
62 #endif /* #ifndef ossimBandMergeSource_HEADER */
This will be a base for all combiners.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
virtual double getMinPixelValue(ossim_uint32 band=0) const
Returns the min pixel of the band.
ossim_uint32 theNumberOfOutputBands
std::vector< ossimRefPtr< ossimConnectableObject > > ConnectableObjectList
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
ossimRefPtr< ossimImageData > theTile
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
#define OSSIM_DLL
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)