<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: vtkQtChartBar Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkQtChartBar Class Reference</h1><!-- doxytag: class="vtkQtChartBar" --><!-- doxytag: inherits="vtkQtChartShape" --><code>#include <<a class="el" href="a04517.html">vtkQtChartBar.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkQtChartBar:</div> <div class="dynsection"> <p><center><img src="a13588.png" border="0" usemap="#a13589" alt="Inheritance graph"></center> <map name="a13589"> <area shape="rect" href="a01384.html" title="The vtkQtChartShape class is the base class for shapes used in the chart shape locators..." alt="" coords="6,5,134,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkQtChartBar:</div> <div class="dynsection"> <p><center><img src="a13590.png" border="0" usemap="#a13591" alt="Collaboration graph"></center> <map name="a13591"> <area shape="rect" href="a01384.html" title="The vtkQtChartShape class is the base class for shapes used in the chart shape locators..." alt="" coords="6,5,134,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a13592.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> The <a class="el" href="a01343.html" title="The vtkQtChartBar class defines a bar used by the chart bar locator.">vtkQtChartBar</a> class defines a bar used by the chart bar locator. <p> <p>Definition at line <a class="el" href="a04517.html#l00035">35</a> of file <a class="el" href="a04517.html">vtkQtChartBar.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#0d4cce5feb799c212f74584c5c334554">vtkQtChartBar</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#164d72d8436e1cd863e23943177c7260">vtkQtChartBar</a> (int series, int index)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a chart bar shape. <a href="#164d72d8436e1cd863e23943177c7260"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#a3135b395159525bffa52ca0b29ff403">vtkQtChartBar</a> (const <a class="el" href="a01343.html">vtkQtChartBar</a> &other)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#c132dc2639cf098e34abca9e676b705c">~vtkQtChartBar</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01343.html">vtkQtChartBar</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#d2a8c38dff76ef11bc393f9fd7e5f527">operator=</a> (const <a class="el" href="a01343.html">vtkQtChartBar</a> &other)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#4fb87457d80acd2605e8c938790ed158">getBounds</a> (QRectF &bounds) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the bounding box for the shape. <a href="#4fb87457d80acd2605e8c938790ed158"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#61e3ed5c0d654e29306b15a5d204959b">contains</a> (const QPointF &point) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets whether or not the shape contains the given point. <a href="#61e3ed5c0d654e29306b15a5d204959b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#d8a45d35e9f7dbaae18358cf3e8c8f32">intersects</a> (const QRectF &area) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets whether or not the shape intersects the given area. <a href="#d8a45d35e9f7dbaae18358cf3e8c8f32"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#0a29cfc3409205f05132441971276420">setRectangle</a> (const QRectF &rectangle)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the bar shape. <a href="#0a29cfc3409205f05132441971276420"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QRectF & </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#eb2b3284d3dce6f5d316f6efef28e2ba">getBar</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the bar shape. <a href="#eb2b3284d3dce6f5d316f6efef28e2ba"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const QRectF & </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#b1098427f524df2a6cb31323e7fc76e1">getBar</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the bar shape. <a href="#b1098427f524df2a6cb31323e7fc76e1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01343.html#9691bd5f599317034c0d91382e549b3e">setBar</a> (const QRectF &bar)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the bar shape. <a href="#9691bd5f599317034c0d91382e549b3e"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="0d4cce5feb799c212f74584c5c334554"></a><!-- doxytag: member="vtkQtChartBar::vtkQtChartBar" ref="0d4cce5feb799c212f74584c5c334554" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkQtChartBar::vtkQtChartBar </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="164d72d8436e1cd863e23943177c7260"></a><!-- doxytag: member="vtkQtChartBar::vtkQtChartBar" ref="164d72d8436e1cd863e23943177c7260" args="(int series, int index)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkQtChartBar::vtkQtChartBar </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>series</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>index</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructs a chart bar shape. <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>series</em> </td><td>The series index. </td></tr> <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The index in the given series. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="a3135b395159525bffa52ca0b29ff403"></a><!-- doxytag: member="vtkQtChartBar::vtkQtChartBar" ref="a3135b395159525bffa52ca0b29ff403" args="(const vtkQtChartBar &other)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkQtChartBar::vtkQtChartBar </td> <td>(</td> <td class="paramtype">const <a class="el" href="a01343.html">vtkQtChartBar</a> & </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="c132dc2639cf098e34abca9e676b705c"></a><!-- doxytag: member="vtkQtChartBar::~vtkQtChartBar" ref="c132dc2639cf098e34abca9e676b705c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual vtkQtChartBar::~vtkQtChartBar </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="d2a8c38dff76ef11bc393f9fd7e5f527"></a><!-- doxytag: member="vtkQtChartBar::operator=" ref="d2a8c38dff76ef11bc393f9fd7e5f527" args="(const vtkQtChartBar &other)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a01343.html">vtkQtChartBar</a>& vtkQtChartBar::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="a01343.html">vtkQtChartBar</a> & </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="4fb87457d80acd2605e8c938790ed158"></a><!-- doxytag: member="vtkQtChartBar::getBounds" ref="4fb87457d80acd2605e8c938790ed158" args="(QRectF &bounds) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkQtChartBar::getBounds </td> <td>(</td> <td class="paramtype">QRectF & </td> <td class="paramname"> <em>bounds</em> </td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the bounding box for the shape. <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>bounds</em> </td><td>Used to return the bounding box. </td></tr> </table> </dl> <p>Implements <a class="el" href="a01384.html#dc45c56f4517a2d81ea820ccf1ce089c">vtkQtChartShape</a>.</p> </div> </div><p> <a class="anchor" name="61e3ed5c0d654e29306b15a5d204959b"></a><!-- doxytag: member="vtkQtChartBar::contains" ref="61e3ed5c0d654e29306b15a5d204959b" args="(const QPointF &point) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool vtkQtChartBar::contains </td> <td>(</td> <td class="paramtype">const QPointF & </td> <td class="paramname"> <em>point</em> </td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Gets whether or not the shape contains the given point. <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>point</em> </td><td>The position to evaluate. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the shape contains the given point. </dd></dl> <p>Implements <a class="el" href="a01384.html#fe2a5383e541999e887d2e7b1afc0e2b">vtkQtChartShape</a>.</p> </div> </div><p> <a class="anchor" name="d8a45d35e9f7dbaae18358cf3e8c8f32"></a><!-- doxytag: member="vtkQtChartBar::intersects" ref="d8a45d35e9f7dbaae18358cf3e8c8f32" args="(const QRectF &area) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool vtkQtChartBar::intersects </td> <td>(</td> <td class="paramtype">const QRectF & </td> <td class="paramname"> <em>area</em> </td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Gets whether or not the shape intersects the given area. <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>area</em> </td><td>The area to evaluate. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the shape intersects the given area. </dd></dl> <p>Implements <a class="el" href="a01384.html#156c050341c1ad90c6d8cdb0965c7955">vtkQtChartShape</a>.</p> </div> </div><p> <a class="anchor" name="0a29cfc3409205f05132441971276420"></a><!-- doxytag: member="vtkQtChartBar::setRectangle" ref="0a29cfc3409205f05132441971276420" args="(const QRectF &rectangle)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkQtChartBar::setRectangle </td> <td>(</td> <td class="paramtype">const QRectF & </td> <td class="paramname"> <em>rectangle</em> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the bar shape. <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>rectangle</em> </td><td>The new bar shape. </td></tr> </table> </dl> <p>Reimplemented from <a class="el" href="a01384.html#4996a133af4f72e6401eba2e022543b7">vtkQtChartShape</a>.</p> <p>Definition at line <a class="el" href="a04517.html#l00057">57</a> of file <a class="el" href="a04517.html">vtkQtChartBar.h</a>.</p> </div> </div><p> <a class="anchor" name="eb2b3284d3dce6f5d316f6efef28e2ba"></a><!-- doxytag: member="vtkQtChartBar::getBar" ref="eb2b3284d3dce6f5d316f6efef28e2ba" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QRectF& vtkQtChartBar::getBar </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the bar shape. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The bar rectangle. </dd></dl> <p>Definition at line <a class="el" href="a04517.html#l00063">63</a> of file <a class="el" href="a04517.html">vtkQtChartBar.h</a>.</p> </div> </div><p> <a class="anchor" name="b1098427f524df2a6cb31323e7fc76e1"></a><!-- doxytag: member="vtkQtChartBar::getBar" ref="b1098427f524df2a6cb31323e7fc76e1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const QRectF& vtkQtChartBar::getBar </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the bar shape. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The bar rectangle. </dd></dl> <p>Definition at line <a class="el" href="a04517.html#l00069">69</a> of file <a class="el" href="a04517.html">vtkQtChartBar.h</a>.</p> </div> </div><p> <a class="anchor" name="9691bd5f599317034c0d91382e549b3e"></a><!-- doxytag: member="vtkQtChartBar::setBar" ref="9691bd5f599317034c0d91382e549b3e" args="(const QRectF &bar)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkQtChartBar::setBar </td> <td>(</td> <td class="paramtype">const QRectF & </td> <td class="paramname"> <em>bar</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the bar shape. <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>bar</em> </td><td>The new bar rectangle. </td></tr> </table> </dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/GUISupport/Qt/Chart/<a class="el" href="a04517.html">vtkQtChartBar.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:28:10 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>