Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 1372

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!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: vtkQtChartQuad 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkQtChartQuad Class Reference</h1><!-- doxytag: class="vtkQtChartQuad" --><!-- doxytag: inherits="vtkQtChartShape" --><code>#include &lt;<a class="el" href="a04540.html">vtkQtChartQuad.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkQtChartQuad:</div>
<div class="dynsection">
<p><center><img src="a13674.png" border="0" usemap="#a13675" alt="Inheritance graph"></center>
<map name="a13675">
<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 vtkQtChartQuad:</div>
<div class="dynsection">
<p><center><img src="a13676.png" border="0" usemap="#a13677" alt="Collaboration graph"></center>
<map name="a13677">
<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="a13678.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="a01369.html" title="The vtkQtChartQuad class defines a quad used by the chart shape locator.">vtkQtChartQuad</a> class defines a quad used by the chart shape locator. 
<p>

<p>Definition at line <a class="el" href="a04540.html#l00037">37</a> of file <a class="el" href="a04540.html">vtkQtChartQuad.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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#9e77a31e19993d4c75fe20bc7fc5af6f">vtkQtChartQuad</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#37db1cfe9657d4bcb449e3a65d726785">vtkQtChartQuad</a> (int series, int index)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a quad instance.  <a href="#37db1cfe9657d4bcb449e3a65d726785"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#a7663f25d72c740920b6a7ebab75b494">vtkQtChartQuad</a> (const <a class="el" href="a01369.html">vtkQtChartQuad</a> &amp;other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#1231be45545dcd476c4b1fd7f7943890">~vtkQtChartQuad</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01369.html">vtkQtChartQuad</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#b165405a6af0608f7de426efa51a55fa">operator=</a> (const <a class="el" href="a01369.html">vtkQtChartQuad</a> &amp;other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#9599c4981dda60a9d708f6bfe9a7ee64">getBounds</a> (QRectF &amp;bounds) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the bounding box for the shape.  <a href="#9599c4981dda60a9d708f6bfe9a7ee64"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#88389974c3e2fce18bfb6bcebb27c392">contains</a> (const QPointF &amp;point) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets whether or not the shape contains the given point.  <a href="#88389974c3e2fce18bfb6bcebb27c392"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#c62ffcddf09ebc9f955680478e5d920f">intersects</a> (const QRectF &amp;area) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets whether or not the shape intersects the given area.  <a href="#c62ffcddf09ebc9f955680478e5d920f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#e85db9c7c332cbc27c423b51810f9675">setPolygon</a> (const QPolygonF &amp;polygon)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the quad shape.  <a href="#e85db9c7c332cbc27c423b51810f9675"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QPolygonF &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#43b17c15113e1f44cc63773590ed6545">getPoints</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the list of quad points.  <a href="#43b17c15113e1f44cc63773590ed6545"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#fb41a7f130e0aa84b188521c0d5a7750">setPoints</a> (const QPolygonF &amp;points)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the quad shape.  <a href="#fb41a7f130e0aa84b188521c0d5a7750"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01369.html#080770f961c5e5851e6e7a2f6fef067c">setPoint</a> (int index, const QPointF &amp;point)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the point for the given index.  <a href="#080770f961c5e5851e6e7a2f6fef067c"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="9e77a31e19993d4c75fe20bc7fc5af6f"></a><!-- doxytag: member="vtkQtChartQuad::vtkQtChartQuad" ref="9e77a31e19993d4c75fe20bc7fc5af6f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkQtChartQuad::vtkQtChartQuad           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="37db1cfe9657d4bcb449e3a65d726785"></a><!-- doxytag: member="vtkQtChartQuad::vtkQtChartQuad" ref="37db1cfe9657d4bcb449e3a65d726785" args="(int series, int index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkQtChartQuad::vtkQtChartQuad           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>series</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>index</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a quad instance. 
<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>&nbsp;</td><td>The chart series. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The chart series index. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="a7663f25d72c740920b6a7ebab75b494"></a><!-- doxytag: member="vtkQtChartQuad::vtkQtChartQuad" ref="a7663f25d72c740920b6a7ebab75b494" args="(const vtkQtChartQuad &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkQtChartQuad::vtkQtChartQuad           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01369.html">vtkQtChartQuad</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="1231be45545dcd476c4b1fd7f7943890"></a><!-- doxytag: member="vtkQtChartQuad::~vtkQtChartQuad" ref="1231be45545dcd476c4b1fd7f7943890" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual vtkQtChartQuad::~vtkQtChartQuad           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</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="b165405a6af0608f7de426efa51a55fa"></a><!-- doxytag: member="vtkQtChartQuad::operator=" ref="b165405a6af0608f7de426efa51a55fa" args="(const vtkQtChartQuad &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01369.html">vtkQtChartQuad</a>&amp; vtkQtChartQuad::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01369.html">vtkQtChartQuad</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="9599c4981dda60a9d708f6bfe9a7ee64"></a><!-- doxytag: member="vtkQtChartQuad::getBounds" ref="9599c4981dda60a9d708f6bfe9a7ee64" args="(QRectF &amp;bounds) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkQtChartQuad::getBounds           </td>
          <td>(</td>
          <td class="paramtype">QRectF &amp;&nbsp;</td>
          <td class="paramname"> <em>bounds</em>          </td>
          <td>&nbsp;)&nbsp;</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>&nbsp;</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="88389974c3e2fce18bfb6bcebb27c392"></a><!-- doxytag: member="vtkQtChartQuad::contains" ref="88389974c3e2fce18bfb6bcebb27c392" args="(const QPointF &amp;point) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool vtkQtChartQuad::contains           </td>
          <td>(</td>
          <td class="paramtype">const QPointF &amp;&nbsp;</td>
          <td class="paramname"> <em>point</em>          </td>
          <td>&nbsp;)&nbsp;</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>&nbsp;</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="c62ffcddf09ebc9f955680478e5d920f"></a><!-- doxytag: member="vtkQtChartQuad::intersects" ref="c62ffcddf09ebc9f955680478e5d920f" args="(const QRectF &amp;area) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool vtkQtChartQuad::intersects           </td>
          <td>(</td>
          <td class="paramtype">const QRectF &amp;&nbsp;</td>
          <td class="paramname"> <em>area</em>          </td>
          <td>&nbsp;)&nbsp;</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>&nbsp;</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="e85db9c7c332cbc27c423b51810f9675"></a><!-- doxytag: member="vtkQtChartQuad::setPolygon" ref="e85db9c7c332cbc27c423b51810f9675" args="(const QPolygonF &amp;polygon)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkQtChartQuad::setPolygon           </td>
          <td>(</td>
          <td class="paramtype">const QPolygonF &amp;&nbsp;</td>
          <td class="paramname"> <em>polygon</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the quad shape. 
<p>
The polygon should be a list of four points. The points should form a convex, clock-wise loop.<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>polygon</em>&nbsp;</td><td>The list of points to define the quad. </td></tr>
  </table>
</dl>

<p>Reimplemented from <a class="el" href="a01384.html#e16ecd756a594bb63cb36e04d175c1bb">vtkQtChartShape</a>.</p>

<p>Definition at line <a class="el" href="a04540.html#l00063">63</a> of file <a class="el" href="a04540.html">vtkQtChartQuad.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="43b17c15113e1f44cc63773590ed6545"></a><!-- doxytag: member="vtkQtChartQuad::getPoints" ref="43b17c15113e1f44cc63773590ed6545" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QPolygonF&amp; vtkQtChartQuad::getPoints           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the list of quad points. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The list of quad points. </dd></dl>

</div>
</div><p>
<a class="anchor" name="fb41a7f130e0aa84b188521c0d5a7750"></a><!-- doxytag: member="vtkQtChartQuad::setPoints" ref="fb41a7f130e0aa84b188521c0d5a7750" args="(const QPolygonF &amp;points)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkQtChartQuad::setPoints           </td>
          <td>(</td>
          <td class="paramtype">const QPolygonF &amp;&nbsp;</td>
          <td class="paramname"> <em>points</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the quad 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>points</em>&nbsp;</td><td>The list of points to define the quad. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="080770f961c5e5851e6e7a2f6fef067c"></a><!-- doxytag: member="vtkQtChartQuad::setPoint" ref="080770f961c5e5851e6e7a2f6fef067c" args="(int index, const QPointF &amp;point)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkQtChartQuad::setPoint           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QPointF &amp;&nbsp;</td>
          <td class="paramname"> <em>point</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the point for the given index. 
<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>index</em>&nbsp;</td><td>The index of the quad point. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>point</em>&nbsp;</td><td>The new point. </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="a04540.html">vtkQtChartQuad.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:28:25 2009 for VTK by&nbsp;
<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>