OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimImageDataHelper.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts (gpotts@imagelinks)
6 //
7 //*************************************************************************
8 // $Id: ossimImageDataHelper.h 23356 2015-06-03 18:28:03Z dburken $
9 #ifndef ossimImageDataHelper_HEADER
10 #define ossimImageDataHelper_HEADER 1
11 
16 
18 {
19 public:
24 
25  void setImageData(ossimImageData* imageData);
26 
27  void fill(const double* values,
28  const ossimIrect& rect,
29  bool clipPoly=true);
30 
31  void fill(const double* values,
32  std::vector<ossimPolygon>& regionList,
33  bool clipPoly=true);
34 
35  void fill(const ossimRgbVector& color,
36  std::vector<ossimPolygon>& regionList,
37  bool clipPoly=true);
38 
39  void fill(const ossimRgbVector& color,
40  const ossimIrect& rect,
41  bool clipPoly=true);
46  void fill(const double* values,
47  const ossimPolygon& region,
48  bool clipPoly=true);
49 
50  void fill(const ossimRgbVector& color,
51  const ossimPolygon& region,
52  bool clipPoly=true);
57  void copyInputToThis(const void* input,
58  const ossimPolygon& region,
59  bool clipPoly=true);
60 
62 
63 
64 protected:
68 
69  template <class T>
70  void fill(T dummyVariable,
71  const double* values,
72  const ossimPolygon& region,
73  bool clipPoly);
74 
75  template <class T>
76  void fill(T dummyVariable,
77  const double* values,
78  const ossimIrect& region,
79  bool clipPoly);
80 
81  template <class T>
82  void copyInputToThis(const T* inputBuf,
83  const ossimPolygon& region,
84  bool clipPoly);
85 
86  template <class T>
87  void fill(T dummyVariable,
88  const double* values,
89  const ossimPolygon& region);
90  template <class T>
91  void fill(T dummyVariable,
92  const double* values,
93  const ossimIrect& region);
94 
95  template <class T>
96  void copyInputToThis(const T* inputBuf,
97  const ossimPolygon& region);
98 
99 
100 };
101 
102 #endif
ossimPolyArea2d thePolyImageRectangle
ossimImageData * theImageData
#define OSSIM_DLL