Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 76bdad05b5dca2a491582dbec0713d55 > files > 416

libqwt-devel-6.0.1-2.i586.rpm

<!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>