class_qwt_matrix_raster_data.html 33 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Qwt User&#39;s Guide: QwtMatrixRasterData Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Qwt User's Guide&#160;<span id="projectnumber">6.0.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtMatrixRasterData Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtMatrixRasterData" --><!-- doxytag: inherits="QwtRasterData" -->
<p>A class representing a matrix of values as raster data.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__matrix__raster__data_8h_source.html">qwt_matrix_raster_data.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtMatrixRasterData:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_matrix_raster_data__inherit__graph.png" border="0" usemap="#_qwt_matrix_raster_data_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_matrix_raster_data_inherit__map" id="_qwt_matrix_raster_data_inherit__map">
<area shape="rect" id="node2" href="class_qwt_raster_data.html" title="QwtRasterData defines an interface to any type of raster data." alt="" coords="24,5,133,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_qwt_matrix_raster_data-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcc">ConrecFlag</a> { <br/>
&#160;&#160;<a class="el" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dccafd2f6337e825201a247408f033713c92">IgnoreAllVerticesOnLevel</a> =  0x01, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcca18e8d1de171dd43cc957c279eb03d32c">IgnoreOutOfRange</a> =  0x02
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef QFlags&lt; <a class="el" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcc">ConrecFlag</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_raster_data.html#a8101f4a0c71813d49fcdc73a457c4874">ConrecFlags</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef QMap&lt; double, QPolygonF &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_raster_data.html#adc6679160a229992f0870a2b784985f3">ContourLines</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209">ResampleMode</a> { <br/>
&#160;&#160;<a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209acaa0a9e3b8afd376472d6a587a3f9873">NearestNeighbour</a>, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209a6f25a9f1f27cb94525ce39df487af13f">BilinearInterpolation</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_raster_data.html#adc6679160a229992f0870a2b784985f3">ContourLines</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_raster_data.html#a1fa90434ddeeeeaacb80657e49af8fe1">contourLines</a> (const QRectF &amp;rect, const QSize &amp;raster, const QList&lt; double &gt; &amp;levels, <a class="el" href="class_qwt_raster_data.html#a8101f4a0c71813d49fcdc73a457c4874">ConrecFlags</a>) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_raster_data.html#a369a5f525814bf569e01f88fbd8ddb5b">discardRaster</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_raster_data.html#a64f5bf40b6138cc66719a56555c03589">initRaster</a> (const QRectF &amp;, const QSize &amp;raster)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_raster_data.html#a8423d051697f975150b3b555bfcac8b9">interval</a> (Qt::Axis) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#ab9554c0c132f8a5a7ce6bc2baea37b14">numColumns</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#ace0953054ec4ea6f4861e68cb9023ccd">numRows</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QRectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a7a9034de8037af500e4f737f54591358">pixelHint</a> (const QRectF &amp;) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a3e80514459cc6aab03cfd839da53e45e">QwtMatrixRasterData</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209">ResampleMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#af4edef83d2862640893552b8f20ed725">resampleMode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a69db38d8f920edb9dc3f0953ca16db8f">setInterval</a> (Qt::Axis, const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a038effe6e4be13725b7a8d35370595fd">setResampleMode</a> (<a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209">ResampleMode</a> mode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a9520b89815edd800e65cd13ebd4677a3">setValueMatrix</a> (const QVector&lt; double &gt; &amp;values, size_t numColumns)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a49952670063166bccdbfb9cdbd7b56e8">value</a> (double x, double y) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QVector&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a001d575e77cf90c29ec8c5a6f8656946">valueMatrix</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_matrix_raster_data.html#a15284284966f25383fe67f2e278f4869">~QwtMatrixRasterData</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A class representing a matrix of values as raster data. </p>
<p><a class="el" href="class_qwt_matrix_raster_data.html" title="A class representing a matrix of values as raster data.">QwtMatrixRasterData</a> implements an interface for a matrix of equidistant values, that can be used by a <a class="el" href="class_qwt_plot_raster_item.html" title="A class, which displays raster data.">QwtPlotRasterItem</a>. It implements a couple of resampling algorithms, to provide values for positions, that or not on the value matrix. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a8101f4a0c71813d49fcdc73a457c4874"></a><!-- doxytag: member="QwtMatrixRasterData::ConrecFlags" ref="a8101f4a0c71813d49fcdc73a457c4874" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QFlags&lt;<a class="el" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcc">ConrecFlag</a>&gt; <a class="el" href="class_qwt_raster_data.html#a8101f4a0c71813d49fcdc73a457c4874">QwtRasterData::ConrecFlags</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flags to modify the contour algorithm. </p>

</div>
</div>
<a class="anchor" id="adc6679160a229992f0870a2b784985f3"></a><!-- doxytag: member="QwtMatrixRasterData::ContourLines" ref="adc6679160a229992f0870a2b784985f3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QMap&lt;double, QPolygonF&gt; <a class="el" href="class_qwt_raster_data.html#adc6679160a229992f0870a2b784985f3">QwtRasterData::ContourLines</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Contour lines. </p>

</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="ac0053b66315fde6f0a9a69c40d7c5dcc"></a><!-- doxytag: member="QwtMatrixRasterData::ConrecFlag" ref="ac0053b66315fde6f0a9a69c40d7c5dcc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_raster_data.html#ac0053b66315fde6f0a9a69c40d7c5dcc">QwtRasterData::ConrecFlag</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flags to modify the contour algorithm. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ac0053b66315fde6f0a9a69c40d7c5dccafd2f6337e825201a247408f033713c92"></a><!-- doxytag: member="IgnoreAllVerticesOnLevel" ref="ac0053b66315fde6f0a9a69c40d7c5dccafd2f6337e825201a247408f033713c92" args="" -->IgnoreAllVerticesOnLevel</em>&nbsp;</td><td>
<p>Ignore all verices on the same level. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ac0053b66315fde6f0a9a69c40d7c5dcca18e8d1de171dd43cc957c279eb03d32c"></a><!-- doxytag: member="IgnoreOutOfRange" ref="ac0053b66315fde6f0a9a69c40d7c5dcca18e8d1de171dd43cc957c279eb03d32c" args="" -->IgnoreOutOfRange</em>&nbsp;</td><td>
<p>Ignore all values, that are out of range. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="a3c8def5d9ae452bd82e6c4b71b480209"></a><!-- doxytag: member="QwtMatrixRasterData::ResampleMode" ref="a3c8def5d9ae452bd82e6c4b71b480209" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209">QwtMatrixRasterData::ResampleMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resampling algorithm The default setting is NearestNeighbour;. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a3c8def5d9ae452bd82e6c4b71b480209acaa0a9e3b8afd376472d6a587a3f9873"></a><!-- doxytag: member="NearestNeighbour" ref="a3c8def5d9ae452bd82e6c4b71b480209acaa0a9e3b8afd376472d6a587a3f9873" args="" -->NearestNeighbour</em>&nbsp;</td><td>
<p>Return the value from the matrix, that is nearest to the the requested position. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a3c8def5d9ae452bd82e6c4b71b480209a6f25a9f1f27cb94525ce39df487af13f"></a><!-- doxytag: member="BilinearInterpolation" ref="a3c8def5d9ae452bd82e6c4b71b480209a6f25a9f1f27cb94525ce39df487af13f" args="" -->BilinearInterpolation</em>&nbsp;</td><td>
<p>Interpolate the value from the distances and values of the 4 surrounding values in the matrix, </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3e80514459cc6aab03cfd839da53e45e"></a><!-- doxytag: member="QwtMatrixRasterData::QwtMatrixRasterData" ref="a3e80514459cc6aab03cfd839da53e45e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtMatrixRasterData::QwtMatrixRasterData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a class="anchor" id="a15284284966f25383fe67f2e278f4869"></a><!-- doxytag: member="QwtMatrixRasterData::~QwtMatrixRasterData" ref="a15284284966f25383fe67f2e278f4869" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtMatrixRasterData::~QwtMatrixRasterData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1fa90434ddeeeeaacb80657e49af8fe1"></a><!-- doxytag: member="QwtMatrixRasterData::contourLines" ref="a1fa90434ddeeeeaacb80657e49af8fe1" args="(const QRectF &amp;rect, const QSize &amp;raster, const QList&lt; double &gt; &amp;levels, ConrecFlags) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_raster_data.html#adc6679160a229992f0870a2b784985f3">QwtRasterData::ContourLines</a> QwtRasterData::contourLines </td>
          <td>(</td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QSize &amp;&#160;</td>
          <td class="paramname"><em>raster</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QList&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>levels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_qwt_raster_data.html#a8101f4a0c71813d49fcdc73a457c4874">ConrecFlags</a>&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculate contour lines</p>
<p>An adaption of CONREC, a simple contouring algorithm. <a href="http://local.wasp.uwa.edu.au/~pbourke/papers/conrec/">http://local.wasp.uwa.edu.au/~pbourke/papers/conrec/</a> </p>

</div>
</div>
<a class="anchor" id="a369a5f525814bf569e01f88fbd8ddb5b"></a><!-- doxytag: member="QwtMatrixRasterData::discardRaster" ref="a369a5f525814bf569e01f88fbd8ddb5b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtRasterData::discardRaster </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Discard a raster. </p>
<p>After the composition of an image <a class="el" href="class_qwt_plot_spectrogram.html" title="A plot item, which displays a spectrogram.">QwtPlotSpectrogram</a> calls <a class="el" href="class_qwt_raster_data.html#a369a5f525814bf569e01f88fbd8ddb5b" title="Discard a raster.">discardRaster()</a>.</p>
<p>The default implementation does nothing, but if data has been loaded in <a class="el" href="class_qwt_raster_data.html#a64f5bf40b6138cc66719a56555c03589" title="Initialize a raster.">initRaster()</a>, it could deleted now.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_raster_data.html#a64f5bf40b6138cc66719a56555c03589" title="Initialize a raster.">initRaster()</a>, <a class="el" href="class_qwt_raster_data.html#a6396fc013fcec893b1e8cea4cf03691e">value()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a64f5bf40b6138cc66719a56555c03589"></a><!-- doxytag: member="QwtMatrixRasterData::initRaster" ref="a64f5bf40b6138cc66719a56555c03589" args="(const QRectF &amp;, const QSize &amp;raster)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtRasterData::initRaster </td>
          <td>(</td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"><em>area</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QSize &amp;&#160;</td>
          <td class="paramname"><em>raster</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialize a raster. </p>
<p>Before the composition of an image <a class="el" href="class_qwt_plot_spectrogram.html" title="A plot item, which displays a spectrogram.">QwtPlotSpectrogram</a> calls initRaster, announcing the area and its resolution that will be requested.</p>
<p>The default implementation does nothing, but for data sets that are stored in files, it might be good idea to reimplement initRaster, where the data is resampled and loaded into memory.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">area</td><td>Area of the raster </td></tr>
    <tr><td class="paramname">raster</td><td>Number of horizontal and vertical pixels</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_raster_data.html#a64f5bf40b6138cc66719a56555c03589" title="Initialize a raster.">initRaster()</a>, <a class="el" href="class_qwt_raster_data.html#a6396fc013fcec893b1e8cea4cf03691e">value()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8423d051697f975150b3b555bfcac8b9"></a><!-- doxytag: member="QwtMatrixRasterData::interval" ref="a8423d051697f975150b3b555bfcac8b9" args="(Qt::Axis) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp; QwtRasterData::interval </td>
          <td>(</td>
          <td class="paramtype">Qt::Axis&#160;</td>
          <td class="paramname"><em>axis</em></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Bounding interval for a axis </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_raster_data.html#a14abf60573989e2a2c97e21a98aee558">setInterval</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab9554c0c132f8a5a7ce6bc2baea37b14"></a><!-- doxytag: member="QwtMatrixRasterData::numColumns" ref="ab9554c0c132f8a5a7ce6bc2baea37b14" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t QwtMatrixRasterData::numColumns </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Number of columns of the value matrix </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_matrix_raster_data.html#a001d575e77cf90c29ec8c5a6f8656946">valueMatrix()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#ace0953054ec4ea6f4861e68cb9023ccd">numRows()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#a9520b89815edd800e65cd13ebd4677a3" title="Assign a value matrix.">setValueMatrix()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ace0953054ec4ea6f4861e68cb9023ccd"></a><!-- doxytag: member="QwtMatrixRasterData::numRows" ref="ace0953054ec4ea6f4861e68cb9023ccd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t QwtMatrixRasterData::numRows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Number of rows of the value matrix </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_matrix_raster_data.html#a001d575e77cf90c29ec8c5a6f8656946">valueMatrix()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#ab9554c0c132f8a5a7ce6bc2baea37b14">numColumns()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#a9520b89815edd800e65cd13ebd4677a3" title="Assign a value matrix.">setValueMatrix()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7a9034de8037af500e4f737f54591358"></a><!-- doxytag: member="QwtMatrixRasterData::pixelHint" ref="a7a9034de8037af500e4f737f54591358" args="(const QRectF &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRectF QwtMatrixRasterData::pixelHint </td>
          <td>(</td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pixel hint. </p>
<ul>
<li>NearestNeighbour<br/>
 <a class="el" href="class_qwt_matrix_raster_data.html#a7a9034de8037af500e4f737f54591358" title="Pixel hint.">pixelHint()</a> returns the surrounding pixel of the top left value in the matrix.</li>
</ul>
<ul>
<li>BilinearInterpolation<br/>
 Returns an empty rectangle recommending to render in target device ( f.e. screen ) resolution.</li>
</ul>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209" title="Resampling algorithm The default setting is NearestNeighbour;.">ResampleMode</a>, setMatrix(), <a class="el" href="class_qwt_matrix_raster_data.html#a69db38d8f920edb9dc3f0953ca16db8f" title="Assign the bounding interval for an axis.">setInterval()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_raster_data.html#ad1ce58351804760d1ba1e7efe97d39d6">QwtRasterData</a>.</p>

</div>
</div>
<a class="anchor" id="af4edef83d2862640893552b8f20ed725"></a><!-- doxytag: member="QwtMatrixRasterData::resampleMode" ref="af4edef83d2862640893552b8f20ed725" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209">QwtMatrixRasterData::ResampleMode</a> QwtMatrixRasterData::resampleMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>resampling algorithm </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_matrix_raster_data.html#a038effe6e4be13725b7a8d35370595fd" title="Set the resampling algorithm.">setResampleMode()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#a49952670063166bccdbfb9cdbd7b56e8">value()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a69db38d8f920edb9dc3f0953ca16db8f"></a><!-- doxytag: member="QwtMatrixRasterData::setInterval" ref="a69db38d8f920edb9dc3f0953ca16db8f" args="(Qt::Axis, const QwtInterval &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtMatrixRasterData::setInterval </td>
          <td>(</td>
          <td class="paramtype">Qt::Axis&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
          <td class="paramname"><em>interval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign the bounding interval for an axis. </p>
<p>Setting the bounding intervals for the X/Y axis is mandatory to define the positions for the values of the value matrix. The interval in Z direction defines the possible range for the values in the matrix, what is f.e used by <a class="el" href="class_qwt_plot_spectrogram.html" title="A plot item, which displays a spectrogram.">QwtPlotSpectrogram</a> to map values to colors. The Z-interval might be the bounding interval of the values in the matrix, but usually it isn't. ( f.e a interval of 0.0-100.0 for values in percentage )</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">axis</td><td>X, Y or Z axis </td></tr>
    <tr><td class="paramname">interval</td><td>Interval</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_raster_data.html#a8423d051697f975150b3b555bfcac8b9">QwtRasterData::interval()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#a9520b89815edd800e65cd13ebd4677a3" title="Assign a value matrix.">setValueMatrix()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_raster_data.html#a14abf60573989e2a2c97e21a98aee558">QwtRasterData</a>.</p>

</div>
</div>
<a class="anchor" id="a038effe6e4be13725b7a8d35370595fd"></a><!-- doxytag: member="QwtMatrixRasterData::setResampleMode" ref="a038effe6e4be13725b7a8d35370595fd" args="(ResampleMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtMatrixRasterData::setResampleMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209">ResampleMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the resampling algorithm. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>Resampling mode </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_matrix_raster_data.html#af4edef83d2862640893552b8f20ed725">resampleMode()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#a49952670063166bccdbfb9cdbd7b56e8">value()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9520b89815edd800e65cd13ebd4677a3"></a><!-- doxytag: member="QwtMatrixRasterData::setValueMatrix" ref="a9520b89815edd800e65cd13ebd4677a3" args="(const QVector&lt; double &gt; &amp;values, size_t numColumns)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtMatrixRasterData::setValueMatrix </td>
          <td>(</td>
          <td class="paramtype">const QVector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>values</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>numColumns</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a value matrix. </p>
<p>The positions of the values are calculated by dividing the bounding rectangle of the X/Y intervals into equidistant rectangles ( pixels ). Each value corresponds to the center of a pixel.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">values</td><td>Vector of values </td></tr>
    <tr><td class="paramname">numColumns</td><td>Number of columns</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_matrix_raster_data.html#a001d575e77cf90c29ec8c5a6f8656946">valueMatrix()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#ab9554c0c132f8a5a7ce6bc2baea37b14">numColumns()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#ace0953054ec4ea6f4861e68cb9023ccd">numRows()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#a69db38d8f920edb9dc3f0953ca16db8f" title="Assign the bounding interval for an axis.">setInterval()</a>() </dd></dl>

</div>
</div>
<a class="anchor" id="a49952670063166bccdbfb9cdbd7b56e8"></a><!-- doxytag: member="QwtMatrixRasterData::value" ref="a49952670063166bccdbfb9cdbd7b56e8" args="(double x, double y) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtMatrixRasterData::value </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the value at a raster position</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X value in plot coordinates </td></tr>
    <tr><td class="paramname">y</td><td>Y value in plot coordinates</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_matrix_raster_data.html#a3c8def5d9ae452bd82e6c4b71b480209" title="Resampling algorithm The default setting is NearestNeighbour;.">ResampleMode</a> </dd></dl>

<p>Implements <a class="el" href="class_qwt_raster_data.html#a6396fc013fcec893b1e8cea4cf03691e">QwtRasterData</a>.</p>

</div>
</div>
<a class="anchor" id="a001d575e77cf90c29ec8c5a6f8656946"></a><!-- doxytag: member="QwtMatrixRasterData::valueMatrix" ref="a001d575e77cf90c29ec8c5a6f8656946" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QVector&lt; double &gt; QwtMatrixRasterData::valueMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Value matrix </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_matrix_raster_data.html#a9520b89815edd800e65cd13ebd4677a3" title="Assign a value matrix.">setValueMatrix()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#ab9554c0c132f8a5a7ce6bc2baea37b14">numColumns()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#ace0953054ec4ea6f4861e68cb9023ccd">numRows()</a>, <a class="el" href="class_qwt_matrix_raster_data.html#a69db38d8f920edb9dc3f0953ca16db8f" title="Assign the bounding interval for an axis.">setInterval()</a> </dd></dl>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>