📄 class_qwt_linear_color_map.html
字号:
<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>Clone the color map. <p><p>Implements <a class="el" href="class_qwt_color_map.html#97c746ff74f5fe96867dde5bde3e23f5">QwtColorMap</a>.<p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00260">260</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.<p>References <a class="el" href="qwt__color__map_8cpp-source.html#l00211">QwtLinearColorMap()</a>. </td> </tr></table><a class="anchor" name="9ec309df6ec88472a63b14ac2c692c96"></a><!-- doxytag: member="QwtLinearColorMap::mode" ref="9ec309df6ec88472a63b14ac2c692c96" 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"><a class="el" href="class_qwt_linear_color_map.html#c8c5f1991f533b1d25a9a0a0874b7d54">QwtLinearColorMap::Mode</a> QwtLinearColorMap::mode </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</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>Mode of the color map </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_linear_color_map.html#fca7397fb6d07d05bab83e83e274a9c2">setMode()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00286">286</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>. </td> </tr></table><a class="anchor" name="331029567a42610143ec41b22e882143"></a><!-- doxytag: member="QwtLinearColorMap::operator=" ref="331029567a42610143ec41b22e882143" args="(const QwtLinearColorMap &)" --><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"><a class="el" href="class_qwt_linear_color_map.html">QwtLinearColorMap</a> & QwtLinearColorMap::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_linear_color_map.html">QwtLinearColorMap</a> & </td> <td class="mdname1" valign="top" nowrap> </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>Assignment operator. <p><p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00251">251</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.<p>References <a class="el" href="qwt__color__map_8h-source.html#l00153">d_data</a>. </td> </tr></table><a class="anchor" name="db056bd9487fde980a85da8ea5ec6188"></a><!-- doxytag: member="QwtLinearColorMap::rgb" ref="db056bd9487fde980a85da8ea5ec6188" args="(const QwtDoubleInterval &, double value) 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">QRgb QwtLinearColorMap::rgb </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> & </td> <td class="mdname" nowrap> <em>interval</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Map a value of a given interval into a rgb value<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>interval</em> </td><td>Range for all values </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>Value to map into a rgb value </td></tr> </table></dl><p>Implements <a class="el" href="class_qwt_color_map.html#be172f151f0a8c24f4a7e0908b0b983f">QwtColorMap</a>.<p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00357">357</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.<p>References <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> </tr></table><a class="anchor" name="bfae35c30755c0bbd1447342055e9a13"></a><!-- doxytag: member="QwtLinearColorMap::setColorInterval" ref="bfae35c30755c0bbd1447342055e9a13" args="(const QColor &color1, const QColor &color2)" --><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 QwtLinearColorMap::setColorInterval </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QColor & </td> <td class="mdname" nowrap> <em>color1</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const QColor & </td> <td class="mdname" nowrap> <em>color2</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>Set the color range<p>Add stops at 0.0 and 1.0.<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>color1</em> </td><td>Color used for the minimum value of the value interval </td></tr> <tr><td valign="top"></td><td valign="top"><em>color2</em> </td><td>Color used for the maximum value of the value interval</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_linear_color_map.html#3ab5066b01409f58e4ad0425474b1530">color1()</a>, <a class="el" href="class_qwt_linear_color_map.html#9fa696fff9ec599f0c305f73345ecab3">color2()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00301">301</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.<p>Referenced by <a class="el" href="qwt__color__map_8cpp-source.html#l00211">QwtLinearColorMap()</a>. </td> </tr></table><a class="anchor" name="fca7397fb6d07d05bab83e83e274a9c2"></a><!-- doxytag: member="QwtLinearColorMap::setMode" ref="fca7397fb6d07d05bab83e83e274a9c2" args="(Mode)" --><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 QwtLinearColorMap::setMode </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_linear_color_map.html#c8c5f1991f533b1d25a9a0a0874b7d54">Mode</a> </td> <td class="mdname1" valign="top" nowrap> <em>mode</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>Set the mode of the color map. <p>FixedColors means the color is calculated from the next lower color stop. ScaledColors means the color is calculated by interpolating the colors of the adjacent stops.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_linear_color_map.html#9ec309df6ec88472a63b14ac2c692c96">mode()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00277">277</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:24:06 2007 for Qwt User's Guide by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -