<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>Qwt User's Guide: QwtIntervalSeriesData Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { init_search(); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Qwt User's Guide  <span id="projectnumber">6.1.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('class_qwt_interval_series_data.html','');}); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="class_qwt_interval_series_data-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">QwtIntervalSeriesData Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Interface for iterating over an array of intervals. <a href="class_qwt_interval_series_data.html#details">More...</a></p> <p><code>#include <<a class="el" href="qwt__series__data_8h_source.html">qwt_series_data.h</a>></code></p> <div class="dynheader"> Inheritance diagram for QwtIntervalSeriesData:</div> <div class="dyncontent"> <div class="center"><img src="class_qwt_interval_series_data__inherit__graph.png" border="0" usemap="#_qwt_interval_series_data_inherit__map" alt="Inheritance graph"/></div> <map name="_qwt_interval_series_data_inherit__map" id="_qwt_interval_series_data_inherit__map"> <area shape="rect" id="node2" href="class_qwt_array_series_data.html" title="QwtArraySeriesData\l\< QwtIntervalSample \>" alt="" coords="21,95,180,136"/> <area shape="rect" id="node3" href="class_qwt_series_data.html" title="QwtSeriesData\< QwtInterval\lSample \>" alt="" coords="5,5,196,47"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:ae85a2103d690c67f0e17aab94884bb79"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_series_data.html#ae85a2103d690c67f0e17aab94884bb79">QwtIntervalSeriesData</a> (const QVector< <a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a> > &=QVector< <a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a> >())</td></tr> <tr class="separator:ae85a2103d690c67f0e17aab94884bb79"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afd9a41faed021eddcc1a9a36d15350d2"><td class="memItemLeft" align="right" valign="top">virtual QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_series_data.html#afd9a41faed021eddcc1a9a36d15350d2">boundingRect</a> () const </td></tr> <tr class="memdesc:afd9a41faed021eddcc1a9a36d15350d2"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the bounding rectangle. <a href="#afd9a41faed021eddcc1a9a36d15350d2">More...</a><br /></td></tr> <tr class="separator:afd9a41faed021eddcc1a9a36d15350d2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_qwt_array_series_data"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_array_series_data')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_qwt_array_series_data.html">QwtArraySeriesData< QwtIntervalSample ></a></td></tr> <tr class="memitem:a3cb14bbe2b27bf8d49994d80e8eab3ee inherit pub_methods_class_qwt_array_series_data"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3cb14bbe2b27bf8d49994d80e8eab3ee"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_array_series_data.html#a3cb14bbe2b27bf8d49994d80e8eab3ee">QwtArraySeriesData</a> ()</td></tr> <tr class="memdesc:a3cb14bbe2b27bf8d49994d80e8eab3ee inherit pub_methods_class_qwt_array_series_data"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br /></td></tr> <tr class="separator:a3cb14bbe2b27bf8d49994d80e8eab3ee inherit pub_methods_class_qwt_array_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4bb811309027ac378a2dcc50ff9ef829 inherit pub_methods_class_qwt_array_series_data"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_array_series_data.html#a4bb811309027ac378a2dcc50ff9ef829">QwtArraySeriesData</a> (const QVector< <a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a> > &<a class="el" href="class_qwt_array_series_data.html#a2d3f931bd28f40bc6e13c4b507e5b502">samples</a>)</td></tr> <tr class="separator:a4bb811309027ac378a2dcc50ff9ef829 inherit pub_methods_class_qwt_array_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4afaaf2602be769f4bdcc8fda6b737cb inherit pub_methods_class_qwt_array_series_data"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_array_series_data.html#a4afaaf2602be769f4bdcc8fda6b737cb">setSamples</a> (const QVector< <a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a> > &<a class="el" href="class_qwt_array_series_data.html#a2d3f931bd28f40bc6e13c4b507e5b502">samples</a>)</td></tr> <tr class="separator:a4afaaf2602be769f4bdcc8fda6b737cb inherit pub_methods_class_qwt_array_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2d3f931bd28f40bc6e13c4b507e5b502 inherit pub_methods_class_qwt_array_series_data"><td class="memItemLeft" align="right" valign="top">const QVector< <a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_array_series_data.html#a2d3f931bd28f40bc6e13c4b507e5b502">samples</a> () const</td></tr> <tr class="separator:a2d3f931bd28f40bc6e13c4b507e5b502 inherit pub_methods_class_qwt_array_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a52c123dcc321a03ccd18c2c138318025 inherit pub_methods_class_qwt_array_series_data"><td class="memItemLeft" align="right" valign="top">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_array_series_data.html#a52c123dcc321a03ccd18c2c138318025">size</a> () const</td></tr> <tr class="separator:a52c123dcc321a03ccd18c2c138318025 inherit pub_methods_class_qwt_array_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a900ba90abf9a0852026099bdcae2ba7f inherit pub_methods_class_qwt_array_series_data"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_array_series_data.html#a900ba90abf9a0852026099bdcae2ba7f">sample</a> (size_t index) const</td></tr> <tr class="separator:a900ba90abf9a0852026099bdcae2ba7f inherit pub_methods_class_qwt_array_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_qwt_series_data"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_series_data')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_qwt_series_data.html">QwtSeriesData< QwtIntervalSample ></a></td></tr> <tr class="memitem:a3f075340d18fb112a342d74716eb8d9c inherit pub_methods_class_qwt_series_data"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f075340d18fb112a342d74716eb8d9c"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_series_data.html#a3f075340d18fb112a342d74716eb8d9c">QwtSeriesData</a> ()</td></tr> <tr class="memdesc:a3f075340d18fb112a342d74716eb8d9c inherit pub_methods_class_qwt_series_data"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br /></td></tr> <tr class="separator:a3f075340d18fb112a342d74716eb8d9c inherit pub_methods_class_qwt_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a841a56f909879d599a385b9c3d046745 inherit pub_methods_class_qwt_series_data"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a841a56f909879d599a385b9c3d046745"></a> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_series_data.html#a841a56f909879d599a385b9c3d046745">~QwtSeriesData</a> ()</td></tr> <tr class="memdesc:a841a56f909879d599a385b9c3d046745 inherit pub_methods_class_qwt_series_data"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr> <tr class="separator:a841a56f909879d599a385b9c3d046745 inherit pub_methods_class_qwt_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a391b4601a7454b2f9582fbc2662d108e inherit pub_methods_class_qwt_series_data"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_series_data.html#a391b4601a7454b2f9582fbc2662d108e">setRectOfInterest</a> (const QRectF &rect)</td></tr> <tr class="separator:a391b4601a7454b2f9582fbc2662d108e inherit pub_methods_class_qwt_series_data"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_attribs_class_qwt_array_series_data"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_qwt_array_series_data')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="class_qwt_array_series_data.html">QwtArraySeriesData< QwtIntervalSample ></a></td></tr> <tr class="memitem:a86ccb32fa8c9b3bb9cb92b6040b0c490 inherit pro_attribs_class_qwt_array_series_data"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86ccb32fa8c9b3bb9cb92b6040b0c490"></a> QVector< <a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_array_series_data.html#a86ccb32fa8c9b3bb9cb92b6040b0c490">d_samples</a></td></tr> <tr class="memdesc:a86ccb32fa8c9b3bb9cb92b6040b0c490 inherit pro_attribs_class_qwt_array_series_data"><td class="mdescLeft"> </td><td class="mdescRight">Vector of samples. <br /></td></tr> <tr class="separator:a86ccb32fa8c9b3bb9cb92b6040b0c490 inherit pro_attribs_class_qwt_array_series_data"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_class_qwt_series_data"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_qwt_series_data')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="class_qwt_series_data.html">QwtSeriesData< QwtIntervalSample ></a></td></tr> <tr class="memitem:a24fbbcb0baa0c728117d2e6764d00414 inherit pro_attribs_class_qwt_series_data"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24fbbcb0baa0c728117d2e6764d00414"></a> QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_series_data.html#a24fbbcb0baa0c728117d2e6764d00414">d_boundingRect</a></td></tr> <tr class="memdesc:a24fbbcb0baa0c728117d2e6764d00414 inherit pro_attribs_class_qwt_series_data"><td class="mdescLeft"> </td><td class="mdescRight">Can be used to cache a calculated bounding rectangle. <br /></td></tr> <tr class="separator:a24fbbcb0baa0c728117d2e6764d00414 inherit pro_attribs_class_qwt_series_data"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Interface for iterating over an array of intervals. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="ae85a2103d690c67f0e17aab94884bb79"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QwtIntervalSeriesData::QwtIntervalSeriesData </td> <td>(</td> <td class="paramtype">const QVector< <a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a> > & </td> <td class="paramname"><em>samples</em> = <code>QVector<<a class="el" href="class_qwt_interval_sample.html">QwtIntervalSample</a>>()</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">samples</td><td>Samples </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="afd9a41faed021eddcc1a9a36d15350d2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QRectF QwtIntervalSeriesData::boundingRect </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Calculate the bounding rectangle. </p> <p>The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.</p> <dl class="section return"><dt>Returns</dt><dd>Bounding rectangle </dd></dl> <p>Implements <a class="el" href="class_qwt_series_data.html#afc38837db1c8b4a302938a00341a484d">QwtSeriesData< QwtIntervalSample ></a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="class_qwt_interval_series_data.html">QwtIntervalSeriesData</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> </ul> </div> </body> </html>