<!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/Graphics/vtkDataObjectToDataSetFilter.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/Graphics/vtkDataObjectToDataSetFilter.h</h1><a href="a02503.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: vtkDataObjectToDataSetFilter.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="l00067"></a>00067 <span class="preprocessor">#ifndef __vtkDataObjectToDataSetFilter_h</span> <a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define __vtkDataObjectToDataSetFilter_h</span> <a name="l00069"></a>00069 <span class="preprocessor"></span> <a name="l00070"></a>00070 <span class="preprocessor">#include "<a class="code" href="a02227.html">vtkDataSetAlgorithm.h</a>"</span> <a name="l00071"></a>00071 <a name="l00072"></a>00072 <span class="keyword">class </span><a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a>; <a name="l00073"></a>00073 <span class="keyword">class </span><a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>; <a name="l00074"></a>00074 <span class="keyword">class </span><a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a>; <a name="l00075"></a>00075 <span class="keyword">class </span><a class="code" href="a01251.html" title="abstract class for specifying dataset behavior">vtkPointSet</a>; <a name="l00076"></a>00076 <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="l00077"></a>00077 <span class="keyword">class </span><a class="code" href="a01460.html" title="a dataset that is topologically regular with variable spacing in the three coordinate...">vtkRectilinearGrid</a>; <a name="l00078"></a>00078 <span class="keyword">class </span><a class="code" href="a01625.html" title="topologically regular array of data">vtkStructuredGrid</a>; <a name="l00079"></a>00079 <span class="keyword">class </span><a class="code" href="a01635.html" title="A subclass of ImageData.">vtkStructuredPoints</a>; <a name="l00080"></a>00080 <span class="keyword">class </span><a class="code" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a>; <a name="l00081"></a>00081 <a name="l00082"></a><a class="code" href="a00368.html">00082</a> <span class="keyword">class </span><a class="code" href="a02170.html#c3c1ffe2fe47b9b70ba90182b7860cce">VTK_GRAPHICS_EXPORT</a> <a class="code" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a> : <span class="keyword">public</span> <a class="code" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input.">vtkDataSetAlgorithm</a> <a name="l00083"></a>00083 { <a name="l00084"></a>00084 <span class="keyword">public</span>: <a name="l00085"></a>00085 <span class="keyword">static</span> <a class="code" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a> *<a class="code" href="a00375.html#366c8a9b4e61249c93fd2f7a492de9cb">New</a>(); <a name="l00086"></a><a class="code" href="a00368.html#730f5f746faddc962aac9328c6a01e7c">00086</a> vtkTypeRevisionMacro(<a class="code" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a>,<a class="code" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input.">vtkDataSetAlgorithm</a>); <a name="l00087"></a>00087 <span class="keywordtype">void</span> <a class="code" href="a00375.html#399bf1def01568753e290f9cc45d7985">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00088"></a>00088 <a name="l00090"></a>00090 <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *<a class="code" href="a00375.html#04876097a75b50caf69c7d833074abff">GetInput</a>(); <a name="l00091"></a>00091 <a name="l00093"></a>00093 <a name="l00094"></a>00094 <span class="keywordtype">void</span> SetDataSetType(<span class="keywordtype">int</span>); <a name="l00095"></a>00095 vtkGetMacro(DataSetType,<span class="keywordtype">int</span>); <a name="l00096"></a><a class="code" href="a00368.html#b31953eceb988cf7bdf1f68a23769604">00096</a> <span class="keywordtype">void</span> SetDataSetTypeToPolyData() { <a name="l00097"></a>00097 this->SetDataSetType(<a class="code" href="a02149.html#c2e518e0cc28d026e13166fe8fd1b7c9">VTK_POLY_DATA</a>);}; <a name="l00098"></a><a class="code" href="a00368.html#79999f0b71da0d4bc5c7b5f32e277084">00098</a> <span class="keywordtype">void</span> SetDataSetTypeToStructuredPoints() { <a name="l00099"></a>00099 this->SetDataSetType(<a class="code" href="a02149.html#c63ab5e6e85050f88636dc93ecf15444">VTK_STRUCTURED_POINTS</a>);}; <a name="l00100"></a><a class="code" href="a00368.html#70b5a002ec1ae9ee8447dc5eb4167a10">00100</a> <span class="keywordtype">void</span> SetDataSetTypeToStructuredGrid() { <a name="l00101"></a>00101 this->SetDataSetType(<a class="code" href="a02149.html#a1bc6c0e0c2eb35147a7efcc483a9402">VTK_STRUCTURED_GRID</a>);}; <a name="l00102"></a><a class="code" href="a00368.html#339e59e9051bb247a2f9e0f88c123f8a">00102</a> <span class="keywordtype">void</span> SetDataSetTypeToRectilinearGrid() { <a name="l00103"></a>00103 this->SetDataSetType(<a class="code" href="a02149.html#68b4fcb3c62d03d36babd739d865c488">VTK_RECTILINEAR_GRID</a>);}; <a name="l00104"></a><a class="code" href="a00368.html#6cbe6ed3249aba6794712f0e4ab8249b">00104</a> <span class="keywordtype">void</span> SetDataSetTypeToUnstructuredGrid() { <a name="l00105"></a>00105 this->SetDataSetType(<a class="code" href="a02149.html#70ff99040e25be41c847a135e1f5c79d">VTK_UNSTRUCTURED_GRID</a>);}; <a name="l00107"></a>00107 <a name="l00109"></a>00109 <a name="l00114"></a>00114 <a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *<a class="code" href="a00375.html#1475d7c525c459ee9ff6a72f04a15f8d">GetOutput</a>(); <a name="l00115"></a>00115 <a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *<a class="code" href="a00375.html#1475d7c525c459ee9ff6a72f04a15f8d">GetOutput</a>(<span class="keywordtype">int</span> idx); <a name="l00116"></a>00116 <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *<a class="code" href="a00375.html#5f6ea760945aaf0eae8ef9f359ab3c27">GetPolyDataOutput</a>(); <a name="l00117"></a>00117 <a class="code" href="a01635.html" title="A subclass of ImageData.">vtkStructuredPoints</a> *<a class="code" href="a00375.html#fd9a3b968ad49716e02abce77dda8892">GetStructuredPointsOutput</a>(); <a name="l00118"></a>00118 <a class="code" href="a01625.html" title="topologically regular array of data">vtkStructuredGrid</a> *<a class="code" href="a00375.html#aa1211551c4b9068c480770197772f89">GetStructuredGridOutput</a>(); <a name="l00119"></a>00119 <a class="code" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> *<a class="code" href="a00375.html#eb20a61ba8aa05572998f97216c3b540">GetUnstructuredGridOutput</a>(); <a name="l00120"></a>00120 <a class="code" href="a01460.html" title="a dataset that is topologically regular with variable spacing in the three coordinate...">vtkRectilinearGrid</a> *<a class="code" href="a00375.html#e5ae029db7c2f937dde00025c6027f30">GetRectilinearGridOutput</a>(); <a name="l00122"></a>00122 <a name="l00124"></a>00124 <a name="l00135"></a>00135 <span class="keywordtype">void</span> SetPointComponent(<span class="keywordtype">int</span> comp, <span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <a name="l00136"></a>00136 <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>, <span class="keywordtype">int</span> normalize); <a name="l00137"></a><a class="code" href="a00368.html#e24ad8387bc6ec211add6ffb392bfc78">00137</a> <span class="keywordtype">void</span> SetPointComponent(<span class="keywordtype">int</span> comp, <span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00138"></a>00138 {this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);}; <a name="l00139"></a>00139 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetPointComponentArrayName(<span class="keywordtype">int</span> comp); <a name="l00140"></a>00140 <span class="keywordtype">int</span> GetPointComponentArrayComponent(<span class="keywordtype">int</span> comp); <a name="l00141"></a>00141 <span class="keywordtype">int</span> GetPointComponentMinRange(<span class="keywordtype">int</span> comp); <a name="l00142"></a>00142 <span class="keywordtype">int</span> GetPointComponentMaxRange(<span class="keywordtype">int</span> comp); <a name="l00143"></a>00143 <span class="keywordtype">int</span> GetPointComponentNormailzeFlag(<span class="keywordtype">int</span> comp); <a name="l00145"></a>00145 <a name="l00147"></a>00147 <a name="l00154"></a>00154 <span class="keywordtype">void</span> SetVertsComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00155"></a><a class="code" href="a00368.html#824db23950e08beaea0faacda8a7ea1d">00155</a> <span class="keywordtype">void</span> SetVertsComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00156"></a>00156 {this->SetVertsComponent(arrayName, arrayComp, -1, -1);}; <a name="l00157"></a>00157 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetVertsComponentArrayName(); <a name="l00158"></a>00158 <span class="keywordtype">int</span> GetVertsComponentArrayComponent(); <a name="l00159"></a>00159 <span class="keywordtype">int</span> GetVertsComponentMinRange(); <a name="l00160"></a>00160 <span class="keywordtype">int</span> GetVertsComponentMaxRange(); <a name="l00161"></a>00161 <span class="keywordtype">void</span> SetLinesComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00162"></a><a class="code" href="a00368.html#d1712f2a96b9b5bbe0b71b63d8290650">00162</a> <span class="keywordtype">void</span> SetLinesComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00163"></a>00163 {this->SetLinesComponent(arrayName, arrayComp, -1, -1);}; <a name="l00164"></a>00164 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetLinesComponentArrayName(); <a name="l00165"></a>00165 <span class="keywordtype">int</span> GetLinesComponentArrayComponent(); <a name="l00166"></a>00166 <span class="keywordtype">int</span> GetLinesComponentMinRange(); <a name="l00167"></a>00167 <span class="keywordtype">int</span> GetLinesComponentMaxRange(); <a name="l00168"></a>00168 <span class="keywordtype">void</span> SetPolysComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00169"></a><a class="code" href="a00368.html#ae8a4900b747cc6d609de6e73aced2d9">00169</a> <span class="keywordtype">void</span> SetPolysComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00170"></a>00170 {this->SetPolysComponent(arrayName, arrayComp, -1, -1);}; <a name="l00171"></a>00171 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetPolysComponentArrayName(); <a name="l00172"></a>00172 <span class="keywordtype">int</span> GetPolysComponentArrayComponent(); <a name="l00173"></a>00173 <span class="keywordtype">int</span> GetPolysComponentMinRange(); <a name="l00174"></a>00174 <span class="keywordtype">int</span> GetPolysComponentMaxRange(); <a name="l00175"></a>00175 <span class="keywordtype">void</span> SetStripsComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00176"></a><a class="code" href="a00368.html#dfe5e1b105240da2791d4d5446c84658">00176</a> <span class="keywordtype">void</span> SetStripsComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00177"></a>00177 {this->SetStripsComponent(arrayName, arrayComp, -1, -1);}; <a name="l00178"></a>00178 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetStripsComponentArrayName(); <a name="l00179"></a>00179 <span class="keywordtype">int</span> GetStripsComponentArrayComponent(); <a name="l00180"></a>00180 <span class="keywordtype">int</span> GetStripsComponentMinRange(); <a name="l00181"></a>00181 <span class="keywordtype">int</span> GetStripsComponentMaxRange(); <a name="l00183"></a>00183 <a name="l00185"></a>00185 <a name="l00192"></a>00192 <span class="keywordtype">void</span> SetCellTypeComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <a name="l00193"></a>00193 <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00194"></a><a class="code" href="a00368.html#9321c9627b599e214628d21bff359c29">00194</a> <span class="keywordtype">void</span> SetCellTypeComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00195"></a>00195 {this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);}; <a name="l00196"></a>00196 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetCellTypeComponentArrayName(); <a name="l00197"></a>00197 <span class="keywordtype">int</span> GetCellTypeComponentArrayComponent(); <a name="l00198"></a>00198 <span class="keywordtype">int</span> GetCellTypeComponentMinRange(); <a name="l00199"></a>00199 <span class="keywordtype">int</span> GetCellTypeComponentMaxRange(); <a name="l00200"></a>00200 <span class="keywordtype">void</span> SetCellConnectivityComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <a name="l00201"></a>00201 <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00202"></a><a class="code" href="a00368.html#761e3fe61b3bfd351167659d5cbaa094">00202</a> <span class="keywordtype">void</span> SetCellConnectivityComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00203"></a>00203 {this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);}; <a name="l00204"></a>00204 <span class="keyword">const</span> <span class="keywordtype">char</span> *GetCellConnectivityComponentArrayName(); <a name="l00205"></a>00205 <span class="keywordtype">int</span> GetCellConnectivityComponentArrayComponent(); <a name="l00206"></a>00206 <span class="keywordtype">int</span> GetCellConnectivityComponentMinRange(); <a name="l00207"></a>00207 <span class="keywordtype">int</span> GetCellConnectivityComponentMaxRange(); <a name="l00209"></a>00209 <a name="l00211"></a>00211 <a name="l00213"></a>00213 vtkSetMacro(DefaultNormalize,<span class="keywordtype">int</span>); <a name="l00214"></a>00214 vtkGetMacro(DefaultNormalize,<span class="keywordtype">int</span>); <a name="l00215"></a>00215 vtkBooleanMacro(DefaultNormalize,<span class="keywordtype">int</span>); <a name="l00217"></a>00217 <a name="l00219"></a>00219 <a name="l00222"></a>00222 vtkSetVector3Macro(Dimensions,<span class="keywordtype">int</span>); <a name="l00223"></a>00223 vtkGetVectorMacro(Dimensions,<span class="keywordtype">int</span>,3); <a name="l00225"></a>00225 <a name="l00227"></a>00227 <a name="l00229"></a>00229 vtkSetVector3Macro(Origin,<span class="keywordtype">double</span>); <a name="l00230"></a>00230 vtkGetVectorMacro(Origin,<span class="keywordtype">double</span>,3); <a name="l00232"></a>00232 <a name="l00234"></a>00234 <a name="l00236"></a>00236 vtkSetVector3Macro(Spacing,<span class="keywordtype">double</span>); <a name="l00237"></a>00237 vtkGetVectorMacro(Spacing,<span class="keywordtype">double</span>,3); <a name="l00239"></a>00239 <a name="l00241"></a>00241 <a name="l00246"></a>00246 <span class="keywordtype">void</span> SetDimensionsComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00247"></a><a class="code" href="a00368.html#9342a5cfa54da4a400d42707b9cca13f">00247</a> <span class="keywordtype">void</span> SetDimensionsComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00248"></a>00248 {this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);}; <a name="l00249"></a>00249 <span class="keywordtype">void</span> SetSpacingComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00250"></a><a class="code" href="a00368.html#e8e263aa5d03146d61e2a8137b7c5994">00250</a> <span class="keywordtype">void</span> SetSpacingComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00251"></a>00251 {this->SetSpacingComponent(arrayName, arrayComp, -1, -1);}; <a name="l00252"></a>00252 <span class="keywordtype">void</span> SetOriginComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp, <span class="keywordtype">int</span> min, <span class="keywordtype">int</span> <a class="code" href="a02864.html#ffe776513b24d84b39af8ab0930fef7f">max</a>); <a name="l00253"></a><a class="code" href="a00368.html#80c0d6eada3f8436f6a3707a8031aa98">00253</a> <span class="keywordtype">void</span> SetOriginComponent(<span class="keywordtype">char</span> *arrayName, <span class="keywordtype">int</span> arrayComp) <a name="l00254"></a>00254 {this->SetOriginComponent(arrayName, arrayComp, -1, -1);}; <a name="l00256"></a>00256 <a name="l00257"></a>00257 <span class="keyword">protected</span>: <a name="l00258"></a>00258 <a class="code" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a>(); <a name="l00259"></a>00259 ~<a class="code" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a>(); <a name="l00260"></a>00260 <a name="l00261"></a>00261 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00375.html#49f7d102eea1f3c58aae7281a1b708cc">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> *); <span class="comment">//generate output data</span> <a name="l00262"></a>00262 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00375.html#bc14b3083747150d3706494dbed47813">RequestInformation</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="l00263"></a>00263 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00375.html#3bd0cf9c814d8382ff33a3397226ee71">RequestUpdateExtent</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="l00264"></a>00264 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00375.html#499856361b9daa5e46d75d6c69b83545">FillInputPortInformation</a>(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21023da246d4a744e861548382bb79fad81">info</a>); <a name="l00265"></a>00265 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00375.html#46ee50f2d82eecec465c0e86d5a43be6">RequestDataObject</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 name="l00266"></a>00266 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *); <a name="l00267"></a>00267 <a name="l00268"></a><a class="code" href="a00368.html#132e27c91cb38daf991817e8749457b9">00268</a> <span class="keywordtype">char</span> Updating; <a name="l00269"></a>00269 <a name="l00270"></a>00270 <span class="comment">// control flags used to generate the output dataset</span> <a name="l00271"></a><a class="code" href="a00368.html#7343ab39c0d19f996bf760bf086d4fd6">00271</a> <span class="keywordtype">int</span> DataSetType; <span class="comment">//the type of dataset to generate</span> <a name="l00272"></a>00272 <a name="l00273"></a>00273 <span class="comment">// Support definition of points</span> <a name="l00274"></a><a class="code" href="a00368.html#5d933e90237f7042e959032d3201ce57">00274</a> <span class="keywordtype">char</span> *PointArrays[3]; <span class="comment">//the name of the arrays</span> <a name="l00275"></a><a class="code" href="a00368.html#c27f321e0383411ec7bbdf5178cc708a">00275</a> <span class="keywordtype">int</span> PointArrayComponents[3]; <span class="comment">//the array components used for x-y-z</span> <a name="l00276"></a><a class="code" href="a00368.html#0e0305c0ca2bacae5b1ed9dcb7d7802a">00276</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> PointComponentRange[3][2]; <span class="comment">//the range of the components to use</span> <a name="l00277"></a><a class="code" href="a00368.html#06bb4358943dd2f7243f88e361492d1b">00277</a> <span class="keywordtype">int</span> PointNormalize[3]; <span class="comment">//flags control normalization</span> <a name="l00278"></a>00278 <a name="l00279"></a>00279 <span class="comment">// These define cells for vtkPolyData</span> <a name="l00280"></a><a class="code" href="a00368.html#bbdcef1f00943295bd229c72a970a301">00280</a> <span class="keywordtype">char</span> *VertsArray; <span class="comment">//the name of the array</span> <a name="l00281"></a><a class="code" href="a00368.html#d623b5a7544b142473e21446bb423d0a">00281</a> <span class="keywordtype">int</span> VertsArrayComponent; <span class="comment">//the array component</span> <a name="l00282"></a><a class="code" href="a00368.html#01ec10e4c8675dda533756e1e4b01676">00282</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> VertsComponentRange[2]; <span class="comment">//the range of the components to use</span> <a name="l00283"></a>00283 <a name="l00284"></a><a class="code" href="a00368.html#febd7e06bcaea0d73b53f80f90991de8">00284</a> <span class="keywordtype">char</span> *LinesArray; <span class="comment">//the name of the array</span> <a name="l00285"></a><a class="code" href="a00368.html#a1e1e3e47b651fae09745927e567085f">00285</a> <span class="keywordtype">int</span> LinesArrayComponent; <span class="comment">//the array component used for cell types</span> <a name="l00286"></a><a class="code" href="a00368.html#b9f8419f6156fd5857adb5f6f014922d">00286</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> LinesComponentRange[2]; <span class="comment">//the range of the components to use</span> <a name="l00287"></a>00287 <a name="l00288"></a><a class="code" href="a00368.html#ad31c907f0cba589bdb46733871e867a">00288</a> <span class="keywordtype">char</span> *PolysArray; <span class="comment">//the name of the array</span> <a name="l00289"></a><a class="code" href="a00368.html#4ad3b0498a38272ff19f46b68e1a7734">00289</a> <span class="keywordtype">int</span> PolysArrayComponent; <span class="comment">//the array component</span> <a name="l00290"></a><a class="code" href="a00368.html#7156d82d94c5e3bc2c6244efab842de2">00290</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> PolysComponentRange[2]; <span class="comment">//the range of the components to use</span> <a name="l00291"></a>00291 <a name="l00292"></a><a class="code" href="a00368.html#1c18dcb90d4f612bd4925b81d2c7f361">00292</a> <span class="keywordtype">char</span> *StripsArray; <span class="comment">//the name of the array</span> <a name="l00293"></a><a class="code" href="a00368.html#bde00274b6bc56e9ff9bbc70bcb99925">00293</a> <span class="keywordtype">int</span> StripsArrayComponent; <span class="comment">//the array component</span> <a name="l00294"></a><a class="code" href="a00368.html#1774fd888c88ba367d111d5f04cb437d">00294</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> StripsComponentRange[2]; <span class="comment">//the range of the components to use</span> <a name="l00295"></a>00295 <a name="l00296"></a>00296 <span class="comment">// Used to define vtkUnstructuredGrid datasets</span> <a name="l00297"></a><a class="code" href="a00368.html#ba03931469a158430babc78cb8e0a8ce">00297</a> <span class="keywordtype">char</span> *CellTypeArray; <span class="comment">//the name of the array</span> <a name="l00298"></a><a class="code" href="a00368.html#5abc1d9d18a8ca7b051ad6ff642a92c4">00298</a> <span class="keywordtype">int</span> CellTypeArrayComponent; <span class="comment">//the array component used for cell types</span> <a name="l00299"></a><a class="code" href="a00368.html#de4cfa7e350ed3e60162902d82f56e5f">00299</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> CellTypeComponentRange[2]; <span class="comment">//the range of the components to use</span> <a name="l00300"></a>00300 <a name="l00301"></a><a class="code" href="a00368.html#329df4297f32446ee6bfd30ae95eeae4">00301</a> <span class="keywordtype">char</span> *CellConnectivityArray; <span class="comment">//the name of the array</span> <a name="l00302"></a><a class="code" href="a00368.html#d9b591d742d95cab2d52bbc5a7a18a90">00302</a> <span class="keywordtype">int</span> CellConnectivityArrayComponent; <span class="comment">//the array components used for cell connectivity</span> <a name="l00303"></a><a class="code" href="a00368.html#6d53042c4b2e77df1e089508db3439cb">00303</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> CellConnectivityComponentRange[2]; <span class="comment">//the range of the components to use</span> <a name="l00304"></a>00304 <a name="l00305"></a>00305 <span class="comment">// helper methods (and attributes) to construct datasets</span> <a name="l00306"></a>00306 <span class="keywordtype">void</span> SetArrayName(<span class="keywordtype">char</span>* &<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>, <span class="keywordtype">char</span> *newName); <a name="l00307"></a>00307 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> ConstructPoints(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *input, <a class="code" href="a01251.html" title="abstract class for specifying dataset behavior">vtkPointSet</a> *ps); <a name="l00308"></a>00308 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> ConstructPoints(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *input, <a class="code" href="a01460.html" title="a dataset that is topologically regular with variable spacing in the three coordinate...">vtkRectilinearGrid</a> *rg); <a name="l00309"></a>00309 <span class="keywordtype">int</span> ConstructCells(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *input, <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *pd); <a name="l00310"></a>00310 <span class="keywordtype">int</span> ConstructCells(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *input, <a class="code" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> *ug); <a name="l00311"></a>00311 <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a> *ConstructCellArray(<a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a> *da, <span class="keywordtype">int</span> comp, <a name="l00312"></a>00312 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> compRange[2]); <a name="l00313"></a>00313 <a name="l00314"></a>00314 <span class="comment">// Default value for normalization</span> <a name="l00315"></a><a class="code" href="a00368.html#b4c923ed9f65daabb308465f7f898b8e">00315</a> <span class="keywordtype">int</span> DefaultNormalize; <a name="l00316"></a>00316 <a name="l00317"></a>00317 <span class="comment">// Couple of different ways to specify dimensions, spacing, and origin.</span> <a name="l00318"></a><a class="code" href="a00368.html#8343d71e28e0ac4cbeff6d380cddca41">00318</a> <span class="keywordtype">int</span> Dimensions[3]; <a name="l00319"></a><a class="code" href="a00368.html#91c0097830f7e0b1c8b8b3cd7b270f02">00319</a> <span class="keywordtype">double</span> Origin[3]; <a name="l00320"></a><a class="code" href="a00368.html#ee01b21568eabe1bc32408287a31d31a">00320</a> <span class="keywordtype">double</span> Spacing[3]; <a name="l00321"></a>00321 <a name="l00322"></a><a class="code" href="a00368.html#d26f0b03b610be43d4983047ec4c4ea1">00322</a> <span class="keywordtype">char</span> *DimensionsArray; <span class="comment">//the name of the array</span> <a name="l00323"></a><a class="code" href="a00368.html#cd3b904b11b4cd16c468acc10a9d1c01">00323</a> <span class="keywordtype">int</span> DimensionsArrayComponent; <span class="comment">//the component of the array used for dimensions</span> <a name="l00324"></a><a class="code" href="a00368.html#03854a8584ee95fff4dd22b39543dce8">00324</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> DimensionsComponentRange[2]; <span class="comment">//the ComponentRange of the array for the dimensions</span> <a name="l00325"></a>00325 <a name="l00326"></a><a class="code" href="a00368.html#90e17957ffdffe33837d7ba1abb084b4">00326</a> <span class="keywordtype">char</span> *OriginArray; <span class="comment">//the name of the array</span> <a name="l00327"></a><a class="code" href="a00368.html#2166e05cb7a5c7b4e70745f0c407b150">00327</a> <span class="keywordtype">int</span> OriginArrayComponent; <span class="comment">//the component of the array used for Origins</span> <a name="l00328"></a><a class="code" href="a00368.html#7e3686a95853d425bed1d5f096489f49">00328</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> OriginComponentRange[2]; <span class="comment">//the ComponentRange of the array for the Origins</span> <a name="l00329"></a>00329 <a name="l00330"></a><a class="code" href="a00368.html#b43fcb52aa3750e6cf108b46658b7781">00330</a> <span class="keywordtype">char</span> *SpacingArray; <span class="comment">//the name of the array</span> <a name="l00331"></a><a class="code" href="a00368.html#56a1606a76077d2c2e85b3d13f97a3e0">00331</a> <span class="keywordtype">int</span> SpacingArrayComponent; <span class="comment">//the component of the array used for Spacings</span> <a name="l00332"></a><a class="code" href="a00368.html#45b92077efc26b8c6e1260ae1e7544f3">00332</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> SpacingComponentRange[2]; <span class="comment">//the ComponentRange of the array for the Spacings</span> <a name="l00333"></a>00333 <a name="l00334"></a>00334 <span class="keywordtype">void</span> ConstructDimensions(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *input); <a name="l00335"></a>00335 <span class="keywordtype">void</span> ConstructSpacing(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *input); <a name="l00336"></a>00336 <span class="keywordtype">void</span> ConstructOrigin(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *input); <a name="l00337"></a>00337 <a name="l00338"></a>00338 <span class="keyword">private</span>: <a name="l00339"></a>00339 <a class="code" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a>(<span class="keyword">const</span> <a class="code" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a>&); <span class="comment">// Not implemented.</span> <a name="l00340"></a>00340 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a>&); <span class="comment">// Not implemented.</span> <a name="l00341"></a>00341 }; <a name="l00342"></a>00342 <a name="l00343"></a>00343 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:26 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>