Sophie

Sophie

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

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: dox/GUISupport/Qt/Chart/vtkQtChartSeriesLayer.h Source File</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><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>dox/GUISupport/Qt/Chart/vtkQtChartSeriesLayer.h</h1><a href="a02754.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">  Program:   Visualization Toolkit</span>
<a name="l00004"></a>00004 <span class="comment">  Module:    $RCSfile: vtkQtChartSeriesLayer.h,v $</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span>
<a name="l00007"></a>00007 <span class="comment">  All rights reserved.</span>
<a name="l00008"></a>00008 <span class="comment">  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">     This software is distributed WITHOUT ANY WARRANTY; without even</span>
<a name="l00011"></a>00011 <span class="comment">     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span>
<a name="l00012"></a>00012 <span class="comment">     PURPOSE.  See the above copyright notice for more information.</span>
<a name="l00013"></a>00013 <span class="comment"></span>
<a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span>
<a name="l00015"></a>00015 <span class="comment">/*-------------------------------------------------------------------------</span>
<a name="l00016"></a>00016 <span class="comment">  Copyright 2008 Sandia Corporation.</span>
<a name="l00017"></a>00017 <span class="comment">  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,</span>
<a name="l00018"></a>00018 <span class="comment">  the U.S. Government retains certain rights in this software.</span>
<a name="l00019"></a>00019 <span class="comment">-------------------------------------------------------------------------*/</span>
<a name="l00020"></a>00020 
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#ifndef _vtkQtChartSeriesLayer_h</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define _vtkQtChartSeriesLayer_h</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "vtkQtChartExport.h"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="a02738.html">vtkQtChartLayer.h</a>"</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;QPixmap&gt;</span> <span class="comment">// needed for return type</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="keyword">class </span><a class="code" href="a01348.html">vtkQtChartContentsArea</a>;
<a name="l00032"></a>00032 <span class="keyword">class </span><a class="code" href="a01376.html" title="The vtkQtChartSeriesModel class is the base class for all chart series models.">vtkQtChartSeriesModel</a>;
<a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="a01379.html" title="The vtkQtChartSeriesOptions class stores the common series drawing options.">vtkQtChartSeriesOptions</a>;
<a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a>;
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="a01383.html" title="The vtkQtChartSeriesSelectionModel class ties a series selection to a series model...">vtkQtChartSeriesSelectionModel</a>;
<a name="l00036"></a>00036 <span class="keyword">class </span>QPointF;
<a name="l00037"></a>00037 <span class="keyword">class </span>QRectF;
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 
<a name="l00049"></a><a class="code" href="a01375.html">00049</a> <span class="keyword">class </span>VTKQTCHART_EXPORT <a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a> : <span class="keyword">public</span> <a class="code" href="a01354.html" title="The vtkQtChartLayer class is the base class for all chart drawing layers.">vtkQtChartLayer</a>
<a name="l00050"></a>00050 {
<a name="l00051"></a>00051   Q_OBJECT
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 <span class="keyword">public</span>:
<a name="l00054"></a><a class="code" href="a01375.html#89a3d7ce67b5b711e2bb3e56483b69cef392de2967c0dd90ccc7c18aa065645f">00054</a>   <span class="keyword">enum</span> {Type = <a class="code" href="a02733.html#e01dc815aadee555644759281591d4280979b93a7493f734966b828698425941">vtkQtChart_SeriesLayerType</a>};
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="keyword">public</span>:
<a name="l00057"></a>00057   <a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a>(<span class="keywordtype">bool</span> useContents=<span class="keyword">true</span>);
<a name="l00058"></a><a class="code" href="a01375.html#c51b536ab619ed8f2a355a805f14c3c9">00058</a>   <span class="keyword">virtual</span> ~<a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a>() {}
<a name="l00059"></a>00059 
<a name="l00069"></a>00069   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01354.html#f6377ae976f4d2a8e937c82013d15ab9" title="Sets the chart area that contains this layer.">setChartArea</a>(<a class="code" href="a01335.html" title="The vtkQtChartArea class manages the chart axes and layers.">vtkQtChartArea</a> *area);
<a name="l00070"></a>00070 
<a name="l00075"></a><a class="code" href="a01375.html#2724548cea2e88553f674aa12c921831">00075</a>   <a class="code" href="a01376.html" title="The vtkQtChartSeriesModel class is the base class for all chart series models.">vtkQtChartSeriesModel</a> *getModel()<span class="keyword"> const </span>{<span class="keywordflow">return</span> this-&gt;Model;}
<a name="l00076"></a>00076 
<a name="l00080"></a>00080   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setModel(<a class="code" href="a01376.html" title="The vtkQtChartSeriesModel class is the base class for all chart series models.">vtkQtChartSeriesModel</a> *model);
<a name="l00081"></a>00081 
<a name="l00087"></a>00087   <a class="code" href="a01379.html" title="The vtkQtChartSeriesOptions class stores the common series drawing options.">vtkQtChartSeriesOptions</a> *getSeriesOptions(<span class="keywordtype">int</span> series) <span class="keyword">const</span>;
<a name="l00088"></a>00088 
<a name="l00094"></a>00094   <span class="keywordtype">int</span> getSeriesOptionsIndex(<a class="code" href="a01379.html" title="The vtkQtChartSeriesOptions class stores the common series drawing options.">vtkQtChartSeriesOptions</a> *options) <span class="keyword">const</span>;
<a name="l00095"></a>00095 
<a name="l00104"></a>00104   <span class="keyword">virtual</span> QPixmap getSeriesIcon(<span class="keywordtype">int</span> series) <span class="keyword">const</span>;
<a name="l00105"></a>00105 
<a name="l00110"></a>00110   <a class="code" href="a01383.html" title="The vtkQtChartSeriesSelectionModel class ties a series selection to a series model...">vtkQtChartSeriesSelectionModel</a> *getSelectionModel() <span class="keyword">const</span>;
<a name="l00111"></a>00111 
<a name="l00116"></a>00116   <span class="keyword">virtual</span> <span class="keywordtype">void</span> getSeriesAt(<span class="keyword">const</span> QPointF &amp;<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21006fc9b75c5a0835cfad2ef5d44379a0b">point</a>,
<a name="l00117"></a>00117       <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a> &amp;selection) <span class="keyword">const</span>;
<a name="l00118"></a>00118 
<a name="l00123"></a>00123   <span class="keyword">virtual</span> <span class="keywordtype">void</span> getPointsAt(<span class="keyword">const</span> QPointF &amp;<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21006fc9b75c5a0835cfad2ef5d44379a0b">point</a>,
<a name="l00124"></a>00124       <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a> &amp;selection) <span class="keyword">const</span>;
<a name="l00125"></a>00125 
<a name="l00130"></a>00130   <span class="keyword">virtual</span> <span class="keywordtype">void</span> getSeriesIn(<span class="keyword">const</span> QRectF &amp;area,
<a name="l00131"></a>00131       <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a> &amp;selection) <span class="keyword">const</span>;
<a name="l00132"></a>00132 
<a name="l00137"></a>00137   <span class="keyword">virtual</span> <span class="keywordtype">void</span> getPointsIn(<span class="keyword">const</span> QRectF &amp;area,
<a name="l00138"></a>00138       <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a> &amp;selection) <span class="keyword">const</span>;
<a name="l00139"></a>00139 
<a name="l00140"></a>00140 <span class="keyword">public</span> slots:
<a name="l00144"></a>00144   <span class="keywordtype">void</span> setXOffset(<span class="keywordtype">float</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e69c3ea0b66a4036cbb0c6648abb252d">offset</a>);
<a name="l00145"></a>00145 
<a name="l00149"></a>00149   <span class="keywordtype">void</span> setYOffset(<span class="keywordtype">float</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e69c3ea0b66a4036cbb0c6648abb252d">offset</a>);
<a name="l00150"></a>00150 
<a name="l00152"></a>00152   <span class="keywordtype">void</span> resetSeriesOptions();
<a name="l00153"></a>00153 
<a name="l00154"></a>00154 signals:
<a name="l00159"></a>00159   <span class="keywordtype">void</span> modelChanged(<a class="code" href="a01376.html" title="The vtkQtChartSeriesModel class is the base class for all chart series models.">vtkQtChartSeriesModel</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21069c7015b2a8f938aa8c35894f6d72cc2">previous</a>,
<a name="l00160"></a>00160       <a class="code" href="a01376.html" title="The vtkQtChartSeriesModel class is the base class for all chart series models.">vtkQtChartSeriesModel</a> *current);
<a name="l00161"></a>00161 
<a name="l00166"></a>00166   <span class="keywordtype">void</span> modelSeriesChanged(<span class="keywordtype">int</span> first, <span class="keywordtype">int</span> last);
<a name="l00167"></a>00167 
<a name="l00172"></a>00172   <span class="keywordtype">void</span> modelSeriesVisibilityChanged(<span class="keywordtype">int</span> series, <span class="keywordtype">bool</span> visible);
<a name="l00173"></a>00173 
<a name="l00174"></a>00174 <span class="keyword">protected</span>:
<a name="l00185"></a>00185   <span class="keyword">virtual</span> <a class="code" href="a01379.html" title="The vtkQtChartSeriesOptions class stores the common series drawing options.">vtkQtChartSeriesOptions</a> *createOptions(QObject *parent) = 0;
<a name="l00186"></a>00186 
<a name="l00195"></a>00195   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setupOptions(<a class="code" href="a01379.html" title="The vtkQtChartSeriesOptions class stores the common series drawing options.">vtkQtChartSeriesOptions</a> *options) = 0;
<a name="l00196"></a>00196 
<a name="l00197"></a>00197 <span class="keyword">private</span> slots:
<a name="l00202"></a>00202   <span class="keywordtype">void</span> insertSeriesOptions(<span class="keywordtype">int</span> first, <span class="keywordtype">int</span> last);
<a name="l00203"></a>00203 
<a name="l00208"></a>00208   <span class="keywordtype">void</span> removeSeriesOptions(<span class="keywordtype">int</span> first, <span class="keywordtype">int</span> last);
<a name="l00209"></a>00209 
<a name="l00210"></a>00210 <span class="keyword">private</span>:
<a name="l00212"></a>00212   <span class="keywordtype">void</span> clearOptions();
<a name="l00213"></a>00213 
<a name="l00214"></a>00214 <span class="keyword">protected</span>:
<a name="l00216"></a><a class="code" href="a01375.html#877e5f6b19836f0604ca52fb489eb51d">00216</a>   <a class="code" href="a01383.html" title="The vtkQtChartSeriesSelectionModel class ties a series selection to a series model...">vtkQtChartSeriesSelectionModel</a> *Selection;
<a name="l00217"></a><a class="code" href="a01375.html#6ff0555158c4d9a0cc3cfb96e8272f69">00217</a>   <a class="code" href="a01376.html" title="The vtkQtChartSeriesModel class is the base class for all chart series models.">vtkQtChartSeriesModel</a> *Model;     
<a name="l00218"></a><a class="code" href="a01375.html#97e360286000b6758cfcb3235c54a60b">00218</a>   <a class="code" href="a01348.html">vtkQtChartContentsArea</a> *Contents; 
<a name="l00219"></a>00219 
<a name="l00220"></a>00220 <span class="keyword">private</span>:
<a name="l00222"></a>00222   QList&lt;vtkQtChartSeriesOptions *&gt; Options;
<a name="l00223"></a>00223 
<a name="l00224"></a>00224 <span class="keyword">private</span>:
<a name="l00225"></a>00225   <a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a>(<span class="keyword">const</span> <a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a> &amp;);
<a name="l00226"></a>00226   <a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a> &amp;);
<a name="l00227"></a>00227 };
<a name="l00228"></a>00228 
<a name="l00229"></a>00229 <span class="preprocessor">#endif</span>
<a name="l00230"></a>00230 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:31 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>