Sophie

Sophie

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

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/vtkQtChartSeriesSelection.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/vtkQtChartSeriesSelection.h</h1><a href="a02759.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: vtkQtChartSeriesSelection.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 _vtkQtChartSeriesSelection_h</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define _vtkQtChartSeriesSelection_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 &lt;QList&gt;</span> <span class="comment">// needed for typedef</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;QPair&gt;</span> <span class="comment">// needed for typedef</span>
<a name="l00030"></a>00030 
<a name="l00031"></a><a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">00031</a> <span class="keyword">typedef</span> QList&lt;QPair&lt;int, int&gt; &gt; <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a>;
<a name="l00032"></a><a class="code" href="a02759.html#3b77252d7b9d655ecf6b69546c146230">00032</a> <span class="keyword">typedef</span> QPair&lt;int, int&gt; <a class="code" href="a02759.html#3b77252d7b9d655ecf6b69546c146230">vtkQtChartIndexRange</a>;
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 
<a name="l00039"></a><a class="code" href="a01382.html">00039</a> <span class="keyword">class </span>VTKQTCHART_EXPORT <a class="code" href="a01382.html" title="The vtkQtChartSeriesSelectionItem class stores a list of index ranges.">vtkQtChartSeriesSelectionItem</a>
<a name="l00040"></a>00040 {
<a name="l00041"></a>00041 <span class="keyword">public</span>:
<a name="l00042"></a>00042   <a class="code" href="a01382.html" title="The vtkQtChartSeriesSelectionItem class stores a list of index ranges.">vtkQtChartSeriesSelectionItem</a>();
<a name="l00043"></a>00043   <a class="code" href="a01382.html" title="The vtkQtChartSeriesSelectionItem class stores a list of index ranges.">vtkQtChartSeriesSelectionItem</a>(<span class="keywordtype">int</span> series);
<a name="l00044"></a>00044   <a class="code" href="a01382.html" title="The vtkQtChartSeriesSelectionItem class stores a list of index ranges.">vtkQtChartSeriesSelectionItem</a>(<span class="keyword">const</span> <a class="code" href="a01382.html" title="The vtkQtChartSeriesSelectionItem class stores a list of index ranges.">vtkQtChartSeriesSelectionItem</a> &amp;other);
<a name="l00045"></a><a class="code" href="a01382.html#e87b23f5899a499ec355396cf1af9382">00045</a>   ~<a class="code" href="a01382.html" title="The vtkQtChartSeriesSelectionItem class stores a list of index ranges.">vtkQtChartSeriesSelectionItem</a>() {}
<a name="l00046"></a>00046 
<a name="l00047"></a>00047   <a class="code" href="a01382.html" title="The vtkQtChartSeriesSelectionItem class stores a list of index ranges.">vtkQtChartSeriesSelectionItem</a> &amp;operator=(
<a name="l00048"></a>00048       <span class="keyword">const</span> <a class="code" href="a01382.html" title="The vtkQtChartSeriesSelectionItem class stores a list of index ranges.">vtkQtChartSeriesSelectionItem</a> &amp;other);
<a name="l00049"></a>00049 
<a name="l00050"></a><a class="code" href="a01382.html#6fae589ab9c3a48c8abe3f4a0595c8f7">00050</a>   <span class="keywordtype">int</span> Series;                      
<a name="l00051"></a><a class="code" href="a01382.html#ec59b7eaf5f0377922a06caac1e030f1">00051</a>   <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> Points; 
<a name="l00052"></a>00052 };
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 
<a name="l00059"></a><a class="code" href="a01380.html">00059</a> <span class="keyword">class </span>VTKQTCHART_EXPORT <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a>
<a name="l00060"></a>00060 {
<a name="l00061"></a>00061 <span class="keyword">public</span>:
<a name="l00062"></a><a class="code" href="a01380.html#25fe479799f48749aa09e75aaca05e6c">00062</a>   <span class="keyword">enum</span> <a class="code" href="a01380.html#25fe479799f48749aa09e75aaca05e6c">SelectionType</a>
<a name="l00063"></a>00063     {
<a name="l00064"></a><a class="code" href="a01380.html#25fe479799f48749aa09e75aaca05e6c63bf1c7b845416198c10285a95162940">00064</a>     NoSelection = 0, 
<a name="l00065"></a><a class="code" href="a01380.html#25fe479799f48749aa09e75aaca05e6cfcf2d1268719ed6fc6193fad7606c771">00065</a>     SeriesSelection, 
<a name="l00066"></a><a class="code" href="a01380.html#25fe479799f48749aa09e75aaca05e6c988fad594d79c5cd749a37a63a6053f8">00066</a>     PointSelection   
<a name="l00067"></a>00067     };
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 <span class="keyword">public</span>:
<a name="l00070"></a>00070   <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a>();
<a name="l00071"></a>00071   <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a>(<span class="keyword">const</span> <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a> &amp;other);
<a name="l00072"></a><a class="code" href="a01380.html#b41f0578bf542906e1f965075b602302">00072</a>   ~<a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a>() {}
<a name="l00073"></a>00073 
<a name="l00078"></a>00078   <span class="keywordtype">bool</span> isEmpty() <span class="keyword">const</span>;
<a name="l00079"></a>00079 
<a name="l00084"></a>00084   SelectionType getType() <span class="keyword">const</span>;
<a name="l00085"></a>00085 
<a name="l00087"></a>00087   <span class="keywordtype">bool</span> clear();
<a name="l00088"></a>00088 
<a name="l00090"></a>00090 
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 
<a name="l00094"></a>00094 
<a name="l00095"></a>00095   <span class="keyword">const</span> <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;getSeries() <span class="keyword">const</span>;
<a name="l00096"></a>00096 
<a name="l00102"></a>00102   <span class="keywordtype">bool</span> setSeries(<span class="keyword">const</span> <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;series);
<a name="l00103"></a>00103 
<a name="l00109"></a>00109   <span class="keywordtype">bool</span> setSeries(<span class="keyword">const</span> <a class="code" href="a02759.html#3b77252d7b9d655ecf6b69546c146230">vtkQtChartIndexRange</a> &amp;series);
<a name="l00110"></a>00110 
<a name="l00116"></a>00116   <span class="keywordtype">bool</span> addSeries(<span class="keyword">const</span> <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;series);
<a name="l00117"></a>00117 
<a name="l00123"></a>00123   <span class="keywordtype">bool</span> addSeries(<span class="keyword">const</span> <a class="code" href="a02759.html#3b77252d7b9d655ecf6b69546c146230">vtkQtChartIndexRange</a> &amp;series);
<a name="l00124"></a>00124 
<a name="l00130"></a>00130   <span class="keywordtype">bool</span> subtractSeries(<span class="keyword">const</span> <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;series);
<a name="l00131"></a>00131 
<a name="l00137"></a>00137   <span class="keywordtype">bool</span> subtractSeries(<span class="keyword">const</span> <a class="code" href="a02759.html#3b77252d7b9d655ecf6b69546c146230">vtkQtChartIndexRange</a> &amp;series);
<a name="l00138"></a>00138 
<a name="l00144"></a>00144   <span class="keywordtype">bool</span> xorSeries(<span class="keyword">const</span> <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;series);
<a name="l00145"></a>00145 
<a name="l00151"></a>00151   <span class="keywordtype">bool</span> xorSeries(<span class="keyword">const</span> <a class="code" href="a02759.html#3b77252d7b9d655ecf6b69546c146230">vtkQtChartIndexRange</a> &amp;series);
<a name="l00152"></a>00152 
<a name="l00157"></a>00157   <span class="keywordtype">void</span> limitSeries(<span class="keywordtype">int</span> minimum, <span class="keywordtype">int</span> maximum);
<a name="l00159"></a>00159 
<a name="l00161"></a>00161 
<a name="l00162"></a>00162 
<a name="l00163"></a>00163 
<a name="l00164"></a>00164 
<a name="l00165"></a>00165 
<a name="l00166"></a>00166   <span class="keyword">const</span> QList&lt;vtkQtChartSeriesSelectionItem&gt; &amp;getPoints() <span class="keyword">const</span>;
<a name="l00167"></a>00167 
<a name="l00173"></a>00173   <span class="keywordtype">bool</span> setPoints(<span class="keyword">const</span> QList&lt;vtkQtChartSeriesSelectionItem&gt; &amp;<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2100fd9718c29b22570d5b02fa5c8de94f7">points</a>);
<a name="l00174"></a>00174 
<a name="l00180"></a>00180   <span class="keywordtype">bool</span> addPoints(<span class="keyword">const</span> QList&lt;vtkQtChartSeriesSelectionItem&gt; &amp;<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2100fd9718c29b22570d5b02fa5c8de94f7">points</a>);
<a name="l00181"></a>00181 
<a name="l00187"></a>00187   <span class="keywordtype">bool</span> subtractPoints(<span class="keyword">const</span> QList&lt;vtkQtChartSeriesSelectionItem&gt; &amp;<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2100fd9718c29b22570d5b02fa5c8de94f7">points</a>);
<a name="l00188"></a>00188 
<a name="l00195"></a>00195   <span class="keywordtype">bool</span> subtractPoints(<span class="keyword">const</span> <a class="code" href="a02759.html#3b77252d7b9d655ecf6b69546c146230">vtkQtChartIndexRange</a> &amp;series);
<a name="l00196"></a>00196 
<a name="l00202"></a>00202   <span class="keywordtype">bool</span> xorPoints(<span class="keyword">const</span> QList&lt;vtkQtChartSeriesSelectionItem&gt; &amp;<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2100fd9718c29b22570d5b02fa5c8de94f7">points</a>);
<a name="l00203"></a>00203 
<a name="l00208"></a>00208   QList&lt;int&gt; getPointSeries() <span class="keyword">const</span>;
<a name="l00209"></a>00209 
<a name="l00215"></a>00215   <span class="keywordtype">void</span> limitPoints(<span class="keywordtype">int</span> series, <span class="keywordtype">int</span> minimum, <span class="keywordtype">int</span> maximum);
<a name="l00217"></a>00217 
<a name="l00218"></a>00218   <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a> &amp;other);
<a name="l00219"></a>00219 
<a name="l00220"></a>00220 <span class="keyword">private</span>:
<a name="l00227"></a>00227   <span class="keywordtype">bool</span> addRanges(<span class="keyword">const</span> <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;<a class="code" href="a02995.html#7c22aa18a4e42c330618a6410d133551">source</a>,
<a name="l00228"></a>00228       <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;<a class="code" href="a02995.html#fc938df20cbcc0144ed508333af97623">target</a>);
<a name="l00229"></a>00229 
<a name="l00236"></a>00236   <span class="keywordtype">bool</span> subtractRanges(<span class="keyword">const</span> <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;<a class="code" href="a02995.html#7c22aa18a4e42c330618a6410d133551">source</a>,
<a name="l00237"></a>00237       <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;<a class="code" href="a02995.html#fc938df20cbcc0144ed508333af97623">target</a>);
<a name="l00238"></a>00238 
<a name="l00244"></a>00244   <span class="keywordtype">void</span> limitRanges(<a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> &amp;list, <span class="keywordtype">int</span> minimum, <span class="keywordtype">int</span> maximum);
<a name="l00245"></a>00245 
<a name="l00246"></a>00246 <span class="keyword">private</span>:
<a name="l00247"></a>00247   <a class="code" href="a02759.html#d94e82d8e7eacf0435d539f0b2290a97">vtkQtChartIndexRangeList</a> Series;             
<a name="l00248"></a>00248   QList&lt;vtkQtChartSeriesSelectionItem&gt; Points; 
<a name="l00249"></a>00249 };
<a name="l00250"></a>00250 
<a name="l00251"></a>00251 <span class="preprocessor">#endif</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>