<!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/vtkQtChartRepresentation.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 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><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/vtkQtChartRepresentation.h</h1><a href="a02785.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: vtkQtChartRepresentation.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="l00029"></a>00029 <span class="preprocessor">#ifndef __vtkQtChartRepresentation_h</span> <a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define __vtkQtChartRepresentation_h</span> <a name="l00031"></a>00031 <span class="preprocessor"></span> <a name="l00032"></a>00032 <span class="preprocessor">#include "QVTKWin32Header.h"</span> <a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="a02798.html">vtkQtTableDataRepresentation.h</a>"</span> <a name="l00034"></a>00034 <a name="l00035"></a>00035 <span class="preprocessor">#include <QObject></span> <a name="l00036"></a>00036 <span class="preprocessor">#include <QList></span> <a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="a02759.html">vtkQtChartSeriesSelection.h</a>"</span> <a name="l00038"></a>00038 <a name="l00039"></a>00039 <span class="keyword">class </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="l00040"></a>00040 <span class="keyword">class </span>QItemSelection; <a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="a01330.html" title="Superclass for Qt model adapters.">vtkQtAbstractModelAdapter</a>; <a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>; <a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>; <a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="a00722.html" title="dynamic, self-adjusting array of vtkIdType">vtkIdTypeArray</a>; <a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="a00900.html" title="dynamic, self-adjusting array of int">vtkIntArray</a>; <a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="a00980.html" title="map scalar values into colors via a lookup table">vtkLookupTable</a>; <a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>; <a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="a01399.html" title="Superclass for Qt widget-based views.">vtkQtItemView</a>; <a name="l00049"></a>00049 <span class="keyword">class </span><a class="code" href="a01522.html" title="A node in a selection tree. Used to store selection results.">vtkSelection</a>; <a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="a01524.html" title="An algorithm for linking selections among objects.">vtkSelectionLink</a>; <a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a>; <a name="l00052"></a>00052 <a name="l00053"></a><a class="code" href="a01371.html">00053</a> <span class="keyword">class </span>QVTK_EXPORT <a class="code" href="a01371.html">vtkQtChartRepresentationSignalHandler</a> : <span class="keyword">public</span> QObject <a name="l00054"></a>00054 { <a name="l00055"></a>00055 Q_OBJECT <a name="l00056"></a>00056 <span class="keyword">public</span>: <a name="l00057"></a><a class="code" href="a01371.html#cc1fd3623419f1f168270a79d1300830">00057</a> <span class="keywordtype">void</span> setTarget(<a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>* t) { this->Target = t; } <a name="l00058"></a>00058 <span class="keyword">public</span> slots: <a name="l00059"></a>00059 <span class="keywordtype">void</span> selectedSeriesChanged(<span class="keyword">const</span> <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a>&); <a name="l00060"></a>00060 <span class="keywordtype">void</span> modelChanged(); <a name="l00061"></a>00061 <span class="keyword">private</span>: <a name="l00062"></a>00062 <a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>* Target; <a name="l00063"></a>00063 }; <a name="l00064"></a>00064 <a name="l00065"></a><a class="code" href="a01370.html">00065</a> <span class="keyword">class </span>QVTK_EXPORT <a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a> : <span class="keyword">public</span> <a class="code" href="a01419.html" title="Show table metadata in a QListView.">vtkQtTableDataRepresentation</a> <a name="l00066"></a>00066 { <a name="l00067"></a>00067 <span class="keyword">public</span>: <a name="l00068"></a>00068 <span class="keyword">static</span> <a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a> *<a class="code" href="a01419.html#4462e5b5474b8ed54cf221f75061959e">New</a>(); <a name="l00069"></a><a class="code" href="a01370.html#15046f0136eb6fd793324e8e5e7f86f3">00069</a> vtkTypeRevisionMacro(<a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>, <a class="code" href="a01419.html" title="Show table metadata in a QListView.">vtkQtTableDataRepresentation</a>); <a name="l00070"></a>00070 <span class="keywordtype">void</span> <a class="code" href="a01419.html#966deaef9dc49904cd681a06a7184924">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00071"></a>00071 <a name="l00073"></a>00073 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01422.html#61ea9a708446b2347ccc03c5489f9444">SetInputConnection</a>(<a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* conn); <a name="l00074"></a>00074 <a name="l00076"></a>00076 <a name="l00077"></a>00077 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetChartLayer(<a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a>* layer); <a name="l00078"></a><a class="code" href="a01370.html#61f41c26a62221f5986ad991a08542f3">00078</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>* GetChartLayer() { <span class="keywordflow">return</span> this->ChartLayer; } <a name="l00080"></a>00080 <a name="l00082"></a>00082 <span class="keyword">virtual</span> <span class="keywordtype">void</span> QtSelectedSeriesChanged(<span class="keyword">const</span> <a class="code" href="a01380.html" title="The vtkQtChartSeriesSelection class is used for series and point selection.">vtkQtChartSeriesSelection</a> &list); <a name="l00083"></a>00083 <a name="l00085"></a>00085 <span class="keyword">virtual</span> <span class="keywordtype">void</span> QtModelChanged(); <a name="l00086"></a>00086 <a name="l00088"></a>00088 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01422.html#1cced86940fdbb105ca53eb460d9e1f8">Update</a>(); <a name="l00089"></a>00089 <a name="l00091"></a>00091 <a name="l00093"></a>00093 <span class="keywordtype">void</span> SetColumnsAsSeries(<span class="keywordtype">bool</span>); <a name="l00094"></a>00094 vtkGetMacro(ColumnsAsSeries,<span class="keywordtype">int</span>); <a name="l00096"></a>00096 <a name="l00097"></a>00097 <span class="keyword">protected</span>: <a name="l00098"></a>00098 <a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>(); <a name="l00099"></a>00099 ~<a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>(); <a name="l00100"></a>00100 <a name="l00103"></a>00103 <span class="keywordtype">bool</span> <a class="code" href="a00373.html#9959b0453d651b390c11e9828ad8e111">AddToView</a>(<a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a>* view); <a name="l00104"></a>00104 <a name="l00107"></a>00107 <span class="keywordtype">bool</span> <a class="code" href="a00373.html#3123cef489f6f49709b59404bfcb177b">RemoveFromView</a>(<a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a>* view); <a name="l00108"></a>00108 <a name="l00109"></a>00109 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01422.html#4b4f72fce2f176c15de8420fe1ecba41">CreateSeriesColors</a>(); <a name="l00110"></a>00110 <a name="l00112"></a><a class="code" href="a01370.html#381569b5523ebe0d4b6626d308ed5c60">00112</a> <a class="code" href="a01375.html" title="The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart...">vtkQtChartSeriesLayer</a>* ChartLayer; <a name="l00113"></a>00113 <a name="l00115"></a><a class="code" href="a01370.html#3f65721cbddfccc6bcb079c373c7a0e5">00115</a> <a class="code" href="a01371.html">vtkQtChartRepresentationSignalHandler</a>* Handler; <a name="l00116"></a>00116 <a name="l00118"></a><a class="code" href="a01370.html#cba79619ecb6952a2fb4a38e9284a45a">00118</a> <a class="code" href="a00722.html" title="dynamic, self-adjusting array of vtkIdType">vtkIdTypeArray</a>* SeriesToVTKMap; <a name="l00119"></a>00119 <a name="l00121"></a><a class="code" href="a01370.html#91c8ba27b750bba3a4e7b6b32b8b3549">00121</a> <a class="code" href="a00900.html" title="dynamic, self-adjusting array of int">vtkIntArray</a>* VTKToSeriesMap; <a name="l00122"></a>00122 <a name="l00123"></a><a class="code" href="a01370.html#f90b41aeff25d912b5a06c97df22c03f">00123</a> <span class="keywordtype">bool</span> ColumnsAsSeries; <a name="l00124"></a>00124 <a name="l00125"></a>00125 <span class="keyword">private</span>: <a name="l00126"></a>00126 <a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>(<span class="keyword">const</span> <a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>&); <span class="comment">// Not implemented.</span> <a name="l00127"></a>00127 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01370.html" title="Put a vtkTable into a QChartLayer.">vtkQtChartRepresentation</a>&); <span class="comment">// Not implemented.</span> <a name="l00128"></a>00128 }; <a name="l00129"></a>00129 <a name="l00130"></a>00130 <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 <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>