<!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/Hybrid/vtkXYPlotActor.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/Hybrid/vtkXYPlotActor.h</h1><a href="a02868.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: vtkXYPlotActor.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="l00084"></a>00084 <span class="preprocessor">#ifndef __vtkXYPlotActor_h</span> <a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor">#define __vtkXYPlotActor_h</span> <a name="l00086"></a>00086 <span class="preprocessor"></span> <a name="l00087"></a><a class="code" href="a02868.html#69c36f85b29a387c01b5ca54a2ddb981">00087</a> <span class="preprocessor">#define VTK_XYPLOT_INDEX 0</span> <a name="l00088"></a><a class="code" href="a02868.html#e07611ae2da60ffca1868742da5494f8">00088</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_XYPLOT_ARC_LENGTH 1</span> <a name="l00089"></a><a class="code" href="a02868.html#b6d57bd7f908c36ec4f944bd5346c8e4">00089</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_XYPLOT_NORMALIZED_ARC_LENGTH 2</span> <a name="l00090"></a><a class="code" href="a02868.html#a82c89a291cf49be88220deace686862">00090</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_XYPLOT_VALUE 3</span> <a name="l00091"></a>00091 <span class="preprocessor"></span> <a name="l00092"></a><a class="code" href="a02868.html#d62f04015ced3d01b69b1cd574f44c18">00092</a> <span class="preprocessor">#define VTK_XYPLOT_ROW 0</span> <a name="l00093"></a><a class="code" href="a02868.html#4ed8d1d0a587c01beb2634bc3011e067">00093</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_XYPLOT_COLUMN 1</span> <a name="l00094"></a>00094 <span class="preprocessor"></span> <a name="l00095"></a>00095 <span class="preprocessor">#include "<a class="code" href="a02186.html">vtkActor2D.h</a>"</span> <a name="l00096"></a>00096 <a name="l00097"></a>00097 <span class="keyword">class </span><a class="code" href="a00115.html" title="appends one or more polygonal datasets together">vtkAppendPolyData</a>; <a name="l00098"></a>00098 <span class="keyword">class </span><a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>; <a name="l00099"></a>00099 <span class="keyword">class </span><a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>; <a name="l00100"></a>00100 <span class="keyword">class </span><a class="code" href="a00364.html" title="maintain an unordered list of data objects">vtkDataObjectCollection</a>; <a name="l00101"></a>00101 <span class="keyword">class </span><a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a>; <a name="l00102"></a>00102 <span class="keyword">class </span><a class="code" href="a00378.html" title="maintain an unordered list of dataset objects">vtkDataSetCollection</a>; <a name="l00103"></a>00103 <span class="keyword">class </span><a class="code" href="a00650.html" title="copy oriented and scaled glyph geometry to every input point (2D specialization)">vtkGlyph2D</a>; <a name="l00104"></a>00104 <span class="keyword">class </span><a class="code" href="a00652.html" title="create 2D glyphs represented by vtkPolyData">vtkGlyphSource2D</a>; <a name="l00105"></a>00105 <span class="keyword">class </span><a class="code" href="a00900.html" title="dynamic, self-adjusting array of int">vtkIntArray</a>; <a name="l00106"></a>00106 <span class="keyword">class </span><a class="code" href="a00951.html" title="draw symbols with text">vtkLegendBoxActor</a>; <a name="l00107"></a>00107 <span class="keyword">class </span><a class="code" href="a01226.html" title="implicit function for convex set of planes">vtkPlanes</a>; <a name="l00108"></a>00108 <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="l00109"></a>00109 <span class="keyword">class </span><a class="code" href="a01266.html" title="draw vtkPolyData onto the image plane">vtkPolyDataMapper2D</a>; <a name="l00110"></a>00110 <span class="keyword">class </span><a class="code" href="a01691.html" title="2D text annotation">vtkTextMapper</a>; <a name="l00111"></a>00111 <span class="keyword">class </span><a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>; <a name="l00112"></a>00112 <a name="l00113"></a><a class="code" href="a01961.html">00113</a> <span class="keyword">class </span><a class="code" href="a02170.html#9e9a05a8377523b4f8d707441f65786d">VTK_HYBRID_EXPORT</a> <a class="code" href="a01961.html" title="generate an x-y plot from input dataset(s) or field data">vtkXYPlotActor</a> : <span class="keyword">public</span> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> <a name="l00114"></a>00114 { <a name="l00115"></a>00115 <span class="keyword">public</span>: <a name="l00116"></a><a class="code" href="a01961.html#eea8a23fd5a3838a658b5a6fd8031021">00116</a> vtkTypeRevisionMacro(<a class="code" href="a01961.html" title="generate an x-y plot from input dataset(s) or field data">vtkXYPlotActor</a>,<a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>); <a name="l00117"></a>00117 <span class="keywordtype">void</span> <a class="code" href="a00093.html#f0bb6b3aeeaa23e0f408990a40a1607a">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00118"></a>00118 <a name="l00123"></a>00123 <span class="keyword">static</span> <a class="code" href="a01961.html" title="generate an x-y plot from input dataset(s) or field data">vtkXYPlotActor</a> *<a class="code" href="a00093.html#470c524c4d719ddf82b0a32bc55beb6e">New</a>(); <a name="l00124"></a>00124 <a name="l00125"></a>00125 <span class="comment">//---Data Set Input----------------------------------------------------------</span> <a name="l00126"></a>00126 <span class="comment">// The following methods are used to plot input datasets. Datasets</span> <a name="l00127"></a>00127 <span class="comment">// will be plotted if set as input; otherwise the input data objects</span> <a name="l00128"></a>00128 <span class="comment">// will be plotted (if defined).</span> <a name="l00129"></a>00129 <a name="l00131"></a>00131 <a name="l00136"></a>00136 <span class="keywordtype">void</span> AddInput(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *in, <span class="keyword">const</span> <span class="keywordtype">char</span>* arrayName, <span class="keywordtype">int</span> <a class="code" href="a03761.html#88ade42854f67d6297898362e17a515f78fb09245c9bd345bf96d579664f9736">component</a>); <a name="l00137"></a><a class="code" href="a01961.html#3fe3f6c6e926b6739ccad1dc236d6e98">00137</a> <span class="keywordtype">void</span> AddInput(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *in) {this->AddInput(in, NULL, 0);} <a name="l00139"></a>00139 <a name="l00141"></a>00141 <a name="l00142"></a>00142 <span class="keywordtype">void</span> RemoveInput(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *in, <span class="keyword">const</span> <span class="keywordtype">char</span>* arrayName, <span class="keywordtype">int</span> <a class="code" href="a03761.html#88ade42854f67d6297898362e17a515f78fb09245c9bd345bf96d579664f9736">component</a>); <a name="l00143"></a><a class="code" href="a01961.html#d066722484d72b60a05782942059330f">00143</a> <span class="keywordtype">void</span> RemoveInput(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *in) {this->RemoveInput(in, NULL, 0);} <a name="l00145"></a>00145 <a name="l00148"></a>00148 <span class="keywordtype">void</span> RemoveAllInputs(); <a name="l00149"></a>00149 <a name="l00151"></a><a class="code" href="a01961.html#39bfb0ae3b8715cc121682d41468d0a7">00151</a> <a class="code" href="a00378.html" title="maintain an unordered list of dataset objects">vtkDataSetCollection</a> *GetInputList() {<span class="keywordflow">return</span> this->InputList;} <a name="l00152"></a>00152 <a name="l00154"></a>00154 <a name="l00157"></a>00157 <span class="keywordtype">void</span> SetPointComponent(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> comp); <a name="l00158"></a>00158 <span class="keywordtype">int</span> GetPointComponent(<span class="keywordtype">int</span> i); <a name="l00159"></a>00159 <span class="comment">//---end Data Set Input-----------------------------------------------------</span> <a name="l00161"></a>00161 <span class="comment"></span> <a name="l00163"></a>00163 <a name="l00171"></a>00171 vtkSetClampMacro(XValues,<span class="keywordtype">int</span>,<a class="code" href="a02868.html#69c36f85b29a387c01b5ca54a2ddb981">VTK_XYPLOT_INDEX</a>,<a class="code" href="a02868.html#a82c89a291cf49be88220deace686862">VTK_XYPLOT_VALUE</a>); <a name="l00172"></a>00172 vtkGetMacro(XValues,<span class="keywordtype">int</span>); <a name="l00173"></a><a class="code" href="a01961.html#031273dcc86ac0dcb82a04b0a46aca77">00173</a> <span class="keywordtype">void</span> SetXValuesToIndex(){this->SetXValues(<a class="code" href="a02868.html#69c36f85b29a387c01b5ca54a2ddb981">VTK_XYPLOT_INDEX</a>);}; <a name="l00174"></a><a class="code" href="a01961.html#e2c0b19aa28947921e24dfa756f96762">00174</a> <span class="keywordtype">void</span> SetXValuesToArcLength() {this->SetXValues(<a class="code" href="a02868.html#e07611ae2da60ffca1868742da5494f8">VTK_XYPLOT_ARC_LENGTH</a>);}; <a name="l00175"></a><a class="code" href="a01961.html#1408e95c3e6f3a0daeb82c2d3215b6fb">00175</a> <span class="keywordtype">void</span> SetXValuesToNormalizedArcLength() <a name="l00176"></a>00176 {this->SetXValues(<a class="code" href="a02868.html#b6d57bd7f908c36ec4f944bd5346c8e4">VTK_XYPLOT_NORMALIZED_ARC_LENGTH</a>);}; <a name="l00177"></a><a class="code" href="a01961.html#444145520c067ab8bada05fb018216ee">00177</a> <span class="keywordtype">void</span> SetXValuesToValue() {this->SetXValues(<a class="code" href="a02868.html#a82c89a291cf49be88220deace686862">VTK_XYPLOT_VALUE</a>);}; <a name="l00178"></a>00178 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetXValuesAsString(); <a name="l00180"></a>00180 <a name="l00181"></a>00181 <span class="comment">//---Data Object Input------------------------------------------------------</span> <a name="l00182"></a>00182 <span class="comment">// The following methods are used to plot input data objects. Datasets will</span> <a name="l00183"></a>00183 <span class="comment">// be plotted in preference to data objects if set as input; otherwise the</span> <a name="l00184"></a>00184 <span class="comment">// input data objects will be plotted (if defined).</span> <a name="l00185"></a>00185 <a name="l00187"></a>00187 <span class="keywordtype">void</span> AddDataObjectInput(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *in); <a name="l00188"></a>00188 <a name="l00190"></a>00190 <span class="keywordtype">void</span> RemoveDataObjectInput(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *in); <a name="l00191"></a>00191 <a name="l00193"></a>00193 <a name="l00194"></a><a class="code" href="a01961.html#41988f369184e13e624173a1ee55c8ce">00194</a> <a class="code" href="a00364.html" title="maintain an unordered list of data objects">vtkDataObjectCollection</a> *GetDataObjectInputList() <a name="l00195"></a>00195 {<span class="keywordflow">return</span> this->DataObjectInputList;} <a name="l00197"></a>00197 <a name="l00199"></a>00199 <a name="l00201"></a>00201 vtkSetClampMacro(DataObjectPlotMode,<span class="keywordtype">int</span>,<a class="code" href="a02868.html#d62f04015ced3d01b69b1cd574f44c18">VTK_XYPLOT_ROW</a>,<a class="code" href="a02868.html#4ed8d1d0a587c01beb2634bc3011e067">VTK_XYPLOT_COLUMN</a>); <a name="l00202"></a>00202 vtkGetMacro(DataObjectPlotMode,<span class="keywordtype">int</span>); <a name="l00203"></a><a class="code" href="a01961.html#e48059e791d954041cc8d13bcdddd257">00203</a> <span class="keywordtype">void</span> SetDataObjectPlotModeToRows() <a name="l00204"></a>00204 {this->SetDataObjectPlotMode(<a class="code" href="a02868.html#d62f04015ced3d01b69b1cd574f44c18">VTK_XYPLOT_ROW</a>);} <a name="l00205"></a><a class="code" href="a01961.html#66aff5d34fcef7d4e90d584e3328db54">00205</a> <span class="keywordtype">void</span> SetDataObjectPlotModeToColumns() <a name="l00206"></a>00206 {this->SetDataObjectPlotMode(<a class="code" href="a02868.html#4ed8d1d0a587c01beb2634bc3011e067">VTK_XYPLOT_COLUMN</a>);} <a name="l00207"></a>00207 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetDataObjectPlotModeAsString(); <a name="l00209"></a>00209 <a name="l00211"></a>00211 <a name="l00217"></a>00217 <span class="keywordtype">void</span> SetDataObjectXComponent(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> comp); <a name="l00218"></a>00218 <span class="keywordtype">int</span> GetDataObjectXComponent(<span class="keywordtype">int</span> i); <a name="l00220"></a>00220 <a name="l00222"></a>00222 <a name="l00228"></a>00228 <span class="keywordtype">void</span> SetDataObjectYComponent(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> comp); <a name="l00229"></a>00229 <span class="keywordtype">int</span> GetDataObjectYComponent(<span class="keywordtype">int</span> i); <a name="l00230"></a>00230 <span class="comment">//---end Data Object Input--------------------------------------------------</span> <a name="l00232"></a>00232 <span class="comment"></span> <a name="l00233"></a>00233 <span class="comment">//---Per Curve Properties---------------------------------------------------</span> <a name="l00234"></a>00234 <span class="comment">// The following methods are used to set properties on each curve that is</span> <a name="l00235"></a>00235 <span class="comment">// plotted. Each input dataset (or data object) results in one curve. The</span> <a name="l00236"></a>00236 <span class="comment">// methods that follow have an index i that corresponds to the input dataset</span> <a name="l00237"></a>00237 <span class="comment">// or data object. </span> <a name="l00238"></a>00238 <span class="keywordtype">void</span> SetPlotColor(<span class="keywordtype">int</span> i, <span class="keywordtype">double</span> r, <span class="keywordtype">double</span> g, <span class="keywordtype">double</span> b); <a name="l00239"></a><a class="code" href="a01961.html#c7686e31ae1fe76c6f14e88a9ca29810">00239</a> <span class="keywordtype">void</span> SetPlotColor(<span class="keywordtype">int</span> i, <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210ab06a058f9ffb559855ff8495aa7e53e">color</a>[3]) { <a name="l00240"></a>00240 this->SetPlotColor(i, color[0], color[1], color[2]); }; <a name="l00241"></a>00241 <span class="keywordtype">double</span> *GetPlotColor(<span class="keywordtype">int</span> i); <a name="l00242"></a>00242 <span class="keywordtype">void</span> SetPlotSymbol(<span class="keywordtype">int</span> i,<a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *input); <a name="l00243"></a>00243 <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *GetPlotSymbol(<span class="keywordtype">int</span> i); <a name="l00244"></a>00244 <span class="keywordtype">void</span> SetPlotLabel(<span class="keywordtype">int</span> i, <span class="keyword">const</span> <span class="keywordtype">char</span> *label); <a name="l00245"></a>00245 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetPlotLabel(<span class="keywordtype">int</span> i); <a name="l00246"></a>00246 <a name="l00247"></a>00247 <span class="comment">// Allow per-curve specification of line and point rendering. These override</span> <a name="l00248"></a>00248 <span class="comment">// global settings PlotPoints and PlotLines. If not on, the default behavior</span> <a name="l00249"></a>00249 <span class="comment">// is governed by PlotPoints and PlotLines ivars.</span> <a name="l00250"></a>00250 vtkGetMacro(PlotCurvePoints, <span class="keywordtype">int</span>); <a name="l00251"></a>00251 vtkSetMacro(PlotCurvePoints, <span class="keywordtype">int</span>); <a name="l00252"></a>00252 vtkBooleanMacro(PlotCurvePoints, <span class="keywordtype">int</span>); <a name="l00253"></a>00253 <a name="l00254"></a>00254 vtkGetMacro(PlotCurveLines, <span class="keywordtype">int</span>); <a name="l00255"></a>00255 vtkSetMacro(PlotCurveLines, <span class="keywordtype">int</span>); <a name="l00256"></a>00256 vtkBooleanMacro(PlotCurveLines, <span class="keywordtype">int</span>); <a name="l00257"></a>00257 <a name="l00258"></a>00258 <span class="keywordtype">void</span> SetPlotLines(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span>); <a name="l00259"></a>00259 <span class="keywordtype">int</span> GetPlotLines(<span class="keywordtype">int</span> i); <a name="l00260"></a>00260 <a name="l00261"></a>00261 <span class="keywordtype">void</span> SetPlotPoints(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span>); <a name="l00262"></a>00262 <span class="keywordtype">int</span> GetPlotPoints(<span class="keywordtype">int</span> i); <a name="l00263"></a>00263 <span class="comment">//---end Per Curve Properties-----------------------------------------------</span> <a name="l00264"></a>00264 <a name="l00266"></a>00266 <a name="l00268"></a>00268 vtkSetMacro(ExchangeAxes, <span class="keywordtype">int</span>); <a name="l00269"></a>00269 vtkGetMacro(ExchangeAxes, <span class="keywordtype">int</span>); <a name="l00270"></a>00270 vtkBooleanMacro(ExchangeAxes, <span class="keywordtype">int</span>); <a name="l00272"></a>00272 <a name="l00274"></a>00274 <a name="l00278"></a>00278 vtkSetMacro(ReverseXAxis, <span class="keywordtype">int</span>); <a name="l00279"></a>00279 vtkGetMacro(ReverseXAxis, <span class="keywordtype">int</span>); <a name="l00280"></a>00280 vtkBooleanMacro(ReverseXAxis, <span class="keywordtype">int</span>); <a name="l00282"></a>00282 <a name="l00284"></a>00284 <a name="l00288"></a>00288 vtkSetMacro(ReverseYAxis, <span class="keywordtype">int</span>); <a name="l00289"></a>00289 vtkGetMacro(ReverseYAxis, <span class="keywordtype">int</span>); <a name="l00290"></a>00290 vtkBooleanMacro(ReverseYAxis, <span class="keywordtype">int</span>); <a name="l00292"></a>00292 <a name="l00294"></a>00294 <a name="l00298"></a>00298 vtkGetObjectMacro(LegendActor,<a class="code" href="a00951.html" title="draw symbols with text">vtkLegendBoxActor</a>); <a name="l00299"></a>00299 vtkGetObjectMacro(GlyphSource,<a class="code" href="a00652.html" title="create 2D glyphs represented by vtkPolyData">vtkGlyphSource2D</a>); <a name="l00301"></a>00301 <a name="l00303"></a>00303 <a name="l00305"></a>00305 vtkSetStringMacro(Title); <a name="l00306"></a>00306 vtkGetStringMacro(Title); <a name="l00307"></a>00307 vtkSetStringMacro(XTitle); <a name="l00308"></a>00308 vtkGetStringMacro(XTitle); <a name="l00309"></a>00309 vtkSetStringMacro(YTitle); <a name="l00310"></a>00310 vtkGetStringMacro(YTitle); <a name="l00312"></a>00312 <a name="l00314"></a>00314 <a name="l00316"></a><a class="code" href="a01961.html#539b61a9e9110d882e8f13b6ebe8a36f">00316</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *GetXAxisActor2D() <a name="l00317"></a>00317 {<span class="keywordflow">return</span> this->XAxis;} <a name="l00318"></a><a class="code" href="a01961.html#433b40554fa720e94a9b0495f3671247">00318</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *GetYAxisActor2D() <a name="l00319"></a>00319 {<span class="keywordflow">return</span> this->YAxis;} <a name="l00321"></a>00321 <a name="l00323"></a>00323 <a name="l00329"></a>00329 vtkSetVector2Macro(XRange,<span class="keywordtype">double</span>); <a name="l00330"></a>00330 vtkGetVectorMacro(XRange,<span class="keywordtype">double</span>,2); <a name="l00331"></a>00331 vtkSetVector2Macro(YRange,<span class="keywordtype">double</span>); <a name="l00332"></a>00332 vtkGetVectorMacro(YRange,<span class="keywordtype">double</span>,2); <a name="l00333"></a><a class="code" href="a01961.html#2fc54af128fd2debd2d94b227901dd21">00333</a> <span class="keywordtype">void</span> SetPlotRange(<span class="keywordtype">double</span> xmin, <span class="keywordtype">double</span> ymin, <span class="keywordtype">double</span> xmax, <span class="keywordtype">double</span> ymax) <a name="l00334"></a>00334 {this->SetXRange(xmin,xmax); this->SetYRange(ymin,ymax);} <a name="l00336"></a>00336 <a name="l00338"></a>00338 <a name="l00343"></a>00343 vtkSetClampMacro(NumberOfXLabels, <span class="keywordtype">int</span>, 0, 50); <a name="l00344"></a>00344 vtkGetMacro(NumberOfXLabels, <span class="keywordtype">int</span>); <a name="l00345"></a>00345 vtkSetClampMacro(NumberOfYLabels, <span class="keywordtype">int</span>, 0, 50); <a name="l00346"></a>00346 vtkGetMacro(NumberOfYLabels, <span class="keywordtype">int</span>); <a name="l00347"></a><a class="code" href="a01961.html#0b10ac7df63cb0c0bd3c133582af7b40">00347</a> <span class="keywordtype">void</span> SetNumberOfLabels(<span class="keywordtype">int</span> num) <a name="l00348"></a>00348 {this->SetNumberOfXLabels(num); this->SetNumberOfYLabels(num);} <a name="l00350"></a>00350 <a name="l00352"></a>00352 <a name="l00357"></a>00357 <span class="keywordtype">void</span> SetAdjustXLabels(<span class="keywordtype">int</span> adjust); <a name="l00358"></a>00358 vtkGetMacro( AdjustXLabels, <span class="keywordtype">int</span> ); <a name="l00359"></a>00359 <span class="keywordtype">void</span> SetAdjustYLabels(<span class="keywordtype">int</span> adjust); <a name="l00360"></a>00360 vtkGetMacro( AdjustYLabels, <span class="keywordtype">int</span> ); <a name="l00362"></a>00362 <a name="l00364"></a>00364 <a name="l00365"></a>00365 <span class="keywordtype">void</span> SetXTitlePosition(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210d43ac71820d660e3c543657c794b3d8c">position</a>); <a name="l00366"></a>00366 <span class="keywordtype">double</span> GetXTitlePosition(); <a name="l00367"></a>00367 <span class="keywordtype">void</span> SetYTitlePosition(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210d43ac71820d660e3c543657c794b3d8c">position</a>); <a name="l00368"></a>00368 <span class="keywordtype">double</span> GetYTitlePosition(); <a name="l00370"></a>00370 <a name="l00372"></a>00372 <a name="l00373"></a>00373 <span class="keywordtype">void</span> SetNumberOfXMinorTicks(<span class="keywordtype">int</span> num); <a name="l00374"></a>00374 <span class="keywordtype">int</span> GetNumberOfXMinorTicks(); <a name="l00375"></a>00375 <span class="keywordtype">void</span> SetNumberOfYMinorTicks(<span class="keywordtype">int</span> num); <a name="l00376"></a>00376 <span class="keywordtype">int</span> GetNumberOfYMinorTicks(); <a name="l00378"></a>00378 <a name="l00380"></a>00380 <a name="l00383"></a>00383 vtkSetMacro(Legend, <span class="keywordtype">int</span>); <a name="l00384"></a>00384 vtkGetMacro(Legend, <span class="keywordtype">int</span>); <a name="l00385"></a>00385 vtkBooleanMacro(Legend, <span class="keywordtype">int</span>); <a name="l00387"></a>00387 <a name="l00389"></a>00389 <a name="l00391"></a>00391 vtkSetVector2Macro(TitlePosition,<span class="keywordtype">double</span>); <a name="l00392"></a>00392 vtkGetVector2Macro(TitlePosition,<span class="keywordtype">double</span>); <a name="l00394"></a>00394 <a name="l00396"></a>00396 <a name="l00398"></a>00398 vtkSetMacro(AdjustTitlePosition, <span class="keywordtype">int</span>); <a name="l00399"></a>00399 vtkGetMacro(AdjustTitlePosition, <span class="keywordtype">int</span>); <a name="l00400"></a>00400 vtkBooleanMacro(AdjustTitlePosition, <span class="keywordtype">int</span>); <a name="l00402"></a>00402 <a name="l00404"></a>00404 <a name="l00410"></a>00410 vtkSetVector2Macro(LegendPosition,<span class="keywordtype">double</span>); <a name="l00411"></a>00411 vtkGetVector2Macro(LegendPosition,<span class="keywordtype">double</span>); <a name="l00412"></a>00412 vtkSetVector2Macro(LegendPosition2,<span class="keywordtype">double</span>); <a name="l00413"></a>00413 vtkGetVector2Macro(LegendPosition2,<span class="keywordtype">double</span>); <a name="l00415"></a>00415 <a name="l00417"></a>00417 <a name="l00418"></a>00418 <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="l00419"></a>00419 vtkGetObjectMacro(TitleTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>); <a name="l00421"></a>00421 <a name="l00423"></a>00423 <a name="l00425"></a>00425 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetAxisTitleTextProperty(<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *p); <a name="l00426"></a>00426 vtkGetObjectMacro(AxisTitleTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>); <a name="l00428"></a>00428 <a name="l00430"></a>00430 <a name="l00432"></a>00432 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetAxisLabelTextProperty(<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *p); <a name="l00433"></a>00433 vtkGetObjectMacro(AxisLabelTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>); <a name="l00435"></a>00435 <a name="l00437"></a>00437 <a name="l00438"></a>00438 vtkSetMacro(Logx, <span class="keywordtype">int</span>); <a name="l00439"></a>00439 vtkGetMacro(Logx, <span class="keywordtype">int</span>); <a name="l00440"></a>00440 vtkBooleanMacro(Logx, <span class="keywordtype">int</span>); <a name="l00442"></a>00442 <a name="l00444"></a>00444 <a name="l00446"></a>00446 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetLabelFormat (<span class="keyword">const</span> <span class="keywordtype">char</span>* _arg); <a name="l00447"></a><a class="code" href="a01961.html#b4b1f5d95a89de6ae2b7622de97fd8cf">00447</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetLabelFormat() <a name="l00448"></a>00448 { <a name="l00449"></a>00449 <span class="keywordflow">return</span> this->GetXLabelFormat(); <a name="l00450"></a>00450 } <a name="l00452"></a>00452 <a name="l00454"></a>00454 <a name="l00455"></a>00455 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetXLabelFormat (<span class="keyword">const</span> <span class="keywordtype">char</span>* _arg); <a name="l00456"></a>00456 vtkGetStringMacro(XLabelFormat); <a name="l00458"></a>00458 <a name="l00460"></a>00460 <a name="l00461"></a>00461 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetYLabelFormat (<span class="keyword">const</span> <span class="keywordtype">char</span>* _arg); <a name="l00462"></a>00462 vtkGetStringMacro(YLabelFormat); <a name="l00464"></a>00464 <a name="l00466"></a>00466 <a name="l00468"></a>00468 vtkSetClampMacro(Border, <span class="keywordtype">int</span>, 0, 50); <a name="l00469"></a>00469 vtkGetMacro(Border, <span class="keywordtype">int</span>); <a name="l00471"></a>00471 <a name="l00473"></a>00473 <a name="l00476"></a>00476 vtkGetMacro(PlotPoints, <span class="keywordtype">int</span>); <a name="l00477"></a>00477 vtkSetMacro(PlotPoints, <span class="keywordtype">int</span>); <a name="l00478"></a>00478 vtkBooleanMacro(PlotPoints, <span class="keywordtype">int</span>); <a name="l00480"></a>00480 <a name="l00482"></a>00482 <a name="l00484"></a>00484 vtkGetMacro(PlotLines, <span class="keywordtype">int</span>); <a name="l00485"></a>00485 vtkSetMacro(PlotLines, <span class="keywordtype">int</span>); <a name="l00486"></a>00486 vtkBooleanMacro(PlotLines, <span class="keywordtype">int</span>); <a name="l00488"></a>00488 <a name="l00490"></a>00490 <a name="l00493"></a>00493 vtkSetClampMacro(GlyphSize, <span class="keywordtype">double</span>, 0.0, 0.2); <a name="l00494"></a>00494 vtkGetMacro(GlyphSize, <span class="keywordtype">double</span>); <a name="l00496"></a>00496 <a name="l00499"></a>00499 <span class="keywordtype">void</span> ViewportToPlotCoordinate(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport, <span class="keywordtype">double</span> &u, <span class="keywordtype">double</span> &v); <a name="l00500"></a>00500 <a name="l00502"></a>00502 <a name="l00505"></a>00505 <span class="keywordtype">void</span> ViewportToPlotCoordinate(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport); <a name="l00506"></a>00506 vtkSetVector2Macro(PlotCoordinate,<span class="keywordtype">double</span>); <a name="l00507"></a>00507 vtkGetVector2Macro(PlotCoordinate,<span class="keywordtype">double</span>); <a name="l00509"></a>00509 <a name="l00511"></a>00511 <span class="keywordtype">void</span> PlotToViewportCoordinate(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport, <span class="keywordtype">double</span> &u, <span class="keywordtype">double</span> &v); <a name="l00512"></a>00512 <a name="l00514"></a>00514 <a name="l00518"></a>00518 <span class="keywordtype">void</span> PlotToViewportCoordinate(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport); <a name="l00519"></a>00519 vtkSetVector2Macro(ViewportCoordinate,<span class="keywordtype">double</span>); <a name="l00520"></a>00520 vtkGetVector2Macro(ViewportCoordinate,<span class="keywordtype">double</span>); <a name="l00522"></a>00522 <a name="l00525"></a>00525 <span class="keywordtype">int</span> IsInPlot(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport, <span class="keywordtype">double</span> u, <span class="keywordtype">double</span> v); <a name="l00526"></a>00526 <a name="l00528"></a>00528 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a00093.html#0578389360a9c5da0c117b6b411de9d2">GetMTime</a>(); <a name="l00529"></a>00529 <a name="l00532"></a>00532 <span class="keywordtype">void</span> PrintAsCSV(ostream &os); <a name="l00533"></a>00533 <a name="l00534"></a>00534 <span class="comment">//BTX </span> <a name="l00536"></a>00536 <span class="comment"></span> <a name="l00538"></a>00538 <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="l00539"></a>00539 <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="l00540"></a><a class="code" href="a01961.html#3e183f5c86d1dc39ba7503e8cde66f31">00540</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="l00542"></a>00542 <a name="l00544"></a>00544 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00093.html#a8f4fb9da8d8a683cf1c4f8541a21ff1">HasTranslucentPolygonalGeometry</a>(); <a name="l00545"></a>00545 <a name="l00549"></a>00549 <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="l00550"></a>00550 <span class="comment">//ETX </span> <a name="l00551"></a>00551 <a name="l00552"></a>00552 <span class="keyword">protected</span>: <a name="l00553"></a>00553 <a class="code" href="a01961.html" title="generate an x-y plot from input dataset(s) or field data">vtkXYPlotActor</a>(); <a name="l00554"></a>00554 ~<a class="code" href="a01961.html" title="generate an x-y plot from input dataset(s) or field data">vtkXYPlotActor</a>(); <a name="l00555"></a>00555 <a name="l00556"></a><a class="code" href="a01961.html#10d331678f717a40ddeb39073dd2042c">00556</a> <a class="code" href="a00378.html" title="maintain an unordered list of dataset objects">vtkDataSetCollection</a> *InputList; <span class="comment">//list of data sets to plot</span> <a name="l00557"></a><a class="code" href="a01961.html#95c07bbd85a143da642284a72f029cf9">00557</a> <span class="keywordtype">char</span>** SelectedInputScalars; <span class="comment">// list of data set arrays to plot</span> <a name="l00558"></a><a class="code" href="a01961.html#be15227a427ff9f16d29c83380313854">00558</a> <a class="code" href="a00900.html" title="dynamic, self-adjusting array of int">vtkIntArray</a>* SelectedInputScalarsComponent; <span class="comment">// list of componenents</span> <a name="l00559"></a><a class="code" href="a01961.html#849145c3e1a453d59ff3336039cfcc12">00559</a> <a class="code" href="a00364.html" title="maintain an unordered list of data objects">vtkDataObjectCollection</a> *DataObjectInputList; <span class="comment">//list of data objects to plot</span> <a name="l00560"></a><a class="code" href="a01961.html#9f7b41a5fba3be9f281e9c1d7206a9db">00560</a> <span class="keywordtype">char</span> *Title; <a name="l00561"></a><a class="code" href="a01961.html#526dd0338ed1701391cb92d8a2f47203">00561</a> <span class="keywordtype">char</span> *XTitle; <a name="l00562"></a><a class="code" href="a01961.html#8c6e7e468df697b1f059e051e849aa84">00562</a> <span class="keywordtype">char</span> *YTitle; <a name="l00563"></a><a class="code" href="a01961.html#c87f0bf4ee32555eb46cb94358264770">00563</a> <span class="keywordtype">int</span> XValues; <a name="l00564"></a><a class="code" href="a01961.html#0e83d89647016e870f6bfc1069454cff">00564</a> <span class="keywordtype">int</span> NumberOfXLabels; <a name="l00565"></a><a class="code" href="a01961.html#128ddcdf00217d9b74548fff6c5d506a">00565</a> <span class="keywordtype">int</span> NumberOfYLabels; <a name="l00566"></a><a class="code" href="a01961.html#b6f45cba37f02c3d40d1a1988065e1fb">00566</a> <span class="keywordtype">int</span> Logx; <a name="l00567"></a><a class="code" href="a01961.html#53bb741a97d8d57698d3813ffd8b66b2">00567</a> <span class="keywordtype">char</span> *XLabelFormat; <a name="l00568"></a><a class="code" href="a01961.html#b81af7059e04b58dc14d82ab1512195a">00568</a> <span class="keywordtype">char</span> *YLabelFormat; <a name="l00569"></a><a class="code" href="a01961.html#cc16ea5031fa3e1123dd6ddac7ce6db7">00569</a> <span class="keywordtype">double</span> XRange[2]; <a name="l00570"></a><a class="code" href="a01961.html#33e30b0c31fe8aaa49e2866afe901c2c">00570</a> <span class="keywordtype">double</span> YRange[2]; <a name="l00571"></a><a class="code" href="a01961.html#2f7f5ee7402b48968af0638e9b0c0b17">00571</a> <span class="keywordtype">double</span> XComputedRange[2]; <span class="comment">//range actually used by plot</span> <a name="l00572"></a><a class="code" href="a01961.html#083a94a89a166acd1e05c193d2480dd6">00572</a> <span class="keywordtype">double</span> YComputedRange[2]; <span class="comment">//range actually used by plot</span> <a name="l00573"></a><a class="code" href="a01961.html#7ea4f980fdf97155e5134f547bebf75d">00573</a> <span class="keywordtype">int</span> Border; <a name="l00574"></a><a class="code" href="a01961.html#e7f03fe44ecac3e28fc1e26b5899ee63">00574</a> <span class="keywordtype">int</span> PlotLines; <a name="l00575"></a><a class="code" href="a01961.html#faf0fb47140b7bee842681d8f9b349ef">00575</a> <span class="keywordtype">int</span> PlotPoints; <a name="l00576"></a><a class="code" href="a01961.html#04fd7c69519d6a79acc1f27d3201e762">00576</a> <span class="keywordtype">int</span> PlotCurveLines; <a name="l00577"></a><a class="code" href="a01961.html#ac1624d2dd8938fdf8f629214c65aa34">00577</a> <span class="keywordtype">int</span> PlotCurvePoints; <a name="l00578"></a><a class="code" href="a01961.html#3b4435eab326fb58f01202ca3eea783e">00578</a> <span class="keywordtype">int</span> ExchangeAxes; <a name="l00579"></a><a class="code" href="a01961.html#d33b85699a925001b0a384405fa2b789">00579</a> <span class="keywordtype">int</span> ReverseXAxis; <a name="l00580"></a><a class="code" href="a01961.html#1861847676ac7ad2b859bfb87233816c">00580</a> <span class="keywordtype">int</span> ReverseYAxis; <a name="l00581"></a><a class="code" href="a01961.html#ca8bbf901cb6a8983bb084c229bb2747">00581</a> <span class="keywordtype">int</span> AdjustXLabels; <a name="l00582"></a><a class="code" href="a01961.html#dc86790136521a96099ccf39f1eddd59">00582</a> <span class="keywordtype">int</span> AdjustYLabels; <a name="l00583"></a><a class="code" href="a01961.html#f440571ae0f83e2cd921605b7e06c626">00583</a> <span class="keywordtype">int</span> AdjustTitlePosition; <a name="l00584"></a><a class="code" href="a01961.html#ce82e9f8bb481b20f319907c1c590671">00584</a> <span class="keywordtype">double</span> TitlePosition[2]; <a name="l00585"></a>00585 <a name="l00586"></a><a class="code" href="a01961.html#b557bbb4f48d6896b1eddc524d43f2c8">00586</a> <a class="code" href="a01691.html" title="2D text annotation">vtkTextMapper</a> *TitleMapper; <a name="l00587"></a><a class="code" href="a01961.html#9f003dd5e36ac60696e4f0e5bcd71b17">00587</a> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> *TitleActor; <a name="l00588"></a><a class="code" href="a01961.html#896bfb6c9cc850fa105377633db8c88a">00588</a> <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *TitleTextProperty; <a name="l00589"></a>00589 <a name="l00590"></a><a class="code" href="a01961.html#cee5b220c138b16d2d048f60ea8163f6">00590</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *XAxis; <a name="l00591"></a><a class="code" href="a01961.html#1a9907ef3242192bbe3161e493fb60e1">00591</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *YAxis; <a name="l00592"></a>00592 <a name="l00593"></a><a class="code" href="a01961.html#e7e91b1a9cd906b2d55f4f3f30ad682f">00593</a> <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *AxisTitleTextProperty; <a name="l00594"></a><a class="code" href="a01961.html#549fbecf7b27d5d473e3b9d3532f501d">00594</a> <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *AxisLabelTextProperty; <a name="l00595"></a>00595 <a name="l00596"></a><a class="code" href="a01961.html#7ceef3e46094a6abda17ebd711e9f643">00596</a> <span class="keywordtype">double</span> ViewportCoordinate[2]; <a name="l00597"></a><a class="code" href="a01961.html#f3e828147f29db69ff305e813ce6ba42">00597</a> <span class="keywordtype">double</span> PlotCoordinate[2]; <a name="l00598"></a>00598 <a name="l00599"></a>00599 <span class="comment">//Handle data objects and datasets</span> <a name="l00600"></a><a class="code" href="a01961.html#0238f3e666248300ddf0185ad097a992">00600</a> <span class="keywordtype">int</span> DataObjectPlotMode; <a name="l00601"></a><a class="code" href="a01961.html#4a483a9d13365416448ed6a3831d63cd">00601</a> <a class="code" href="a00900.html" title="dynamic, self-adjusting array of int">vtkIntArray</a> *XComponent; <a name="l00602"></a><a class="code" href="a01961.html#a6ffe94bf65a997625a98da21c2d591d">00602</a> <a class="code" href="a00900.html" title="dynamic, self-adjusting array of int">vtkIntArray</a> *YComponent; <a name="l00603"></a><a class="code" href="a01961.html#df7e3705204ecc9da89a4842fa505a82">00603</a> <a class="code" href="a00900.html" title="dynamic, self-adjusting array of int">vtkIntArray</a> *LinesOn; <a name="l00604"></a><a class="code" href="a01961.html#6d6dfa029d610890e818fa85937ce2b4">00604</a> <a class="code" href="a00900.html" title="dynamic, self-adjusting array of int">vtkIntArray</a> *PointsOn; <a name="l00605"></a>00605 <a name="l00606"></a>00606 <span class="comment">//The data drawn within the axes. Each curve is one polydata.</span> <a name="l00607"></a>00607 <span class="comment">//color is controlled by scalar data. The curves are appended</span> <a name="l00608"></a>00608 <span class="comment">//together, possibly glyphed with point symbols.</span> <a name="l00609"></a><a class="code" href="a01961.html#ce27206d55959267710bf20cf132023f">00609</a> <span class="keywordtype">int</span> NumberOfInputs; <a name="l00610"></a><a class="code" href="a01961.html#435d1b14f9de58bd3e543e0b614974d4">00610</a> <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> **PlotData; <a name="l00611"></a><a class="code" href="a01961.html#1442a718f0dfa9c1a8f75d503ab57aae">00611</a> <a class="code" href="a00650.html" title="copy oriented and scaled glyph geometry to every input point (2D specialization)">vtkGlyph2D</a> **PlotGlyph; <a name="l00612"></a><a class="code" href="a01961.html#ec08543306beda3fc70f1ff2ee815ec2">00612</a> <a class="code" href="a00115.html" title="appends one or more polygonal datasets together">vtkAppendPolyData</a> **PlotAppend; <a name="l00613"></a><a class="code" href="a01961.html#e205d73035f92cf755693ecc4c3c0c0e">00613</a> <a class="code" href="a01266.html" title="draw vtkPolyData onto the image plane">vtkPolyDataMapper2D</a> **PlotMapper; <a name="l00614"></a><a class="code" href="a01961.html#9a4d55f15371440a30385101bf0c99ee">00614</a> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> **PlotActor; <a name="l00615"></a>00615 <span class="keywordtype">void</span> InitializeEntries(); <a name="l00616"></a>00616 <a name="l00617"></a>00617 <span class="comment">// Legends and plot symbols. The legend also keeps track of</span> <a name="l00618"></a>00618 <span class="comment">// the symbols and such.</span> <a name="l00619"></a><a class="code" href="a01961.html#66fd9d6a81b02e87e9f4165c0a6ba25c">00619</a> <span class="keywordtype">int</span> Legend; <a name="l00620"></a><a class="code" href="a01961.html#c2e4a9812bc28af4b802176d013d22d6">00620</a> <span class="keywordtype">double</span> LegendPosition[2]; <a name="l00621"></a><a class="code" href="a01961.html#3cc9943b98c3f6aec05541e47de418c4">00621</a> <span class="keywordtype">double</span> LegendPosition2[2]; <a name="l00622"></a><a class="code" href="a01961.html#d85d4fe7ea3c897aeaa3ed311cd8bc6e">00622</a> <a class="code" href="a00951.html" title="draw symbols with text">vtkLegendBoxActor</a> *LegendActor; <a name="l00623"></a><a class="code" href="a01961.html#21195c9c89095be7e5dc7a233a8845d7">00623</a> <a class="code" href="a00652.html" title="create 2D glyphs represented by vtkPolyData">vtkGlyphSource2D</a> *GlyphSource; <a name="l00624"></a><a class="code" href="a01961.html#5231cf1573b2a8eb76ef53e4320f497e">00624</a> <a class="code" href="a01226.html" title="implicit function for convex set of planes">vtkPlanes</a> *ClipPlanes; <a name="l00625"></a><a class="code" href="a01961.html#c7ae04282915210cde2eef2e20dc179c">00625</a> <span class="keywordtype">double</span> GlyphSize; <a name="l00626"></a>00626 <a name="l00627"></a>00627 <span class="comment">// Keep track of changes.</span> <a name="l00628"></a><a class="code" href="a01961.html#8c92c0de342317feef32e063ef7f2659">00628</a> <span class="keywordtype">int</span> CachedSize[2]; <a name="l00629"></a><a class="code" href="a01961.html#e227cf036ded0f6aa044269928c93a82">00629</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> BuildTime; <a name="l00630"></a>00630 <a name="l00631"></a>00631 <span class="keywordtype">void</span> ComputeXRange(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21076786d084c43d32f242990f932679539">range</a>[2], <span class="keywordtype">double</span> *lengths); <a name="l00632"></a>00632 <span class="keywordtype">void</span> ComputeYRange(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21076786d084c43d32f242990f932679539">range</a>[2]); <a name="l00633"></a>00633 <span class="keywordtype">void</span> ComputeDORange(<span class="keywordtype">double</span> xrange[2], <span class="keywordtype">double</span> yrange[2], <span class="keywordtype">double</span> *lengths); <a name="l00634"></a>00634 <a name="l00635"></a>00635 <span class="keyword">virtual</span> <span class="keywordtype">void</span> CreatePlotData(<span class="keywordtype">int</span> *pos, <span class="keywordtype">int</span> *pos2, <span class="keywordtype">double</span> xRange[2], <a name="l00636"></a>00636 <span class="keywordtype">double</span> yRange[2], <span class="keywordtype">double</span> *norms, <a name="l00637"></a>00637 <span class="keywordtype">int</span> numDS, <span class="keywordtype">int</span> numDO); <a name="l00638"></a>00638 <span class="keywordtype">void</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>, <span class="keywordtype">int</span> pos[2], <span class="keywordtype">int</span> pos2[2]); <a name="l00639"></a>00639 <span class="keywordtype">void</span> GenerateClipPlanes(<span class="keywordtype">int</span> *pos, <span class="keywordtype">int</span> *pos2); <a name="l00640"></a>00640 <span class="keywordtype">double</span> ComputeGlyphScale(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> *pos, <span class="keywordtype">int</span> *pos2); <a name="l00641"></a>00641 <span class="keywordtype">void</span> ClipPlotData(<span class="keywordtype">int</span> *pos, <span class="keywordtype">int</span> *pos2, <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *pd); <a name="l00642"></a>00642 <span class="keywordtype">double</span> *TransformPoint(<span class="keywordtype">int</span> pos[2], <span class="keywordtype">int</span> pos2[2], <span class="keywordtype">double</span> x[3], <span class="keywordtype">double</span> xNew[3]); <a name="l00643"></a>00643 <a name="l00644"></a>00644 <span class="keyword">private</span>: <a name="l00645"></a>00645 <a class="code" href="a01961.html" title="generate an x-y plot from input dataset(s) or field data">vtkXYPlotActor</a>(<span class="keyword">const</span> <a class="code" href="a01961.html" title="generate an x-y plot from input dataset(s) or field data">vtkXYPlotActor</a>&); <span class="comment">// Not implemented.</span> <a name="l00646"></a>00646 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01961.html" title="generate an x-y plot from input dataset(s) or field data">vtkXYPlotActor</a>&); <span class="comment">// Not implemented.</span> <a name="l00647"></a>00647 }; <a name="l00648"></a>00648 <a name="l00649"></a>00649 <a name="l00650"></a>00650 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:33 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>