Sophie

Sophie

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

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/vtkQtChartViewBase.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/vtkQtChartViewBase.h</h1><a href="a02788.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: vtkQtChartViewBase.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 (c) Sandia Corporation</span>
<a name="l00017"></a>00017 <span class="comment"> See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.</span>
<a name="l00018"></a>00018 <span class="comment">----------------------------------------------------------------------------*/</span>
<a name="l00030"></a>00030 <span class="preprocessor">#ifndef __vtkQtChartViewBase_h</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define __vtkQtChartViewBase_h</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#include "QVTKWin32Header.h"</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="a03599.html">vtkView.h</a>"</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="a01335.html" title="The vtkQtChartArea class manages the chart axes and layers.">vtkQtChartArea</a>;
<a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="a01336.html" title="The vtkQtChartAxis class is used to display a cartesian axis.">vtkQtChartAxis</a>;
<a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="a01356.html" title="The vtkQtChartLegend class displays a chart legend.">vtkQtChartLegend</a>;
<a name="l00039"></a>00039 <span class="keyword">class </span><a class="code" href="a01362.html" title="The vtkQtChartMouseSelection class is used to select chart elements based on the...">vtkQtChartMouseSelection</a>;
<a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="a01377.html" title="The vtkQtChartSeriesModelCollection class is used to combine chart series models...">vtkQtChartSeriesModelCollection</a>;
<a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="a01394.html" title="The vtkQtChartWidget class is a container for the chart widgets.">vtkQtChartWidget</a>;
<a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="a01657.html" title="A table, which contains similar-typed columns of data.">vtkTable</a>;
<a name="l00043"></a>00043 
<a name="l00044"></a><a class="code" href="a01393.html">00044</a> <span class="keyword">class </span>QVTK_EXPORT <a class="code" href="a01393.html" title="Wraps a vtkQtChartArea into a VTK view.">vtkQtChartViewBase</a> : <span class="keyword">public</span> <a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a>
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046 <span class="keyword">public</span>:
<a name="l00047"></a>00047   <span class="keyword">static</span> <a class="code" href="a01393.html" title="Wraps a vtkQtChartArea into a VTK view.">vtkQtChartViewBase</a> *<a class="code" href="a01830.html#06ee200906fce01c3b5969d65fd7b98f">New</a>();
<a name="l00048"></a><a class="code" href="a01393.html#523ba2408b0b71284146df1fb2bdd55d">00048</a>   vtkTypeRevisionMacro(<a class="code" href="a01393.html" title="Wraps a vtkQtChartArea into a VTK view.">vtkQtChartViewBase</a>, <a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a>);
<a name="l00049"></a>00049   <span class="keywordtype">void</span> <a class="code" href="a01830.html#a62fe812546f29fb6ed1c4b1dc3dab43">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00050"></a>00050   
<a name="l00052"></a>00052   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01830.html#2c9fc0ed5191419f0da2f53b4c1bd677">Update</a>();
<a name="l00053"></a>00053 
<a name="l00055"></a>00055   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Render();
<a name="l00056"></a>00056 
<a name="l00058"></a>00058   <span class="keywordtype">void</span> Show();
<a name="l00059"></a>00059 
<a name="l00062"></a>00062   <span class="keywordtype">void</span> AddTableToView(<a class="code" href="a01657.html" title="A table, which contains similar-typed columns of data.">vtkTable</a>* table);
<a name="l00063"></a>00063 
<a name="l00065"></a>00065   <span class="keywordtype">void</span> SetTitle(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e5f55b332df391315ae0ac7197e346b3">title</a>);
<a name="l00066"></a>00066 
<a name="l00068"></a>00068   <span class="keywordtype">void</span> SetTitleFont(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2109d587ed58b8336f53f2feae53b9a1203">family</a>, <span class="keywordtype">int</span> pointSize, <span class="keywordtype">bool</span> bold, <span class="keywordtype">bool</span> italic);
<a name="l00069"></a>00069 
<a name="l00071"></a>00071   <span class="keywordtype">void</span> SetTitleColor(<span class="keywordtype">double</span> red, <span class="keywordtype">double</span> green, <span class="keywordtype">double</span> blue);
<a name="l00072"></a>00072 
<a name="l00074"></a>00074   <span class="keywordtype">void</span> SetTitleAlignment(<span class="keywordtype">int</span> alignment);
<a name="l00075"></a>00075 
<a name="l00077"></a>00077   <span class="keywordtype">void</span> SetAxisTitle(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e5f55b332df391315ae0ac7197e346b3">title</a>);
<a name="l00078"></a>00078 
<a name="l00080"></a>00080 
<a name="l00081"></a>00081   <span class="keywordtype">void</span> SetAxisTitleFont(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2109d587ed58b8336f53f2feae53b9a1203">family</a>, <span class="keywordtype">int</span> pointSize,
<a name="l00082"></a>00082     <span class="keywordtype">bool</span> bold, <span class="keywordtype">bool</span> italic);
<a name="l00084"></a>00084 
<a name="l00086"></a>00086   <span class="keywordtype">void</span> SetAxisTitleColor(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">double</span> red, <span class="keywordtype">double</span> green, <span class="keywordtype">double</span> blue);
<a name="l00087"></a>00087 
<a name="l00089"></a>00089   <span class="keywordtype">void</span> SetAxisTitleAlignment(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">int</span> alignment);
<a name="l00090"></a>00090 
<a name="l00092"></a>00092   <span class="keywordtype">void</span> SetLegendVisibility(<span class="keywordtype">bool</span> visible);
<a name="l00093"></a>00093 
<a name="l00095"></a>00095   <span class="keywordtype">void</span> SetLegendLocation(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21013c73d49b0f10fc872e9c7895421e213">location</a>);
<a name="l00096"></a>00096 
<a name="l00098"></a>00098   <span class="keywordtype">void</span> SetLegendFlow(<span class="keywordtype">int</span> flow);
<a name="l00099"></a>00099 
<a name="l00101"></a>00101   <span class="keywordtype">void</span> SetAxisVisibility(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">bool</span> visible);
<a name="l00102"></a>00102 
<a name="l00104"></a>00104   <span class="keywordtype">void</span> SetAxisColor(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">double</span> red, <span class="keywordtype">double</span> green, <span class="keywordtype">double</span> blue);
<a name="l00105"></a>00105 
<a name="l00107"></a>00107   <span class="keywordtype">void</span> SetGridVisibility(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">bool</span> visible);
<a name="l00108"></a>00108 
<a name="l00110"></a>00110   <span class="keywordtype">void</span> SetGridColorType(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">int</span> gridColorType);
<a name="l00111"></a>00111 
<a name="l00113"></a>00113   <span class="keywordtype">void</span> SetGridColor(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">double</span> red, <span class="keywordtype">double</span> green, <span class="keywordtype">double</span> blue);
<a name="l00114"></a>00114 
<a name="l00116"></a>00116   <span class="keywordtype">void</span> SetAxisLabelVisibility(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">bool</span> visible);
<a name="l00117"></a>00117 
<a name="l00119"></a>00119 
<a name="l00120"></a>00120   <span class="keywordtype">void</span> SetAxisLabelFont(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2109d587ed58b8336f53f2feae53b9a1203">family</a>, <span class="keywordtype">int</span> pointSize,
<a name="l00121"></a>00121     <span class="keywordtype">bool</span> bold, <span class="keywordtype">bool</span> italic);
<a name="l00123"></a>00123 
<a name="l00125"></a>00125   <span class="keywordtype">void</span> SetAxisLabelColor(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">double</span> red, <span class="keywordtype">double</span> green, <span class="keywordtype">double</span> blue);
<a name="l00126"></a>00126 
<a name="l00128"></a>00128   <span class="keywordtype">void</span> SetAxisLabelNotation(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">int</span> notation);
<a name="l00129"></a>00129 
<a name="l00131"></a>00131   <span class="keywordtype">void</span> SetAxisLabelPrecision(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">int</span> precision);
<a name="l00132"></a>00132 
<a name="l00134"></a>00134   <span class="keywordtype">void</span> SetAxisScale(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210733bd1e54b6acd59b06105c91204401e">scale</a>);
<a name="l00135"></a>00135 
<a name="l00137"></a>00137   <span class="keywordtype">void</span> SetAxisBehavior(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">int</span> behavior);
<a name="l00138"></a>00138 
<a name="l00140"></a>00140   <span class="keywordtype">void</span> SetAxisRange(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">double</span> minimum, <span class="keywordtype">double</span> maximum);
<a name="l00141"></a>00141 
<a name="l00143"></a>00143   <span class="keywordtype">void</span> SetAxisRange(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <span class="keywordtype">int</span> minimum, <span class="keywordtype">int</span> maximum);
<a name="l00144"></a>00144 
<a name="l00145"></a>00145   <span class="comment">//BTX</span>
<a name="l00147"></a>00147 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> AddChartSelectionHandlers(<a class="code" href="a01362.html" title="The vtkQtChartMouseSelection class is used to select chart elements based on the...">vtkQtChartMouseSelection</a>* selector);
<a name="l00148"></a>00148 
<a name="l00150"></a>00150   <a class="code" href="a01394.html" title="The vtkQtChartWidget class is a container for the chart widgets.">vtkQtChartWidget</a>* GetChartWidget();
<a name="l00151"></a>00151 
<a name="l00154"></a>00154   <a class="code" href="a01335.html" title="The vtkQtChartArea class manages the chart axes and layers.">vtkQtChartArea</a>* GetChartArea();
<a name="l00155"></a>00155 
<a name="l00157"></a>00157   <a class="code" href="a01336.html" title="The vtkQtChartAxis class is used to display a cartesian axis.">vtkQtChartAxis</a>* GetAxis(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>);
<a name="l00158"></a>00158 
<a name="l00160"></a>00160   <span class="keyword">virtual</span> <a class="code" href="a01377.html" title="The vtkQtChartSeriesModelCollection class is used to combine chart series models...">vtkQtChartSeriesModelCollection</a>* GetChartSeriesModel();
<a name="l00161"></a>00161 
<a name="l00163"></a>00163 
<a name="l00164"></a>00164   <a class="code" href="a01356.html" title="The vtkQtChartLegend class displays a chart legend.">vtkQtChartLegend</a>* GetLegend();
<a name="l00165"></a>00165   <span class="comment">//ETX</span>
<a name="l00167"></a>00167 <span class="comment"></span>
<a name="l00169"></a>00169   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetupDefaultInteractor();
<a name="l00170"></a>00170 
<a name="l00172"></a>00172 
<a name="l00173"></a>00173   <span class="keywordtype">void</span> SetColorSchemeToSpectrum();
<a name="l00174"></a>00174   <span class="keywordtype">void</span> SetColorSchemeToWarm();
<a name="l00175"></a>00175   <span class="keywordtype">void</span> SetColorSchemeToCool();
<a name="l00176"></a>00176   <span class="keywordtype">void</span> SetColorSchemeToBlues();
<a name="l00177"></a>00177   <span class="keywordtype">void</span> SetColorSchemeToWildFlower();
<a name="l00178"></a>00178   <span class="keywordtype">void</span> SetColorSchemeToCitrus();
<a name="l00180"></a>00180 
<a name="l00181"></a>00181 <span class="keyword">protected</span>:
<a name="l00183"></a>00183   <span class="keyword">virtual</span> <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>* <a class="code" href="a01830.html#44b4626a22164fe4f668bb43f782b6e7">CreateDefaultRepresentation</a>(<a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* conn);
<a name="l00184"></a>00184 
<a name="l00185"></a>00185   <a class="code" href="a01393.html" title="Wraps a vtkQtChartArea into a VTK view.">vtkQtChartViewBase</a>();
<a name="l00186"></a>00186   ~<a class="code" href="a01393.html" title="Wraps a vtkQtChartArea into a VTK view.">vtkQtChartViewBase</a>();
<a name="l00187"></a>00187 
<a name="l00188"></a>00188 <span class="keyword">private</span>:
<a name="l00189"></a>00189   <span class="comment">//BTX</span>
<a name="l00190"></a>00190   <span class="keyword">class </span>vtkInternal;
<a name="l00191"></a>00191   vtkInternal* Internal;
<a name="l00192"></a>00192   <span class="comment">//ETX</span>
<a name="l00193"></a>00193 
<a name="l00194"></a>00194 <span class="keyword">private</span>:
<a name="l00195"></a>00195   <a class="code" href="a01393.html" title="Wraps a vtkQtChartArea into a VTK view.">vtkQtChartViewBase</a>(<span class="keyword">const</span> <a class="code" href="a01393.html" title="Wraps a vtkQtChartArea into a VTK view.">vtkQtChartViewBase</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00196"></a>00196   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01393.html" title="Wraps a vtkQtChartArea into a VTK view.">vtkQtChartViewBase</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00197"></a>00197 };
<a name="l00198"></a>00198 
<a name="l00199"></a>00199 <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>