Sophie

Sophie

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

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: dox/Filtering/vtkCompositeDataPipeline.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>dox/Filtering/vtkCompositeDataPipeline.h</h1><a href="a02213.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: vtkCompositeDataPipeline.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="l00046"></a>00046 <span class="preprocessor">#ifndef __vtkCompositeDataPipeline_h</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define __vtkCompositeDataPipeline_h</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span>
<a name="l00049"></a>00049 <span class="preprocessor">#include "<a class="code" href="a02366.html">vtkStreamingDemandDrivenPipeline.h</a>"</span>
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="a00303.html" title="abstact superclass for composite (multi-block or AMR) datasets">vtkCompositeDataSet</a>;
<a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="a00874.html" title="Key for double values in vtkInformation.">vtkInformationDoubleKey</a>;
<a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="a00883.html" title="Key for integer vector values.">vtkInformationIntegerVectorKey</a>;
<a name="l00054"></a>00054 <span class="keyword">class </span><a class="code" href="a00888.html" title="Key for vtkObjectBase values.">vtkInformationObjectBaseKey</a>;
<a name="l00055"></a>00055 <span class="keyword">class </span><a class="code" href="a00892.html" title="Key for string values in vtkInformation.">vtkInformationStringKey</a>;
<a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a00873.html" title="Key for vtkDataObject values.">vtkInformationDataObjectKey</a>;
<a name="l00057"></a>00057 <span class="keyword">class </span><a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>;
<a name="l00058"></a>00058 
<a name="l00059"></a><a class="code" href="a00301.html">00059</a> <span class="keyword">class </span><a class="code" href="a02170.html#95ced7977a6b6b1bf9f38bf04e3835b6">VTK_FILTERING_EXPORT</a> <a class="code" href="a00301.html" title="Executive supporting composite datasets.">vtkCompositeDataPipeline</a> : <span class="keyword">public</span> <a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>
<a name="l00060"></a>00060 {
<a name="l00061"></a>00061 <span class="keyword">public</span>:
<a name="l00062"></a>00062   <span class="keyword">static</span> <a class="code" href="a00301.html" title="Executive supporting composite datasets.">vtkCompositeDataPipeline</a>* <a class="code" href="a01613.html#002ca2bce6cf5e728e1d754e72713dc8">New</a>();
<a name="l00063"></a><a class="code" href="a00301.html#d14c086e5b8fbf2c99cf905dc8cc41a2">00063</a>   vtkTypeRevisionMacro(<a class="code" href="a00301.html" title="Executive supporting composite datasets.">vtkCompositeDataPipeline</a>,<a class="code" href="a01613.html" title="Executive supporting partial updates.">vtkStreamingDemandDrivenPipeline</a>);
<a name="l00064"></a>00064   <span class="keywordtype">void</span> <a class="code" href="a01613.html#f4068bf888924a4c4608b4dbc0fab775">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00065"></a>00065 
<a name="l00067"></a>00067 
<a name="l00069"></a>00069   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01613.html#fdcc6e3211584882576dbf23b9b8453d">ProcessRequest</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request,
<a name="l00070"></a>00070                              <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfo,
<a name="l00071"></a>00071                              <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfo);
<a name="l00073"></a>00073 
<a name="l00076"></a>00076   <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* GetCompositeOutputData(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>);
<a name="l00077"></a>00077 
<a name="l00079"></a>00079 
<a name="l00081"></a>00081   <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* GetCompositeInputData(
<a name="l00082"></a>00082     <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#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> **inInfoVec);
<a name="l00084"></a>00084 
<a name="l00086"></a>00086   <span class="keyword">static</span> <a class="code" href="a00881.html" title="Key for integer values in vtkInformation.">vtkInformationIntegerKey</a>*       REQUIRES_TIME_DOWNSTREAM();
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 <span class="keyword">protected</span>:
<a name="l00089"></a>00089   <a class="code" href="a00407.html#0255f8f6a3031b7d2072c01e1fe3f352">vtkCompositeDataPipeline</a>();
<a name="l00090"></a>00090   ~<a class="code" href="a00301.html" title="Executive supporting composite datasets.">vtkCompositeDataPipeline</a>();
<a name="l00091"></a>00091 
<a name="l00092"></a>00092   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00472.html#0e99a5f4ccae8f1eea72d2163384e382">ForwardUpstream</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request);
<a name="l00093"></a>00093   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00472.html#0e99a5f4ccae8f1eea72d2163384e382">ForwardUpstream</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request);
<a name="l00094"></a>00094 
<a name="l00095"></a>00095   <span class="comment">// Copy information for the given request.</span>
<a name="l00096"></a>00096   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01613.html#f7af8940c511154a2dbf6f716e295030">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="l00097"></a>00097                                       <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec,
<a name="l00098"></a>00098                                       <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec);
<a name="l00099"></a>00099 
<a name="l00100"></a>00100   <span class="keyword">virtual</span> <span class="keywordtype">void</span> CopyFromDataToInformation(
<a name="l00101"></a>00101     <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* dobj, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* inInfo);
<a name="l00102"></a>00102   <span class="keyword">virtual</span> <span class="keywordtype">void</span> PushInformation(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>*);
<a name="l00103"></a>00103   <span class="keyword">virtual</span> <span class="keywordtype">void</span> PopInformation (<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>*);
<a name="l00104"></a>00104 
<a name="l00105"></a>00105   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00407.html#d1af5f346f807670374b82fde0376985">ExecuteDataObject</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request,
<a name="l00106"></a>00106                                 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfo,
<a name="l00107"></a>00107                                 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfo);
<a name="l00108"></a>00108 
<a name="l00109"></a>00109   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00407.html#4c9e8a12ffda82cf5951f271110e84ee">ExecuteData</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request,
<a name="l00110"></a>00110                           <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec,
<a name="l00111"></a>00111                           <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec);
<a name="l00112"></a>00112 
<a name="l00113"></a>00113   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01613.html#ed2ce58a4be03cfa73dc81fdbd7d60e8">ExecuteDataStart</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request,
<a name="l00114"></a>00114                                 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec,
<a name="l00115"></a>00115                                 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec);
<a name="l00116"></a>00116 
<a name="l00117"></a>00117   <span class="comment">// Override this check to account for update extent.</span>
<a name="l00118"></a>00118   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01613.html#ab6082b7e3b435d1abb467018213ba40">NeedToExecuteData</a>(<span class="keywordtype">int</span> outputPort,
<a name="l00119"></a>00119                                 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec,
<a name="l00120"></a>00120                                 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec);
<a name="l00121"></a>00121 
<a name="l00122"></a>00122   <span class="comment">// Override this check to account for iterating over temporal data.</span>
<a name="l00123"></a>00123   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01613.html#26787d8c02688a087b217c5021d5e6da">NeedToExecuteBasedOnTime</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *outInfo,
<a name="l00124"></a>00124                                        <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *dataObject);
<a name="l00125"></a>00125 
<a name="l00126"></a>00126   <span class="comment">// Check whether the data object in the pipeline information for an</span>
<a name="l00127"></a>00127   <span class="comment">// output port exists and has a valid type.</span>
<a name="l00128"></a>00128   <span class="keyword">virtual</span> <span class="keywordtype">int</span> CheckCompositeData(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *request,
<a name="l00129"></a>00129                                  <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, 
<a name="l00130"></a>00130                                  <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec,
<a name="l00131"></a>00131                                  <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec);
<a name="l00132"></a>00132 
<a name="l00133"></a>00133   <span class="comment">// True when the pipeline is iterating over the current (simple) filter</span>
<a name="l00134"></a>00134   <span class="comment">// to produce composite output. In this case, ExecuteDataStart() should</span>
<a name="l00135"></a>00135   <span class="comment">// NOT Initialize() the composite output.</span>
<a name="l00136"></a><a class="code" href="a00301.html#b936b9edb2c0f13eddb5f5b91b753cf8">00136</a>   <span class="keywordtype">int</span> InLocalLoop;
<a name="l00137"></a>00137   
<a name="l00138"></a>00138   <span class="keyword">virtual</span> <span class="keywordtype">void</span> ExecuteSimpleAlgorithm(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request,
<a name="l00139"></a>00139                                       <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec,
<a name="l00140"></a>00140                                       <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec,
<a name="l00141"></a>00141                                       <span class="keywordtype">int</span> compositePort);
<a name="l00142"></a>00142   <span class="keyword">virtual</span> <span class="keywordtype">void</span> ExecuteSimpleAlgorithmTime(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request,
<a name="l00143"></a>00143                                           <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec,
<a name="l00144"></a>00144                                           <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec);
<a name="l00145"></a>00145   <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* ExecuteSimpleAlgorithmForBlock(
<a name="l00146"></a>00146     <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec,
<a name="l00147"></a>00147     <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* outInfoVec,
<a name="l00148"></a>00148     <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* inInfo,
<a name="l00149"></a>00149     <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* outInfo,
<a name="l00150"></a>00150     <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request,  
<a name="l00151"></a>00151     <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* dobj);
<a name="l00152"></a>00152 
<a name="l00153"></a>00153   <span class="keywordtype">bool</span> ShouldIterateOverInput(<span class="keywordtype">int</span>&amp; compositePort);
<a name="l00154"></a>00154   <span class="keywordtype">bool</span> ShouldIterateTemporalData(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *request,
<a name="l00155"></a>00155                                  <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>** inInfoVec, 
<a name="l00156"></a>00156                                  <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *outInfoVec);
<a name="l00157"></a>00157   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00407.html#4482300af44de6762926f39f5278e2bc">InputTypeIsValid</a>(<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#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>, 
<a name="l00158"></a>00158                                 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> **inInfoVec);
<a name="l00159"></a>00159 
<a name="l00160"></a><a class="code" href="a00301.html#160e1092b2bb14412b8fd3c1a7e391ae">00160</a>   <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* InformationCache;
<a name="l00161"></a>00161 
<a name="l00162"></a><a class="code" href="a00301.html#d34cd20ee743f7b85efc0940d3ea42fe">00162</a>   <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* GenericRequest;
<a name="l00163"></a><a class="code" href="a00301.html#f2bcaa88fcc98d851814c65078b140a8">00163</a>   <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* DataObjectRequest;
<a name="l00164"></a><a class="code" href="a00301.html#6fda3bc7c0dcd1400efaa1278791699c">00164</a>   <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* InformationRequest;
<a name="l00165"></a><a class="code" href="a00301.html#8679106ca464618c275d2124e81f5c09">00165</a>   <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* UpdateExtentRequest;
<a name="l00166"></a><a class="code" href="a00301.html#13d1f50601ba2e19b344f085e45768be">00166</a>   <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* DataRequest;
<a name="l00167"></a>00167 
<a name="l00168"></a>00168   <span class="comment">// Because we sometimes have to swap between "simple" data types and composite</span>
<a name="l00169"></a>00169   <span class="comment">// data types, we sometimes want to skip resetting the pipeline information.</span>
<a name="l00170"></a><a class="code" href="a00301.html#627b8a8807647010c5b67c2fdf7820fa">00170</a>   <span class="keywordtype">int</span> SuppressResetPipelineInformation;
<a name="l00171"></a>00171 
<a name="l00172"></a>00172   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01613.html#2448c81228a3fc3cbbb695fd2367b2cd">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="l00173"></a>00173 
<a name="l00175"></a>00175 
<a name="l00182"></a>00182   <a class="code" href="a00303.html" title="abstact superclass for composite (multi-block or AMR) datasets">vtkCompositeDataSet</a>* CreateOutputCompositeDataSet(
<a name="l00183"></a>00183     <a class="code" href="a00303.html" title="abstact superclass for composite (multi-block or AMR) datasets">vtkCompositeDataSet</a>* input, <span class="keywordtype">int</span> compositePort);
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 <span class="keyword">private</span>:
<a name="l00188"></a>00188   <a class="code" href="a00407.html#0255f8f6a3031b7d2072c01e1fe3f352">vtkCompositeDataPipeline</a>(<span class="keyword">const</span> <a class="code" href="a00301.html" title="Executive supporting composite datasets.">vtkCompositeDataPipeline</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00189"></a>00189   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00301.html" title="Executive supporting composite datasets.">vtkCompositeDataPipeline</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00190"></a>00190 };
<a name="l00191"></a>00191 
<a name="l00192"></a>00192 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:14 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>