📄 class_qwt_plot_spectrogram.html
字号:
<table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Calculate contour lines<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Rectangle, where to calculate the contour lines </td></tr> <tr><td valign="top"></td><td valign="top"><em>raster</em> </td><td>Raster, used by the CONREC algorithm</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_spectrogram.html#235c93eb3ca7e6d4a669330c39fdb0f1">contourLevels</a>, <a class="el" href="class_qwt_plot_spectrogram.html#9cac5e8fbab6e98382e5ec68ac9e4fd8">setConrecAttribute</a>, <a class="el" href="class_qwt_raster_data.html#5e62b72075c01a6be21a7d93b8c934d6">QwtRasterData::contourLines</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00549">549</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00615">draw()</a>. </td> </tr></table><a class="anchor" name="698a7039b51fa259c39bd93a64743eea"></a><!-- doxytag: member="QwtPlotSpectrogram::renderImage" ref="698a7039b51fa259c39bd93a64743eea" args="(const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtDoubleRect &rect) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">QImage QwtPlotSpectrogram::renderImage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="mdname" nowrap> <em>xMap</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="mdname" nowrap> <em>yMap</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const QwtDoubleRect & </td> <td class="mdname" nowrap> <em>area</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Render an image from the data and color map. <p>The area is translated into a rect of the paint device. For each pixel of this rect the intensity is mapped into a color.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>xMap</em> </td><td>X-Scale Map </td></tr> <tr><td valign="top"></td><td valign="top"><em>yMap</em> </td><td>Y-Scale Map </td></tr> <tr><td valign="top"></td><td valign="top"><em>area</em> </td><td>Area that should be rendered in scale coordinates.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A QImage::Format_Indexed8 or QImage::Format_ARGB32 depending on the color map.</dd></dl><dl compact><dt><b>See also:</b></dt><dd>QwtRasterData::intensity(), <a class="el" href="class_qwt_color_map.html#be172f151f0a8c24f4a7e0908b0b983f">QwtColorMap::rgb()</a>, <a class="el" href="class_qwt_color_map.html#3b5be7f953330d308eef24351dfa789b">QwtColorMap::colorIndex()</a> </dd></dl><p>Implements <a class="el" href="class_qwt_plot_raster_item.html#8767aea6b99f44109e8490e8ee2c3cbe">QwtPlotRasterItem</a>.<p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00400">400</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>.<p>References <a class="el" href="qwt__scale__map_8h-source.html#l00119">QwtScaleMap::p1()</a>, <a class="el" href="qwt__scale__map_8h-source.html#l00127">QwtScaleMap::p2()</a>, <a class="el" href="qwt__scale__map_8h-source.html#l00103">QwtScaleMap::s1()</a>, <a class="el" href="qwt__scale__map_8h-source.html#l00111">QwtScaleMap::s2()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00180">QwtScaleMap::setPaintInterval()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00153">QwtScaleMap::setScaleInterval()</a>, and <a class="el" href="qwt__plot__item_8cpp-source.html#l00501">QwtPlotItem::transform()</a>. </td> </tr></table><a class="anchor" name="01197466f530633759337bbb7b8f7504"></a><!-- doxytag: member="QwtPlotSpectrogram::rtti" ref="01197466f530633759337bbb7b8f7504" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int QwtPlotSpectrogram::rtti </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Returns:</b></dt><dd>QwtPlotItem::Rtti_PlotSpectrogram </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_plot_item.html#f153b5a40a60ac626f1c58e69fc4ecad">QwtPlotItem</a>.<p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00152">152</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>. </td> </tr></table><a class="anchor" name="cafcf790efcc9488acdfb941c1532c59"></a><!-- doxytag: member="QwtPlotSpectrogram::setColorMap" ref="cafcf790efcc9488acdfb941c1532c59" args="(const QwtColorMap &)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotSpectrogram::setColorMap </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_color_map.html">QwtColorMap</a> & </td> <td class="mdname1" valign="top" nowrap> <em>colorMap</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Change the color map<p>Often it is useful to display the mapping between intensities and colors as an additional plot axis, showing a color bar.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>colorMap</em> </td><td>Color Map</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_spectrogram.html#ad8de9bc57b7e3e7366a67d55ad8e012">colorMap()</a>, <a class="el" href="class_qwt_scale_widget.html#eb337b8e67fc00ca98bf39a6d70aea61">QwtScaleWidget::setColorBarEnabled()</a>, <a class="el" href="class_qwt_scale_widget.html#345b3ca91545033c0f33cce8d9bdc4f3">QwtScaleWidget::setColorMap()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00202">202</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>.<p>References <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00215">colorMap()</a>, <a class="el" href="class_qwt_color_map.html#97c746ff74f5fe96867dde5bde3e23f5">QwtColorMap::copy()</a>, <a class="el" href="qwt__plot__rasteritem_8cpp-source.html#l00201">QwtPlotRasterItem::invalidateCache()</a>, and <a class="el" href="qwt__plot__item_8cpp-source.html#l00286">QwtPlotItem::itemChanged()</a>. </td> </tr></table><a class="anchor" name="9cac5e8fbab6e98382e5ec68ac9e4fd8"></a><!-- doxytag: member="QwtPlotSpectrogram::setConrecAttribute" ref="9cac5e8fbab6e98382e5ec68ac9e4fd8" args="(QwtRasterData::ConrecAttribute, bool on)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotSpectrogram::setConrecAttribute </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_raster_data.html#8be376c4015dcb4adc207316bccf1140">QwtRasterData::ConrecAttribute</a> </td> <td class="mdname" nowrap> <em>attribute</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>on</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Modify an attribute of the CONREC algorithm, used to calculate the contour lines.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>attribute</em> </td><td>CONREC attribute </td></tr> <tr><td valign="top"></td><td valign="top"><em>on</em> </td><td>On/Off</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_spectrogram.html#b25b1bf7c653aae8b0b7121c1b5855f0">testConrecAttribute</a>, <a class="el" href="class_qwt_plot_spectrogram.html#bb0a5d6617c834016c3034e7a4e1396f">renderContourLines</a>, <a class="el" href="class_qwt_raster_data.html#5e62b72075c01a6be21a7d93b8c934d6">QwtRasterData::contourLines</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00276">276</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>.<p>References <a class="el" href="qwt__plot__item_8cpp-source.html#l00286">QwtPlotItem::itemChanged()</a>. </td> </tr></table><a class="anchor" name="6703dd9e8806258cd8544f90a735e459"></a><!-- doxytag: member="QwtPlotSpectrogram::setContourLevels" ref="6703dd9e8806258cd8544f90a735e459" args="(const QwtValueList &)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotSpectrogram::setContourLevels </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QwtValueList & </td> <td class="mdname1" valign="top" nowrap> <em>levels</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -