OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
include
ossim
imaging
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
12
#include <
ossim/base/ossimConstants.h
>
13
#include <
ossim/imaging/ossimImageData.h
>
14
#include <
ossim/base/ossimPolyArea2d.h
>
15
#include <
ossim/base/ossimRgbVector.h
>
16
17
class
OSSIM_DLL
ossimImageDataHelper
18
{
19
public
:
23
ossimImageDataHelper
(
ossimImageData
* imageData=0);
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
61
ossimImageData
*
theImageData
;
62
63
64
protected
:
65
ossimIpt
theOrigin
;
66
ossimIrect
theImageRectangle
;
67
ossimPolyArea2d
thePolyImageRectangle
;
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
ossimRgbVector
Definition:
ossimRgbVector.h:21
ossimImageDataHelper::thePolyImageRectangle
ossimPolyArea2d thePolyImageRectangle
Definition:
ossimImageDataHelper.h:67
ossimConstants.h
ossimIrect
Definition:
ossimIrect.h:48
ossimImageData
Definition:
ossimImageData.h:28
ossimImageDataHelper::theImageData
ossimImageData * theImageData
Definition:
ossimImageDataHelper.h:61
ossimImageDataHelper::theOrigin
ossimIpt theOrigin
Definition:
ossimImageDataHelper.h:65
ossimPolygon
Definition:
ossimPolygon.h:38
ossimIpt
Definition:
ossimIpt.h:28
ossimImageDataHelper
Definition:
ossimImageDataHelper.h:17
ossimImageData.h
ossimImageDataHelper::theImageRectangle
ossimIrect theImageRectangle
Definition:
ossimImageDataHelper.h:66
OSSIM_DLL
#define OSSIM_DLL
Definition:
ossimConstants.h:72
ossimPolyArea2d.h
ossimPolyArea2d
Definition:
ossimPolyArea2d.h:31
ossimRgbVector.h
Generated on Fri Aug 3 2018 08:46:48 for OSSIM - Open Source Software Image Map by
1.8.14