<!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/Filtering/vtkStreamingDemandDrivenPipeline.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/Filtering/vtkStreamingDemandDrivenPipeline.h</h1><a href="a02366.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: vtkStreamingDemandDrivenPipeline.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="l00028"></a>00028 <span class="preprocessor">#ifndef __vtkStreamingDemandDrivenPipeline_h</span> <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define __vtkStreamingDemandDrivenPipeline_h</span> <a name="l00030"></a>00030 <span class="preprocessor"></span> <a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="a02237.html">vtkDemandDrivenPipeline.h</a>"</span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="a00496.html" title="Generates a structured extent from unstructured.">vtkExtentTranslator</a>; <a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="a00874.html" title="Key for double values in vtkInformation.">vtkInformationDoubleKey</a>; <a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="a00875.html" title="Key for double vector values.">vtkInformationDoubleVectorKey</a>; <a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>; <a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="a00883.html" title="Key for integer vector values.">vtkInformationIntegerVectorKey</a>; <a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="a00888.html" title="Key for vtkObjectBase values.">vtkInformationObjectBaseKey</a>; <a name="l00039"></a>00039 <span class="keyword">class </span><a class="code" href="a00892.html" title="Key for string values in vtkInformation.">vtkInformationStringKey</a>; <a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="a00878.html" title="Key for vtkIdType values in vtkInformation.">vtkInformationIdTypeKey</a>; <a name="l00041"></a>00041 <a name="l00042"></a><a class="code" href="a01613.html">00042</a> <span class="keyword">class </span><a class="code" href="a02170.html#95ced7977a6b6b1bf9f38bf04e3835b6">VTK_FILTERING_EXPORT</a> <a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a> : <span class="keyword">public</span> <a class="code" href="a00407.html" title="Executive supporting on-demand execution.">vtkDemandDrivenPipeline</a> <a name="l00043"></a>00043 { <a name="l00044"></a>00044 <span class="keyword">public</span>: <a name="l00045"></a>00045 <span class="keyword">static</span> <a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>* <a class="code" href="a00407.html#51004148eef3cd6f2e7303b352da0e7b">New</a>(); <a name="l00046"></a><a class="code" href="a01613.html#6c818cf486fdd631328b24109da3384f">00046</a> vtkTypeRevisionMacro(<a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>,<a class="code" href="a00407.html" title="Executive supporting on-demand execution.">vtkDemandDrivenPipeline</a>); <a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="a00407.html#95940cde383a738c64c7afcbe1a3838a">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00048"></a>00048 <a name="l00050"></a>00050 <a name="l00052"></a>00052 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00407.html#778dae1fa3fbb15bac914a08360d5cd7">ProcessRequest</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request, <a name="l00053"></a>00053 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfo, <a name="l00054"></a>00054 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfo); <a name="l00056"></a>00056 <a name="l00058"></a>00058 <a name="l00059"></a>00059 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00407.html#fee58333ed541212db01bf39cbaf784a">Update</a>(); <a name="l00060"></a>00060 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00407.html#fee58333ed541212db01bf39cbaf784a">Update</a>(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>); <a name="l00061"></a>00061 <span class="keyword">virtual</span> <span class="keywordtype">int</span> UpdateWholeExtent(); <a name="l00063"></a>00063 <a name="l00066"></a>00066 <span class="keywordtype">int</span> PropagateUpdateExtent(<span class="keywordtype">int</span> outputPort); <a name="l00067"></a>00067 <a name="l00069"></a>00069 <a name="l00073"></a>00073 <span class="keywordtype">int</span> SetMaximumNumberOfPieces(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">int</span> n); <a name="l00074"></a>00074 <span class="keywordtype">int</span> SetMaximumNumberOfPieces(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">int</span> n); <a name="l00075"></a>00075 <span class="keywordtype">int</span> GetMaximumNumberOfPieces(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>); <a name="l00076"></a>00076 <span class="keywordtype">int</span> GetMaximumNumberOfPieces(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00078"></a>00078 <a name="l00080"></a>00080 <a name="l00083"></a>00083 <span class="keywordtype">int</span> SetWholeExtent(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]); <a name="l00084"></a>00084 <span class="keywordtype">void</span> GetWholeExtent(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]); <a name="l00085"></a>00085 <span class="keywordtype">int</span>* GetWholeExtent(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00087"></a>00087 <a name="l00089"></a>00089 <a name="l00093"></a>00093 <span class="keywordtype">int</span> SetUpdateExtentToWholeExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>); <a name="l00094"></a>00094 <span class="keywordtype">int</span> SetUpdateExtentToWholeExtent(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00096"></a>00096 <a name="l00098"></a>00098 <a name="l00099"></a>00099 <span class="keywordtype">int</span> SetUpdateExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]); <a name="l00100"></a>00100 <span class="keywordtype">int</span> SetUpdateExtent(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]); <a name="l00101"></a>00101 <span class="keywordtype">void</span> GetUpdateExtent(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]); <a name="l00102"></a>00102 <span class="keywordtype">int</span>* GetUpdateExtent(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00104"></a>00104 <a name="l00106"></a>00106 <a name="l00108"></a>00108 <span class="keywordtype">int</span> SetUpdateExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <a name="l00109"></a>00109 <span class="keywordtype">int</span> piece, <span class="keywordtype">int</span> numPieces, <span class="keywordtype">int</span> ghostLevel); <a name="l00110"></a>00110 <span class="keywordtype">int</span> SetUpdateExtent(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <a name="l00111"></a>00111 <span class="keywordtype">int</span> piece, <span class="keywordtype">int</span> numPieces, <span class="keywordtype">int</span> ghostLevel); <a name="l00112"></a>00112 <span class="keywordtype">int</span> SetUpdatePiece(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">int</span> piece); <a name="l00113"></a>00113 <span class="keywordtype">int</span> GetUpdatePiece(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00114"></a>00114 <span class="keywordtype">int</span> SetUpdateNumberOfPieces(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">int</span> n); <a name="l00115"></a>00115 <span class="keywordtype">int</span> GetUpdateNumberOfPieces(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00116"></a>00116 <span class="keywordtype">int</span> SetUpdateGhostLevel(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">int</span> n); <a name="l00117"></a>00117 <span class="keywordtype">int</span> GetUpdateGhostLevel(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00119"></a>00119 <a name="l00121"></a>00121 <a name="l00125"></a><a class="code" href="a01613.html#8bc6b1813634399ee20a034ffd937243">00125</a> <span class="keywordtype">int</span> SetSplitUpdateExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <a name="l00126"></a>00126 <span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <a name="l00127"></a>00127 <span class="keywordtype">int</span> numPieces, <a name="l00128"></a>00128 <span class="keywordtype">int</span> ghostLevel) <a name="l00129"></a>00129 { <a name="l00130"></a>00130 <span class="keywordflow">return</span> this->SetUpdateExtent(port, major+minor, numPieces, ghostLevel); <a name="l00131"></a>00131 } <a name="l00133"></a>00133 <a name="l00134"></a>00134 <a name="l00136"></a>00136 <a name="l00137"></a>00137 <span class="keywordtype">int</span> SetUpdateTimeSteps(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">double</span> *times, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21042c5d76c3275f5d17bc1b329d83ab003">length</a>); <a name="l00138"></a>00138 <span class="keywordtype">int</span> SetUpdateTimeSteps(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <span class="keywordtype">double</span> *times, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21042c5d76c3275f5d17bc1b329d83ab003">length</a>); <a name="l00139"></a>00139 <span class="keywordtype">int</span> SetUpdateTimeStep(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2107b83992a2109ab18b82ba0228887498e">time</a>); <a name="l00140"></a>00140 <span class="comment">//void GetUpdateTimeSteps(vtkInformation *, int extent[6]);</span> <a name="l00142"></a>00142 <span class="comment"></span> <a name="l00144"></a>00144 <a name="l00150"></a>00150 <span class="keywordtype">int</span> SetRequestExactExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">int</span> flag); <a name="l00151"></a>00151 <span class="keywordtype">int</span> GetRequestExactExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>); <a name="l00153"></a>00153 <a name="l00155"></a>00155 <a name="l00157"></a>00157 <span class="keywordtype">int</span> SetExtentTranslator(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <a class="code" href="a00496.html" title="Generates a structured extent from unstructured.">vtkExtentTranslator</a>* translator); <a name="l00158"></a>00158 <span class="keywordtype">int</span> SetExtentTranslator(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <a class="code" href="a00496.html" title="Generates a structured extent from unstructured.">vtkExtentTranslator</a>* translator); <a name="l00159"></a>00159 <a class="code" href="a00496.html" title="Generates a structured extent from unstructured.">vtkExtentTranslator</a>* GetExtentTranslator(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>); <a name="l00160"></a>00160 <a class="code" href="a00496.html" title="Generates a structured extent from unstructured.">vtkExtentTranslator</a>* GetExtentTranslator(<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="l00162"></a>00162 <a name="l00164"></a>00164 <a name="l00167"></a>00167 <span class="keywordtype">int</span> SetWholeBoundingBox(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">double</span> bb[6]); <a name="l00168"></a>00168 <span class="keywordtype">void</span> GetWholeBoundingBox(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">double</span> bb[6]); <a name="l00169"></a>00169 <span class="keywordtype">double</span>* GetWholeBoundingBox(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>); <a name="l00171"></a>00171 <a name="l00173"></a>00173 <a name="l00176"></a>00176 <span class="keywordtype">int</span> SetPieceBoundingBox(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">double</span> bb[6]); <a name="l00177"></a>00177 <span class="keywordtype">void</span> GetPieceBoundingBox(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">double</span> bb[6]); <a name="l00178"></a>00178 <span class="keywordtype">double</span>* GetPieceBoundingBox(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>); <a name="l00180"></a>00180 <a name="l00182"></a>00182 <span class="keyword">static</span> <a class="code" href="a00891.html" title="Key for pointer to pointer.">vtkInformationRequestKey</a>* REQUEST_UPDATE_EXTENT(); <a name="l00183"></a>00183 <a name="l00186"></a>00186 <span class="keyword">static</span> <a class="code" href="a00891.html" title="Key for pointer to pointer.">vtkInformationRequestKey</a>* REQUEST_UPDATE_EXTENT_INFORMATION(); <a name="l00187"></a>00187 <a name="l00190"></a>00190 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* CONTINUE_EXECUTING(); <a name="l00191"></a>00191 <a name="l00193"></a>00193 <span class="keyword">static</span> <a class="code" href="a00888.html" title="Key for vtkObjectBase values.">vtkInformationObjectBaseKey</a>* EXTENT_TRANSLATOR(); <a name="l00194"></a>00194 <a name="l00196"></a>00196 <a name="l00197"></a>00197 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* UPDATE_EXTENT_INITIALIZED(); <a name="l00198"></a>00198 <span class="keyword">static</span> <a class="code" href="a00883.html" title="Key for integer vector values.">vtkInformationIntegerVectorKey</a>* UPDATE_EXTENT(); <a name="l00199"></a>00199 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* UPDATE_PIECE_NUMBER(); <a name="l00200"></a>00200 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* UPDATE_NUMBER_OF_PIECES(); <a name="l00201"></a>00201 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* UPDATE_NUMBER_OF_GHOST_LEVELS(); <a name="l00203"></a>00203 <a name="l00206"></a>00206 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* UPDATE_EXTENT_TRANSLATED(); <a name="l00207"></a>00207 <a name="l00209"></a>00209 <span class="keyword">static</span> <a class="code" href="a00883.html" title="Key for integer vector values.">vtkInformationIntegerVectorKey</a>* WHOLE_EXTENT(); <a name="l00210"></a>00210 <a name="l00213"></a>00213 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* MAXIMUM_NUMBER_OF_PIECES(); <a name="l00214"></a>00214 <a name="l00217"></a>00217 <span class="keyword">static</span> <a class="code" href="a00875.html" title="Key for double vector values.">vtkInformationDoubleVectorKey</a>* WHOLE_BOUNDING_BOX(); <a name="l00218"></a>00218 <a name="l00221"></a>00221 <span class="keyword">static</span> <a class="code" href="a00875.html" title="Key for double vector values.">vtkInformationDoubleVectorKey</a>* PIECE_BOUNDING_BOX(); <a name="l00222"></a>00222 <a name="l00224"></a>00224 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* EXACT_EXTENT(); <a name="l00225"></a>00225 <a name="l00227"></a>00227 <span class="keyword">static</span> <a class="code" href="a00875.html" title="Key for double vector values.">vtkInformationDoubleVectorKey</a>* TIME_STEPS(); <a name="l00228"></a>00228 <a name="l00230"></a>00230 <span class="keyword">static</span> <a class="code" href="a00875.html" title="Key for double vector values.">vtkInformationDoubleVectorKey</a>* TIME_RANGE(); <a name="l00231"></a>00231 <a name="l00233"></a>00233 <span class="keyword">static</span> <a class="code" href="a00875.html" title="Key for double vector values.">vtkInformationDoubleVectorKey</a>* UPDATE_TIME_STEPS(); <a name="l00234"></a>00234 <a name="l00236"></a>00236 <span class="keyword">static</span> <a class="code" href="a00874.html" title="Key for double values in vtkInformation.">vtkInformationDoubleKey</a>* PRIORITY(); <a name="l00237"></a>00237 <a name="l00240"></a>00240 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* REMOVE_ATTRIBUTE_INFORMATION(); <a name="l00241"></a>00241 <a name="l00248"></a>00248 <span class="comment">// Key to allow a reader to advertise that it supports a fast-path</span> <a name="l00249"></a>00249 <span class="comment">// for reading data over time.</span> <a name="l00250"></a>00250 <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>* FAST_PATH_FOR_TEMPORAL_DATA(); <a name="l00251"></a>00251 <span class="comment">// The type of data being requested.</span> <a name="l00252"></a>00252 <span class="comment">// Possible values: POINT, CELL, EDGE, FACE</span> <a name="l00253"></a>00253 <span class="keyword">static</span> <a class="code" href="a00892.html" title="Key for string values in vtkInformation.">vtkInformationStringKey</a>* FAST_PATH_OBJECT_TYPE(); <a name="l00254"></a>00254 <span class="comment">// Possible values: INDEX, GLOBAL</span> <a name="l00255"></a>00255 <span class="keyword">static</span> <a class="code" href="a00892.html" title="Key for string values in vtkInformation.">vtkInformationStringKey</a>* FAST_PATH_ID_TYPE(); <a name="l00256"></a>00256 <span class="comment">// The id (either index or global id) being requested</span> <a name="l00257"></a>00257 <span class="keyword">static</span> <a class="code" href="a00878.html" title="Key for vtkIdType values in vtkInformation.">vtkInformationIdTypeKey</a>* FAST_PATH_OBJECT_ID(); <a name="l00258"></a>00258 <a name="l00260"></a>00260 <a name="l00264"></a><a class="code" href="a01613.html#d7cfd8a7d21552ed112d373468d570ab">00264</a> <span class="keywordtype">double</span> ComputePriority() <a name="l00265"></a>00265 { <a name="l00266"></a>00266 <span class="keywordflow">return</span> this->ComputePriority(0); <a name="l00267"></a>00267 } <a name="l00268"></a>00268 <span class="keyword">virtual</span> <span class="keywordtype">double</span> ComputePriority(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>); <a name="l00270"></a>00270 <a name="l00271"></a>00271 <span class="keyword">protected</span>: <a name="l00272"></a>00272 <a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>(); <a name="l00273"></a>00273 ~<a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>(); <a name="l00274"></a>00274 <a name="l00276"></a>00276 <a name="l00279"></a>00279 <span class="keyword">virtual</span> <span class="keywordtype">void</span> ResetUpdateInformation(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request, <a name="l00280"></a>00280 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, <a name="l00281"></a>00281 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec); <a name="l00283"></a>00283 <a name="l00284"></a>00284 <span class="comment">// Keep track of the update time request corresponding to the</span> <a name="l00285"></a>00285 <span class="comment">// previous executing. If the previous update request did not</span> <a name="l00286"></a>00286 <span class="comment">// correspond to an existing time step and the reader chose </span> <a name="l00287"></a>00287 <span class="comment">// a time step with it's own logic, the data time step will</span> <a name="l00288"></a>00288 <span class="comment">// be different than the request. If the same time step is</span> <a name="l00289"></a>00289 <span class="comment">// requested again, there is no need to re-execute the algorithm.</span> <a name="l00290"></a>00290 <span class="comment">// We know that it does not have this time step.</span> <a name="l00291"></a>00291 <span class="keyword">static</span> <a class="code" href="a00875.html" title="Key for double vector values.">vtkInformationDoubleVectorKey</a>* PREVIOUS_UPDATE_TIME_STEPS(); <a name="l00292"></a>00292 <a name="l00293"></a>00293 <span class="comment">// Keep track of the fast path keys corresponding to the </span> <a name="l00294"></a>00294 <span class="comment">// previous executing. If all key values are the same as their</span> <a name="l00295"></a>00295 <span class="comment">// counterparts in the previous request, we do not need to re-execute.</span> <a name="l00296"></a>00296 <span class="keyword">static</span> <a class="code" href="a00878.html" title="Key for vtkIdType values in vtkInformation.">vtkInformationIdTypeKey</a>* PREVIOUS_FAST_PATH_OBJECT_ID(); <a name="l00297"></a>00297 <span class="keyword">static</span> <a class="code" href="a00892.html" title="Key for string values in vtkInformation.">vtkInformationStringKey</a>* PREVIOUS_FAST_PATH_OBJECT_TYPE(); <a name="l00298"></a>00298 <span class="keyword">static</span> <a class="code" href="a00892.html" title="Key for string values in vtkInformation.">vtkInformationStringKey</a>* PREVIOUS_FAST_PATH_ID_TYPE(); <a name="l00299"></a>00299 <a name="l00300"></a>00300 <span class="comment">// Does the time request correspond to what is in the data?</span> <a name="l00301"></a>00301 <span class="comment">// Returns 0 if yes, 1 otherwise.</span> <a name="l00302"></a>00302 <span class="keyword">virtual</span> <span class="keywordtype">int</span> NeedToExecuteBasedOnTime(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* outInfo, <a name="l00303"></a>00303 <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* dataObject); <a name="l00304"></a>00304 <a name="l00305"></a>00305 <span class="comment">// If the request contains a fast path key for temporal data, always execute</span> <a name="l00306"></a>00306 <span class="keyword">virtual</span> <span class="keywordtype">int</span> NeedToExecuteBasedOnFastPathData(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* outInfo); <a name="l00307"></a>00307 <a name="l00308"></a>00308 <span class="comment">// Setup default information on the output after the algorithm</span> <a name="l00309"></a>00309 <span class="comment">// executes information.</span> <a name="l00310"></a>00310 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00407.html#2b24b32f270de23bd20d59db8d42c30c">ExecuteInformation</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request, <a name="l00311"></a>00311 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, <a name="l00312"></a>00312 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec); <a name="l00313"></a>00313 <a name="l00314"></a>00314 <span class="comment">// Copy information for the given request.</span> <a name="l00315"></a>00315 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00472.html#dee4e2910806414193eb90238355ddea">CopyDefaultInformation</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2105574e7d2933873a89623dc2457e8ffd8">direction</a>, <a name="l00316"></a>00316 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, <a name="l00317"></a>00317 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec); <a name="l00318"></a>00318 <a name="l00319"></a>00319 <span class="comment">// Helper to check output information before propagating it to inputs.</span> <a name="l00320"></a>00320 <span class="keyword">virtual</span> <span class="keywordtype">int</span> VerifyOutputInformation(<span class="keywordtype">int</span> outputPort, <a name="l00321"></a>00321 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, <a name="l00322"></a>00322 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec); <a name="l00323"></a>00323 <a name="l00324"></a>00324 <a name="l00325"></a>00325 <span class="comment">// Override this check to account for update extent.</span> <a name="l00326"></a>00326 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00407.html#cb8226dfb0bb319485cf6bbbff5a9fa0">NeedToExecuteData</a>(<span class="keywordtype">int</span> outputPort, <a name="l00327"></a>00327 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, <a name="l00328"></a>00328 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec); <a name="l00329"></a>00329 <a name="l00330"></a>00330 <span class="comment">// Override these to handle the continue-executing option.</span> <a name="l00331"></a>00331 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00407.html#726bd49190f3760769780309e9a5bf09">ExecuteDataStart</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request, <a name="l00332"></a>00332 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, <a name="l00333"></a>00333 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec); <a name="l00334"></a>00334 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00407.html#8759cbbe4ea730f8e3ddf7d2d4990058">ExecuteDataEnd</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request, <a name="l00335"></a>00335 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, <a name="l00336"></a>00336 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec); <a name="l00337"></a>00337 <a name="l00338"></a>00338 <span class="comment">// Override this to handle cropping and ghost levels.</span> <a name="l00339"></a>00339 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00407.html#258d7f8918aa4f52c3518fa9e3b5f348">MarkOutputsGenerated</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request, <a name="l00340"></a>00340 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, <a name="l00341"></a>00341 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec); <a name="l00342"></a>00342 <a name="l00343"></a>00343 <a name="l00344"></a>00344 <span class="comment">// Remove update/whole extent when resetting pipeline information.</span> <a name="l00345"></a>00345 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00407.html#30c4fdd31ffa3be121d4afb4108b7609">ResetPipelineInformation</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 name="l00346"></a>00346 <a name="l00347"></a>00347 <span class="comment">// Flag for when an algorithm returns with CONTINUE_EXECUTING in the</span> <a name="l00348"></a>00348 <span class="comment">// request.</span> <a name="l00349"></a><a class="code" href="a01613.html#b7a073ed38d36ddd9760ff5868eff019">00349</a> <span class="keywordtype">int</span> ContinueExecuting; <a name="l00350"></a>00350 <a name="l00351"></a><a class="code" href="a01613.html#d6d16f75cfb239664423642d7d79cb3c">00351</a> <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *UpdateExtentRequest; <a name="l00352"></a>00352 <a name="l00353"></a>00353 <span class="comment">// did the most recent PUE do anything ?</span> <a name="l00354"></a><a class="code" href="a01613.html#081fa602b1d162fba6dfc135d1e8c715">00354</a> <span class="keywordtype">int</span> LastPropogateUpdateExtentShortCircuited; <a name="l00355"></a>00355 <a name="l00356"></a>00356 <span class="keyword">private</span>: <a name="l00357"></a>00357 <a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>(<span class="keyword">const</span> <a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>&); <span class="comment">// Not implemented.</span> <a name="l00358"></a>00358 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>&); <span class="comment">// Not implemented.</span> <a name="l00359"></a>00359 }; <a name="l00360"></a>00360 <a name="l00361"></a>00361 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:17 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>