Sophie

Sophie

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

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/Rendering/vtkParallelCoordinatesActor.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/Rendering/vtkParallelCoordinatesActor.h</h1><a href="a03510.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: vtkParallelCoordinatesActor.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="l00062"></a>00062 <span class="preprocessor">#ifndef __vtkParallelCoordinatesActor_h</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define __vtkParallelCoordinatesActor_h</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span>
<a name="l00065"></a>00065 <span class="preprocessor">#include "<a class="code" href="a02186.html">vtkActor2D.h</a>"</span>
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="keyword">class </span><a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>;
<a name="l00068"></a>00068 <span class="keyword">class </span><a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>;
<a name="l00069"></a>00069 <span class="keyword">class </span><a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a>;
<a name="l00070"></a>00070 <span class="keyword">class </span><a class="code" href="a01266.html" title="draw vtkPolyData onto the image plane">vtkPolyDataMapper2D</a>;
<a name="l00071"></a>00071 <span class="keyword">class </span><a class="code" href="a01691.html" title="2D text annotation">vtkTextMapper</a>;
<a name="l00072"></a>00072 <span class="keyword">class </span><a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>;
<a name="l00073"></a>00073 
<a name="l00074"></a><a class="code" href="a03510.html#c43525da3527f62dd456e41f6bcc4532">00074</a> <span class="preprocessor">#define VTK_IV_COLUMN 0</span>
<a name="l00075"></a><a class="code" href="a03510.html#173529bf312a17754eac6622b867989d">00075</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_IV_ROW    1</span>
<a name="l00076"></a>00076 <span class="preprocessor"></span>
<a name="l00077"></a><a class="code" href="a01152.html">00077</a> <span class="keyword">class </span><a class="code" href="a02170.html#4019f67b2e7d601f2cf984e448308dbb">VTK_RENDERING_EXPORT</a> <a class="code" href="a01152.html" title="create parallel coordinate display from input field">vtkParallelCoordinatesActor</a> : <span class="keyword">public</span> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>
<a name="l00078"></a>00078 {
<a name="l00079"></a>00079 <span class="keyword">public</span>:
<a name="l00080"></a><a class="code" href="a01152.html#bf13e01b786a97ea52f07f67f4efa42c">00080</a>   vtkTypeRevisionMacro(<a class="code" href="a01152.html" title="create parallel coordinate display from input field">vtkParallelCoordinatesActor</a>,<a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>);
<a name="l00081"></a>00081   <span class="keywordtype">void</span> <a class="code" href="a00093.html#f0bb6b3aeeaa23e0f408990a40a1607a">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00082"></a>00082 
<a name="l00086"></a>00086   <span class="keyword">static</span> <a class="code" href="a01152.html" title="create parallel coordinate display from input field">vtkParallelCoordinatesActor</a> *<a class="code" href="a00093.html#470c524c4d719ddf82b0a32bc55beb6e">New</a>();
<a name="l00087"></a>00087 
<a name="l00089"></a>00089 
<a name="l00092"></a>00092   vtkSetClampMacro(IndependentVariables,<span class="keywordtype">int</span>,<a class="code" href="a02849.html#c43525da3527f62dd456e41f6bcc4532">VTK_IV_COLUMN</a>, <a class="code" href="a02849.html#173529bf312a17754eac6622b867989d">VTK_IV_ROW</a>);
<a name="l00093"></a>00093   vtkGetMacro(IndependentVariables,<span class="keywordtype">int</span>);
<a name="l00094"></a><a class="code" href="a01152.html#a9debc771af89e8fe88da35c39ef9bf0">00094</a>   <span class="keywordtype">void</span> SetIndependentVariablesToColumns()
<a name="l00095"></a>00095     {this-&gt;SetIndependentVariables(<a class="code" href="a02849.html#c43525da3527f62dd456e41f6bcc4532">VTK_IV_COLUMN</a>);};
<a name="l00096"></a><a class="code" href="a01152.html#a74f49c1e325ce06a99fbc5eda6f7175">00096</a>   <span class="keywordtype">void</span> SetIndependentVariablesToRows()
<a name="l00097"></a>00097     {this-&gt;SetIndependentVariables(<a class="code" href="a02849.html#173529bf312a17754eac6622b867989d">VTK_IV_ROW</a>);};
<a name="l00099"></a>00099 
<a name="l00101"></a>00101 
<a name="l00102"></a>00102   vtkSetStringMacro(Title);
<a name="l00103"></a>00103   vtkGetStringMacro(Title);
<a name="l00105"></a>00105 
<a name="l00107"></a>00107 
<a name="l00110"></a>00110   vtkSetClampMacro(NumberOfLabels, <span class="keywordtype">int</span>, 0, 50);
<a name="l00111"></a>00111   vtkGetMacro(NumberOfLabels, <span class="keywordtype">int</span>);
<a name="l00113"></a>00113   
<a name="l00115"></a>00115 
<a name="l00116"></a>00116   vtkSetStringMacro(LabelFormat);
<a name="l00117"></a>00117   vtkGetStringMacro(LabelFormat);
<a name="l00119"></a>00119 
<a name="l00121"></a>00121 
<a name="l00122"></a>00122   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetTitleTextProperty(<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *p);
<a name="l00123"></a>00123   vtkGetObjectMacro(TitleTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>);
<a name="l00125"></a>00125   
<a name="l00127"></a>00127 
<a name="l00128"></a>00128   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetLabelTextProperty(<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *p);
<a name="l00129"></a>00129   vtkGetObjectMacro(LabelTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>);
<a name="l00131"></a>00131       
<a name="l00133"></a>00133 
<a name="l00134"></a>00134   <span class="keywordtype">int</span> <a class="code" href="a00093.html#e26bc15689de9781fdf6ecc6ab80c2fe">RenderOpaqueGeometry</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a>*);
<a name="l00135"></a>00135   <span class="keywordtype">int</span> <a class="code" href="a00093.html#95232573f645b775c88dd81a6067addc">RenderOverlay</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a>*);
<a name="l00136"></a><a class="code" href="a01152.html#3d41b46aa76f1c3dc98bb4b8acae28c7">00136</a>   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00093.html#f7a2adb46eba24bb78c825750d46a482">RenderTranslucentPolygonalGeometry</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *) {<span class="keywordflow">return</span> 0;}
<a name="l00138"></a>00138 
<a name="l00140"></a>00140   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00093.html#a8f4fb9da8d8a683cf1c4f8541a21ff1">HasTranslucentPolygonalGeometry</a>();
<a name="l00141"></a>00141   
<a name="l00143"></a>00143   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetInput(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>*);
<a name="l00144"></a>00144 
<a name="l00146"></a>00146 
<a name="l00147"></a>00147   vtkGetObjectMacro(Input,<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>);
<a name="l00149"></a>00149 
<a name="l00153"></a>00153   <span class="keywordtype">void</span> <a class="code" href="a00093.html#dd99f157501a85867005664f4d74008d">ReleaseGraphicsResources</a>(<a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a> *);
<a name="l00154"></a>00154 
<a name="l00155"></a>00155 <span class="keyword">protected</span>:
<a name="l00156"></a>00156   <a class="code" href="a01152.html" title="create parallel coordinate display from input field">vtkParallelCoordinatesActor</a>();
<a name="l00157"></a>00157   ~<a class="code" href="a01152.html" title="create parallel coordinate display from input field">vtkParallelCoordinatesActor</a>();
<a name="l00158"></a>00158 
<a name="l00159"></a>00159 <span class="keyword">private</span>:
<a name="l00160"></a>00160   <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *Input;        <span class="comment">// List of data sets to plot</span>
<a name="l00161"></a>00161 
<a name="l00162"></a>00162   <span class="keywordtype">int</span> IndependentVariables;    <span class="comment">// Use column or row</span>
<a name="l00163"></a>00163   <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> N;                 <span class="comment">// The number of independent variables</span>
<a name="l00164"></a>00164   <span class="keywordtype">double</span> *Mins;                 <span class="comment">// Minimum data value along this row/column</span>
<a name="l00165"></a>00165   <span class="keywordtype">double</span> *Maxs;                 <span class="comment">// Maximum data value along this row/column</span>
<a name="l00166"></a>00166   <span class="keywordtype">int</span>   *Xs;                   <span class="comment">// Axes x-values (in viewport coordinates)</span>
<a name="l00167"></a>00167   <span class="keywordtype">int</span>   YMin;                  <span class="comment">// Axes y-min-value (in viewport coordinates)</span>
<a name="l00168"></a>00168   <span class="keywordtype">int</span>   YMax;                  <span class="comment">// Axes y-max-value (in viewport coordinates)</span>
<a name="l00169"></a>00169   <span class="keywordtype">int</span>   NumberOfLabels;        <span class="comment">// Along each axis</span>
<a name="l00170"></a>00170   <span class="keywordtype">char</span>  *LabelFormat;
<a name="l00171"></a>00171   <span class="keywordtype">char</span>  *Title;
<a name="l00172"></a>00172 
<a name="l00173"></a>00173   <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> **Axes;       
<a name="l00174"></a>00174   <a class="code" href="a01691.html" title="2D text annotation">vtkTextMapper</a>  *TitleMapper;
<a name="l00175"></a>00175   <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>     *TitleActor;
<a name="l00176"></a>00176 
<a name="l00177"></a>00177   <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *TitleTextProperty;
<a name="l00178"></a>00178   <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *LabelTextProperty;
<a name="l00179"></a>00179 
<a name="l00180"></a>00180   <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a>         *PlotData;    <span class="comment">// The lines drawn within the axes</span>
<a name="l00181"></a>00181   <a class="code" href="a01266.html" title="draw vtkPolyData onto the image plane">vtkPolyDataMapper2D</a> *PlotMapper;
<a name="l00182"></a>00182   <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>          *PlotActor;
<a name="l00183"></a>00183   
<a name="l00184"></a>00184   <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a>  BuildTime;
<a name="l00185"></a>00185 
<a name="l00186"></a>00186   <span class="keywordtype">int</span>   LastPosition[2];
<a name="l00187"></a>00187   <span class="keywordtype">int</span>   LastPosition2[2];
<a name="l00188"></a>00188 
<a name="l00189"></a>00189   <span class="keywordtype">void</span> Initialize();
<a name="l00190"></a>00190   <span class="keywordtype">int</span> PlaceAxes(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport, <span class="keywordtype">int</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>);
<a name="l00191"></a>00191 
<a name="l00192"></a>00192 <span class="keyword">private</span>:
<a name="l00193"></a>00193   <a class="code" href="a01152.html" title="create parallel coordinate display from input field">vtkParallelCoordinatesActor</a>(<span class="keyword">const</span> <a class="code" href="a01152.html" title="create parallel coordinate display from input field">vtkParallelCoordinatesActor</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00194"></a>00194   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01152.html" title="create parallel coordinate display from input field">vtkParallelCoordinatesActor</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00195"></a>00195 };
<a name="l00196"></a>00196 
<a name="l00197"></a>00197 
<a name="l00198"></a>00198 <span class="preprocessor">#endif</span>
<a name="l00199"></a>00199 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:48 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>