~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.0.1/doc/html/class_qwt_alpha_color_map.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>Qwt User&apos;s Guide: QwtAlphaColorMap Class Reference</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.4.6 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
 
    <li><a href="files.html"><span>Files</span></a></li>
13
 
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14
 
  </ul></div>
15
 
<div class="tabs">
16
 
  <ul>
17
 
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
18
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21
 
  </ul></div>
22
 
<h1>QwtAlphaColorMap Class Reference</h1><!-- doxytag: class="QwtAlphaColorMap" --><!-- doxytag: inherits="QwtColorMap" -->Inheritance diagram for QwtAlphaColorMap:<p><center><img src="class_qwt_alpha_color_map__inherit__graph.png" border="0" usemap="#_qwt_alpha_color_map__inherit__map" alt="Inheritance graph"></center>
23
 
<map name="_qwt_alpha_color_map__inherit__map">
24
 
<area href="class_qwt_color_map.html" shape="rect" coords="23,8,127,32" alt="">
25
 
</map>
26
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtAlphaColorMap:<p><center><img src="class_qwt_alpha_color_map__coll__graph.png" border="0" usemap="#_qwt_alpha_color_map__coll__map" alt="Collaboration graph"></center>
27
 
<map name="_qwt_alpha_color_map__coll__map">
28
 
<area href="class_qwt_color_map.html" shape="rect" coords="23,8,127,32" alt="">
29
 
</map>
30
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_alpha_color_map-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
31
 
<a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> variies the alpha value of a color. 
32
 
<p>
33
 
 
34
 
<p>
35
 
Definition at line <a class="el" href="qwt__color__map_8h-source.html#l00160">160</a> of file <a class="el" href="qwt__color__map_8h-source.html">qwt_color_map.h</a>.<table border="0" cellpadding="0" cellspacing="0">
36
 
<tr><td></td></tr>
37
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
38
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#f78213a5ff1ebef8a8d4447b0987bf32">QwtAlphaColorMap</a> (const QColor &amp;=QColor(Qt::gray))</td></tr>
39
 
 
40
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#266d1009f36e17f8022077c469fa31a5">QwtAlphaColorMap</a> (const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;)</td></tr>
41
 
 
42
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#c6445d25b9df0b565383b8189691bbad">~QwtAlphaColorMap</a> ()</td></tr>
43
 
 
44
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#7d7a1a4648d4d61604677bb772820617">operator=</a> (const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;)</td></tr>
45
 
 
46
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_color_map.html">QwtColorMap</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#75c4858f181f327778736b6ebb9f2745">copy</a> () const </td></tr>
47
 
 
48
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#372ba8791102270991473897fb36a965">setColor</a> (const QColor &amp;)</td></tr>
49
 
 
50
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">QColor&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#4a706714abbd4d82a9a2201a9ecf7aaf">color</a> () const </td></tr>
51
 
 
52
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QRgb&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#ec09e7fc85a746653d4065c736166459">rgb</a> (const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;, double value) const </td></tr>
53
 
 
54
 
</table>
55
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
56
 
<a class="anchor" name="f78213a5ff1ebef8a8d4447b0987bf32"></a><!-- doxytag: member="QwtAlphaColorMap::QwtAlphaColorMap" ref="f78213a5ff1ebef8a8d4447b0987bf32" args="(const QColor &amp;=QColor(Qt::gray))" --><p>
57
 
<table class="mdTable" cellpadding="2" cellspacing="0">
58
 
  <tr>
59
 
    <td class="mdRow">
60
 
      <table cellpadding="0" cellspacing="0" border="0">
61
 
        <tr>
62
 
          <td class="md" nowrap valign="top">QwtAlphaColorMap::QwtAlphaColorMap           </td>
63
 
          <td class="md" valign="top">(&nbsp;</td>
64
 
          <td class="md" nowrap valign="top">const QColor &amp;&nbsp;</td>
65
 
          <td class="mdname1" valign="top" nowrap> <em>color</em> = <code>QColor(Qt::gray)</code>          </td>
66
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
67
 
          <td class="md" nowrap></td>
68
 
        </tr>
69
 
      </table>
70
 
    </td>
71
 
  </tr>
72
 
</table>
73
 
<table cellspacing="5" cellpadding="0" border="0">
74
 
  <tr>
75
 
    <td>
76
 
      &nbsp;
77
 
    </td>
78
 
    <td>
79
 
 
80
 
<p>
81
 
Constructor <dl compact><dt><b>Parameters:</b></dt><dd>
82
 
  <table border="0" cellspacing="2" cellpadding="0">
83
 
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>Color of the map </td></tr>
84
 
  </table>
85
 
</dl>
86
 
 
87
 
<p>
88
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00402">402</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
89
 
<p>
90
 
Referenced by <a class="el" href="qwt__color__map_8cpp-source.html#l00441">copy()</a>.    </td>
91
 
  </tr>
92
 
</table>
93
 
<a class="anchor" name="266d1009f36e17f8022077c469fa31a5"></a><!-- doxytag: member="QwtAlphaColorMap::QwtAlphaColorMap" ref="266d1009f36e17f8022077c469fa31a5" args="(const QwtAlphaColorMap &amp;)" --><p>
94
 
<table class="mdTable" cellpadding="2" cellspacing="0">
95
 
  <tr>
96
 
    <td class="mdRow">
97
 
      <table cellpadding="0" cellspacing="0" border="0">
98
 
        <tr>
99
 
          <td class="md" nowrap valign="top">QwtAlphaColorMap::QwtAlphaColorMap           </td>
100
 
          <td class="md" valign="top">(&nbsp;</td>
101
 
          <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;&nbsp;</td>
102
 
          <td class="mdname1" valign="top" nowrap> <em>other</em>          </td>
103
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
104
 
          <td class="md" nowrap></td>
105
 
        </tr>
106
 
      </table>
107
 
    </td>
108
 
  </tr>
109
 
</table>
110
 
<table cellspacing="5" cellpadding="0" border="0">
111
 
  <tr>
112
 
    <td>
113
 
      &nbsp;
114
 
    </td>
115
 
    <td>
116
 
 
117
 
<p>
118
 
Copy constructor <dl compact><dt><b>Parameters:</b></dt><dd>
119
 
  <table border="0" cellspacing="2" cellpadding="0">
120
 
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>Other color map </td></tr>
121
 
  </table>
122
 
</dl>
123
 
 
124
 
<p>
125
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00414">414</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.    </td>
126
 
  </tr>
127
 
</table>
128
 
<a class="anchor" name="c6445d25b9df0b565383b8189691bbad"></a><!-- doxytag: member="QwtAlphaColorMap::~QwtAlphaColorMap" ref="c6445d25b9df0b565383b8189691bbad" args="()" --><p>
129
 
<table class="mdTable" cellpadding="2" cellspacing="0">
130
 
  <tr>
131
 
    <td class="mdRow">
132
 
      <table cellpadding="0" cellspacing="0" border="0">
133
 
        <tr>
134
 
          <td class="md" nowrap valign="top">QwtAlphaColorMap::~QwtAlphaColorMap           </td>
135
 
          <td class="md" valign="top">(&nbsp;</td>
136
 
          <td class="mdname1" valign="top" nowrap>          </td>
137
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
138
 
          <td class="md" nowrap><code> [virtual]</code></td>
139
 
        </tr>
140
 
      </table>
141
 
    </td>
142
 
  </tr>
143
 
</table>
144
 
<table cellspacing="5" cellpadding="0" border="0">
145
 
  <tr>
146
 
    <td>
147
 
      &nbsp;
148
 
    </td>
149
 
    <td>
150
 
 
151
 
<p>
152
 
Destructor. 
153
 
<p>
154
 
 
155
 
<p>
156
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00422">422</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.    </td>
157
 
  </tr>
158
 
</table>
159
 
<hr><h2>Member Function Documentation</h2>
160
 
<a class="anchor" name="4a706714abbd4d82a9a2201a9ecf7aaf"></a><!-- doxytag: member="QwtAlphaColorMap::color" ref="4a706714abbd4d82a9a2201a9ecf7aaf" args="() const " --><p>
161
 
<table class="mdTable" cellpadding="2" cellspacing="0">
162
 
  <tr>
163
 
    <td class="mdRow">
164
 
      <table cellpadding="0" cellspacing="0" border="0">
165
 
        <tr>
166
 
          <td class="md" nowrap valign="top">QColor QwtAlphaColorMap::color           </td>
167
 
          <td class="md" valign="top">(&nbsp;</td>
168
 
          <td class="mdname1" valign="top" nowrap>          </td>
169
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
170
 
          <td class="md" nowrap> const</td>
171
 
        </tr>
172
 
      </table>
173
 
    </td>
174
 
  </tr>
175
 
</table>
176
 
<table cellspacing="5" cellpadding="0" border="0">
177
 
  <tr>
178
 
    <td>
179
 
      &nbsp;
180
 
    </td>
181
 
    <td>
182
 
 
183
 
<p>
184
 
<dl compact><dt><b>Returns:</b></dt><dd>the color </dd></dl>
185
 
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_alpha_color_map.html#372ba8791102270991473897fb36a965">setColor()</a> </dd></dl>
186
 
 
187
 
<p>
188
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00465">465</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.    </td>
189
 
  </tr>
190
 
</table>
191
 
<a class="anchor" name="75c4858f181f327778736b6ebb9f2745"></a><!-- doxytag: member="QwtAlphaColorMap::copy" ref="75c4858f181f327778736b6ebb9f2745" args="() const " --><p>
192
 
<table class="mdTable" cellpadding="2" cellspacing="0">
193
 
  <tr>
194
 
    <td class="mdRow">
195
 
      <table cellpadding="0" cellspacing="0" border="0">
196
 
        <tr>
197
 
          <td class="md" nowrap valign="top"><a class="el" href="class_qwt_color_map.html">QwtColorMap</a> * QwtAlphaColorMap::copy           </td>
198
 
          <td class="md" valign="top">(&nbsp;</td>
199
 
          <td class="mdname1" valign="top" nowrap>          </td>
200
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
201
 
          <td class="md" nowrap> const<code> [virtual]</code></td>
202
 
        </tr>
203
 
      </table>
204
 
    </td>
205
 
  </tr>
206
 
</table>
207
 
<table cellspacing="5" cellpadding="0" border="0">
208
 
  <tr>
209
 
    <td>
210
 
      &nbsp;
211
 
    </td>
212
 
    <td>
213
 
 
214
 
<p>
215
 
Clone the color map. 
216
 
<p>
217
 
 
218
 
<p>
219
 
Implements <a class="el" href="class_qwt_color_map.html#97c746ff74f5fe96867dde5bde3e23f5">QwtColorMap</a>.
220
 
<p>
221
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00441">441</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
222
 
<p>
223
 
References <a class="el" href="qwt__color__map_8cpp-source.html#l00402">QwtAlphaColorMap()</a>.    </td>
224
 
  </tr>
225
 
</table>
226
 
<a class="anchor" name="7d7a1a4648d4d61604677bb772820617"></a><!-- doxytag: member="QwtAlphaColorMap::operator=" ref="7d7a1a4648d4d61604677bb772820617" args="(const QwtAlphaColorMap &amp;)" --><p>
227
 
<table class="mdTable" cellpadding="2" cellspacing="0">
228
 
  <tr>
229
 
    <td class="mdRow">
230
 
      <table cellpadding="0" cellspacing="0" border="0">
231
 
        <tr>
232
 
          <td class="md" nowrap valign="top"><a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp; QwtAlphaColorMap::operator=           </td>
233
 
          <td class="md" valign="top">(&nbsp;</td>
234
 
          <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;&nbsp;</td>
235
 
          <td class="mdname1" valign="top" nowrap> <em>other</em>          </td>
236
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
237
 
          <td class="md" nowrap></td>
238
 
        </tr>
239
 
      </table>
240
 
    </td>
241
 
  </tr>
242
 
</table>
243
 
<table cellspacing="5" cellpadding="0" border="0">
244
 
  <tr>
245
 
    <td>
246
 
      &nbsp;
247
 
    </td>
248
 
    <td>
249
 
 
250
 
<p>
251
 
Assignment operator <dl compact><dt><b>Parameters:</b></dt><dd>
252
 
  <table border="0" cellspacing="2" cellpadding="0">
253
 
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>Other color map </td></tr>
254
 
  </table>
255
 
</dl>
256
 
<dl compact><dt><b>Returns:</b></dt><dd>*this </dd></dl>
257
 
 
258
 
<p>
259
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00432">432</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
260
 
<p>
261
 
References <a class="el" href="qwt__color__map_8h-source.html#l00181">d_data</a>.    </td>
262
 
  </tr>
263
 
</table>
264
 
<a class="anchor" name="ec09e7fc85a746653d4065c736166459"></a><!-- doxytag: member="QwtAlphaColorMap::rgb" ref="ec09e7fc85a746653d4065c736166459" args="(const QwtDoubleInterval &amp;, double value) const " --><p>
265
 
<table class="mdTable" cellpadding="2" cellspacing="0">
266
 
  <tr>
267
 
    <td class="mdRow">
268
 
      <table cellpadding="0" cellspacing="0" border="0">
269
 
        <tr>
270
 
          <td class="md" nowrap valign="top">QRgb QwtAlphaColorMap::rgb           </td>
271
 
          <td class="md" valign="top">(&nbsp;</td>
272
 
          <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;&nbsp;</td>
273
 
          <td class="mdname" nowrap> <em>interval</em>, </td>
274
 
        </tr>
275
 
        <tr>
276
 
          <td class="md" nowrap align="right"></td>
277
 
          <td class="md"></td>
278
 
          <td class="md" nowrap>double&nbsp;</td>
279
 
          <td class="mdname" nowrap> <em>value</em></td>
280
 
        </tr>
281
 
        <tr>
282
 
          <td class="md"></td>
283
 
          <td class="md">)&nbsp;</td>
284
 
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
285
 
        </tr>
286
 
      </table>
287
 
    </td>
288
 
  </tr>
289
 
</table>
290
 
<table cellspacing="5" cellpadding="0" border="0">
291
 
  <tr>
292
 
    <td>
293
 
      &nbsp;
294
 
    </td>
295
 
    <td>
296
 
 
297
 
<p>
298
 
Map a value of a given interval into a alpha value. 
299
 
<p>
300
 
alpha := (value - interval.minValue()) / interval.width();<p>
301
 
<dl compact><dt><b>Parameters:</b></dt><dd>
302
 
  <table border="0" cellspacing="2" cellpadding="0">
303
 
    <tr><td valign="top"></td><td valign="top"><em>interval</em>&nbsp;</td><td>Range for all values </td></tr>
304
 
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>Value to map into a rgb value </td></tr>
305
 
  </table>
306
 
</dl>
307
 
<dl compact><dt><b>Returns:</b></dt><dd>rgb value, with an alpha value </dd></dl>
308
 
 
309
 
<p>
310
 
Implements <a class="el" href="class_qwt_color_map.html#be172f151f0a8c24f4a7e0908b0b983f">QwtColorMap</a>.
311
 
<p>
312
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00479">479</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
313
 
<p>
314
 
References <a class="el" href="qwt__double__interval_8h-source.html#l00200">QwtDoubleInterval::isValid()</a>, <a class="el" href="qwt__double__interval_8h-source.html#l00128">QwtDoubleInterval::minValue()</a>, and <a class="el" href="qwt__double__interval_8h-source.html#l00146">QwtDoubleInterval::width()</a>.    </td>
315
 
  </tr>
316
 
</table>
317
 
<a class="anchor" name="372ba8791102270991473897fb36a965"></a><!-- doxytag: member="QwtAlphaColorMap::setColor" ref="372ba8791102270991473897fb36a965" args="(const QColor &amp;)" --><p>
318
 
<table class="mdTable" cellpadding="2" cellspacing="0">
319
 
  <tr>
320
 
    <td class="mdRow">
321
 
      <table cellpadding="0" cellspacing="0" border="0">
322
 
        <tr>
323
 
          <td class="md" nowrap valign="top">void QwtAlphaColorMap::setColor           </td>
324
 
          <td class="md" valign="top">(&nbsp;</td>
325
 
          <td class="md" nowrap valign="top">const QColor &amp;&nbsp;</td>
326
 
          <td class="mdname1" valign="top" nowrap> <em>color</em>          </td>
327
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
328
 
          <td class="md" nowrap></td>
329
 
        </tr>
330
 
      </table>
331
 
    </td>
332
 
  </tr>
333
 
</table>
334
 
<table cellspacing="5" cellpadding="0" border="0">
335
 
  <tr>
336
 
    <td>
337
 
      &nbsp;
338
 
    </td>
339
 
    <td>
340
 
 
341
 
<p>
342
 
Set the color<p>
343
 
<dl compact><dt><b>Parameters:</b></dt><dd>
344
 
  <table border="0" cellspacing="2" cellpadding="0">
345
 
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>Color </td></tr>
346
 
  </table>
347
 
</dl>
348
 
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_alpha_color_map.html#4a706714abbd4d82a9a2201a9ecf7aaf">color()</a> </dd></dl>
349
 
 
350
 
<p>
351
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00455">455</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.    </td>
352
 
  </tr>
353
 
</table>
354
 
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:22:54 2007 for Qwt User's Guide by&nbsp;
355
 
<a href="http://www.doxygen.org/index.html">
356
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
357
 
</body>
358
 
</html>