<!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/vtkArcPlotter.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/vtkArcPlotter.h</h1><a href="a02809.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: vtkArcPlotter.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="l00043"></a>00043 <span class="preprocessor">#ifndef __vtkArcPlotter_h</span> <a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#define __vtkArcPlotter_h</span> <a name="l00045"></a>00045 <span class="preprocessor"></span> <a name="l00046"></a>00046 <span class="preprocessor">#include "<a class="code" href="a02331.html">vtkPolyDataAlgorithm.h</a>"</span> <a name="l00047"></a>00047 <a name="l00048"></a><a class="code" href="a02809.html#7f13e9441025659138b7257105169dba">00048</a> <span class="preprocessor">#define VTK_PLOT_SCALARS 1</span> <a name="l00049"></a><a class="code" href="a02809.html#370e701b5c4db59f8fd326c4808b0716">00049</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_PLOT_VECTORS 2</span> <a name="l00050"></a><a class="code" href="a02809.html#df62b18767b7729a7b000e6fce72f594">00050</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_PLOT_NORMALS 3</span> <a name="l00051"></a><a class="code" href="a02809.html#cdc15dbdead533583e3e1a496db1c7d1">00051</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_PLOT_TCOORDS 4</span> <a name="l00052"></a><a class="code" href="a02809.html#dc74dc53d95a467711c516724a8c9cd9">00052</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_PLOT_TENSORS 5</span> <a name="l00053"></a><a class="code" href="a02809.html#91953d71071f77a3f8acad9f219dec7d">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_PLOT_FIELD_DATA 6</span> <a name="l00054"></a>00054 <span class="preprocessor"></span> <a name="l00055"></a>00055 <span class="keyword">class </span><a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>; <a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>; <a name="l00057"></a>00057 <span class="keyword">class </span><a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a>; <a name="l00058"></a>00058 <span class="keyword">class </span><a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a>; <a name="l00059"></a>00059 <a name="l00060"></a><a class="code" href="a00119.html">00060</a> <span class="keyword">class </span><a class="code" href="a02170.html#9e9a05a8377523b4f8d707441f65786d">VTK_HYBRID_EXPORT</a> <a class="code" href="a00119.html" title="plot data along an arbitrary polyline">vtkArcPlotter</a> : <span class="keyword">public</span> <a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a> <a name="l00061"></a>00061 { <a name="l00062"></a>00062 <span class="keyword">public</span>: <a name="l00064"></a>00064 <span class="keyword">static</span> <a class="code" href="a00119.html" title="plot data along an arbitrary polyline">vtkArcPlotter</a> *<a class="code" href="a01261.html#cf785ac526132296ff652c636f713b5e">New</a>(); <a name="l00065"></a>00065 <a name="l00066"></a><a class="code" href="a00119.html#f9fc7dd12589e9f2aa25564ef479ef1f">00066</a> vtkTypeRevisionMacro(<a class="code" href="a00119.html" title="plot data along an arbitrary polyline">vtkArcPlotter</a>,<a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a>); <a name="l00067"></a>00067 <span class="keywordtype">void</span> <a class="code" href="a01261.html#e6d59a63261b0c56f8f473984ae0e1b6">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00068"></a>00068 <a name="l00070"></a>00070 <a name="l00072"></a>00072 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetCamera(<a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>*); <a name="l00073"></a>00073 vtkGetObjectMacro(Camera,<a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>); <a name="l00075"></a>00075 <a name="l00077"></a>00077 <a name="l00081"></a>00081 vtkSetMacro(PlotMode, <span class="keywordtype">int</span>); <a name="l00082"></a>00082 vtkGetMacro(PlotMode, <span class="keywordtype">int</span>); <a name="l00083"></a><a class="code" href="a00119.html#89d1f72aa8d4a737b1789b70c07c26c9">00083</a> <span class="keywordtype">void</span> SetPlotModeToPlotScalars() {this->SetPlotMode(<a class="code" href="a02809.html#7f13e9441025659138b7257105169dba">VTK_PLOT_SCALARS</a>);}; <a name="l00084"></a><a class="code" href="a00119.html#cb9a0bdb1a1a9eb6ff8bacd4beb39585">00084</a> <span class="keywordtype">void</span> SetPlotModeToPlotVectors() {this->SetPlotMode(<a class="code" href="a02809.html#370e701b5c4db59f8fd326c4808b0716">VTK_PLOT_VECTORS</a>);}; <a name="l00085"></a><a class="code" href="a00119.html#81c0bdb4e3113c771200a70e57ca6256">00085</a> <span class="keywordtype">void</span> SetPlotModeToPlotNormals() {this->SetPlotMode(<a class="code" href="a02809.html#df62b18767b7729a7b000e6fce72f594">VTK_PLOT_NORMALS</a>);}; <a name="l00086"></a><a class="code" href="a00119.html#22935b566b022c40da2f7fdb786f66d6">00086</a> <span class="keywordtype">void</span> SetPlotModeToPlotTCoords() {this->SetPlotMode(<a class="code" href="a02809.html#cdc15dbdead533583e3e1a496db1c7d1">VTK_PLOT_TCOORDS</a>);}; <a name="l00087"></a><a class="code" href="a00119.html#f4278720222b5f5639253c3aeabeee3f">00087</a> <span class="keywordtype">void</span> SetPlotModeToPlotTensors() {this->SetPlotMode(<a class="code" href="a02809.html#dc74dc53d95a467711c516724a8c9cd9">VTK_PLOT_TENSORS</a>);}; <a name="l00088"></a><a class="code" href="a00119.html#2da862d423764fbc632ef8cf7e0cec29">00088</a> <span class="keywordtype">void</span> SetPlotModeToPlotFieldData() <a name="l00089"></a>00089 {this->SetPlotMode(<a class="code" href="a02809.html#91953d71071f77a3f8acad9f219dec7d">VTK_PLOT_FIELD_DATA</a>);}; <a name="l00091"></a>00091 <a name="l00093"></a>00093 <a name="l00096"></a>00096 vtkSetMacro(PlotComponent,<span class="keywordtype">int</span>); <a name="l00097"></a>00097 vtkGetMacro(PlotComponent,<span class="keywordtype">int</span>); <a name="l00099"></a>00099 <a name="l00101"></a>00101 <a name="l00102"></a>00102 vtkSetClampMacro(Radius,<span class="keywordtype">double</span>,0.0,<a class="code" href="a02149.html#622b18613de7a4fdb37cb4df3d720942">VTK_LARGE_FLOAT</a>); <a name="l00103"></a>00103 vtkGetMacro(Radius,<span class="keywordtype">double</span>); <a name="l00105"></a>00105 <a name="l00107"></a>00107 <a name="l00109"></a>00109 vtkSetClampMacro(Height,<span class="keywordtype">double</span>,0.0,<a class="code" href="a02149.html#622b18613de7a4fdb37cb4df3d720942">VTK_LARGE_FLOAT</a>); <a name="l00110"></a>00110 vtkGetMacro(Height,<span class="keywordtype">double</span>); <a name="l00112"></a>00112 <a name="l00114"></a>00114 <a name="l00117"></a>00117 vtkSetClampMacro(Offset, <span class="keywordtype">double</span>, 0.0, <a class="code" href="a02149.html#622b18613de7a4fdb37cb4df3d720942">VTK_LARGE_FLOAT</a>); <a name="l00118"></a>00118 vtkGetMacro(Offset, <span class="keywordtype">double</span>); <a name="l00120"></a>00120 <a name="l00122"></a>00122 <a name="l00125"></a>00125 vtkSetMacro(UseDefaultNormal,<span class="keywordtype">int</span>); <a name="l00126"></a>00126 vtkGetMacro(UseDefaultNormal,<span class="keywordtype">int</span>); <a name="l00127"></a>00127 vtkBooleanMacro(UseDefaultNormal,<span class="keywordtype">int</span>); <a name="l00129"></a>00129 <a name="l00131"></a>00131 <a name="l00133"></a>00133 vtkSetVector3Macro(DefaultNormal,<span class="keywordtype">float</span>); <a name="l00134"></a>00134 vtkGetVectorMacro(DefaultNormal,<span class="keywordtype">float</span>,3); <a name="l00136"></a>00136 <a name="l00138"></a>00138 <a name="l00140"></a>00140 vtkSetClampMacro(FieldDataArray,<span class="keywordtype">int</span>,0,<a class="code" href="a02149.html#804f55a35836c1770f9176f3a01c4d5e">VTK_LARGE_INTEGER</a>); <a name="l00141"></a>00141 vtkGetMacro(FieldDataArray,<span class="keywordtype">int</span>); <a name="l00143"></a>00143 <a name="l00145"></a>00145 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>(); <a name="l00146"></a>00146 <a name="l00147"></a>00147 <span class="keyword">protected</span>: <a name="l00148"></a>00148 <a class="code" href="a00119.html" title="plot data along an arbitrary polyline">vtkArcPlotter</a>(); <a name="l00149"></a>00149 ~<a class="code" href="a00119.html" title="plot data along an arbitrary polyline">vtkArcPlotter</a>(); <a name="l00150"></a>00150 <a name="l00151"></a>00151 <span class="keywordtype">int</span> <a class="code" href="a01261.html#6b5a43ab1f9bbcb368c7dc83e4afe068">RequestData</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> **, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *); <a name="l00152"></a>00152 <span class="keywordtype">int</span> OffsetPoint(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> ptId, <a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *inPts, <span class="keywordtype">double</span> n[3], <a name="l00153"></a>00153 <a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a> *newPts, <span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e69c3ea0b66a4036cbb0c6648abb252d">offset</a>, <a name="l00154"></a>00154 <span class="keywordtype">double</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21076786d084c43d32f242990f932679539">range</a>, <span class="keywordtype">double</span> val); <a name="l00155"></a>00155 <span class="keywordtype">int</span> ProcessComponents(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> numPts, <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *pd); <a name="l00156"></a>00156 <a name="l00157"></a><a class="code" href="a00119.html#bc8b08eeb1204ce4cf2c67f176354661">00157</a> <a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a> *Camera; <a name="l00158"></a><a class="code" href="a00119.html#e6ed0c484028f4ccdc91ccd86f7b9a48">00158</a> <span class="keywordtype">int</span> PlotMode; <a name="l00159"></a><a class="code" href="a00119.html#cfd82fd8a2c1da26dfc60e465f80b7c2">00159</a> <span class="keywordtype">int</span> PlotComponent; <a name="l00160"></a><a class="code" href="a00119.html#70416dfc599798e86b39b813e5874562">00160</a> <span class="keywordtype">double</span> Radius; <a name="l00161"></a><a class="code" href="a00119.html#2ee54ca18a2abbff298c965f1c9ee7cb">00161</a> <span class="keywordtype">double</span> Height; <a name="l00162"></a><a class="code" href="a00119.html#9eadc84ada5a9d0855215163876337b5">00162</a> <span class="keywordtype">double</span> Offset; <a name="l00163"></a><a class="code" href="a00119.html#9173051e629ca7e8361b47087bb5947b">00163</a> <span class="keywordtype">float</span> DefaultNormal[3]; <a name="l00164"></a><a class="code" href="a00119.html#5e7bd6f299e77b3ce14edf8dcc8e5a4b">00164</a> <span class="keywordtype">int</span> UseDefaultNormal; <a name="l00165"></a><a class="code" href="a00119.html#79a1f6c60c6082225fcb33b8571ba9b6">00165</a> <span class="keywordtype">int</span> FieldDataArray; <a name="l00166"></a>00166 <a name="l00167"></a>00167 <span class="keyword">private</span>: <a name="l00168"></a>00168 <a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a> *Data; <a name="l00169"></a>00169 <span class="keywordtype">double</span> *DataRange; <a name="l00170"></a>00170 <span class="keywordtype">double</span> *Tuple; <a name="l00171"></a>00171 <span class="keywordtype">int</span> NumberOfComponents; <a name="l00172"></a>00172 <span class="keywordtype">int</span> ActiveComponent; <a name="l00173"></a>00173 <span class="keywordtype">int</span> StartComp; <a name="l00174"></a>00174 <span class="keywordtype">int</span> EndComp; <a name="l00175"></a>00175 <a name="l00176"></a>00176 <span class="keyword">private</span>: <a name="l00177"></a>00177 <a class="code" href="a00119.html" title="plot data along an arbitrary polyline">vtkArcPlotter</a>(<span class="keyword">const</span> <a class="code" href="a00119.html" title="plot data along an arbitrary polyline">vtkArcPlotter</a>&); <span class="comment">// Not implemented.</span> <a name="l00178"></a>00178 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00119.html" title="plot data along an arbitrary polyline">vtkArcPlotter</a>&); <span class="comment">// Not implemented.</span> <a name="l00179"></a>00179 }; <a name="l00180"></a>00180 <a name="l00181"></a>00181 <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>