https://public.kitware.com/Wiki/index.php?title=VTK/VTK_6_Migration/Removal_of_Methods_for_Manipulating_Update_Extent&feed=atom&action=history
VTK/VTK 6 Migration/Removal of Methods for Manipulating Update Extent - Revision history
2024-03-29T09:22:33Z
Revision history for this page on the wiki
MediaWiki 1.38.6
https://public.kitware.com/Wiki/index.php?title=VTK/VTK_6_Migration/Removal_of_Methods_for_Manipulating_Update_Extent&diff=46504&oldid=prev
Berk: /* Removal of vtkDataObject Methods for Manipulating Update Extent */
2012-04-10T18:15:25Z
<p><span dir="auto"><span class="autocomment">Removal of vtkDataObject Methods for Manipulating Update Extent</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:15, 10 April 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l20">Line 20:</td>
<td colspan="2" class="diff-lineno">Line 20:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* SetUpdateExtentToWholeExtent(int port, int connection);</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* SetUpdateExtentToWholeExtent(int port, int connection);</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* SetUpdateExtentToWholeExtent();</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* SetUpdateExtentToWholeExtent();</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* int* GetUpdateExtent()</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* GetUpdateExtent(int& x0, int& x1, int& y0, int& y1,int& z0, int& z1)</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* GetUpdateExtent(int extent[6])</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* GetUpdatePiece()</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* GetUpdateNumberOfPieces()</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* GetUpdateGhostLeve()</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Example 1 ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Example 1 ==</div></td></tr>
</table>
Berk
https://public.kitware.com/Wiki/index.php?title=VTK/VTK_6_Migration/Removal_of_Methods_for_Manipulating_Update_Extent&diff=46477&oldid=prev
Berk: /* Removal of vtkDataObject Methods for Manipulating Update Extent */
2012-04-06T19:25:12Z
<p><span dir="auto"><span class="autocomment">Removal of vtkDataObject Methods for Manipulating Update Extent</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:25, 6 April 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>= Removal of vtkDataObject Methods for Manipulating Update Extent =</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>= Removal of vtkDataObject Methods for Manipulating Update Extent =</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>VTK 6 introduces a number of backwards-incompatible changes. The reasons behind these changes are described in more detail [here]. One of these changes is the removal of all pipeline related methods from vtkDataObject. Among these methods are those that manipulated the update extent. These are</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>VTK 6 introduces a number of backwards-incompatible changes. The reasons behind these changes are described in more detail [<ins style="font-weight: bold; text-decoration: none;">[VTK/VTK 6 Migration/Overview|</ins>here<ins style="font-weight: bold; text-decoration: none;">]</ins>]. One of these changes is the removal of all pipeline related methods from vtkDataObject. Among these methods are those that manipulated the update extent. These are</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* SetUpdateExtent(int piece, int numPieces, int ghostLevel)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* SetUpdateExtent(int piece, int numPieces, int ghostLevel)</div></td></tr>
</table>
Berk
https://public.kitware.com/Wiki/index.php?title=VTK/VTK_6_Migration/Removal_of_Methods_for_Manipulating_Update_Extent&diff=46473&oldid=prev
Berk: Created page with "= Removal of vtkDataObject Methods for Manipulating Update Extent = VTK 6 introduces a number of backwards-incompatible changes. The reasons behind these changes are described i..."
2012-04-06T19:13:46Z
<p>Created page with "= Removal of vtkDataObject Methods for Manipulating Update Extent = VTK 6 introduces a number of backwards-incompatible changes. The reasons behind these changes are described i..."</p>
<p><b>New page</b></p><div>= Removal of vtkDataObject Methods for Manipulating Update Extent =<br />
<br />
VTK 6 introduces a number of backwards-incompatible changes. The reasons behind these changes are described in more detail [here]. One of these changes is the removal of all pipeline related methods from vtkDataObject. Among these methods are those that manipulated the update extent. These are<br />
<br />
* SetUpdateExtent(int piece, int numPieces, int ghostLevel)<br />
* SetUpdateExtent(int piece, int numPieces)<br />
* SetUpdateExtent(int extent[6])<br />
* SetUpdateExtent(int x0, int x1, int y0, int y1, int z0, int z1)<br />
* int* GetUpdateExtent()<br />
* GetUpdateExtent(int& x0, int& x1, int& y0, int& y1,int& z0, int& z1)<br />
* GetUpdateExtent(int extent[6])<br />
* SetUpdateExtentToWholeExtent()<br />
<br />
These were convenience functions that actually forwarded to the executives. For convenience, we added similar convenience functions to vtkAlgorithm. This should make it easy to transition to VTK 6. These functions are as follows.<br />
<br />
* SetUpdateExtent(int port, int connection, int piece,int numPieces, int ghostLevel);<br />
* SetUpdateExtent(int piece,int numPieces, int ghostLevel);<br />
* SetUpdateExtent(int port, int connection, int extent[6]);<br />
* SetUpdateExtent(int extent[6]);<br />
* SetUpdateExtentToWholeExtent(int port, int connection);<br />
* SetUpdateExtentToWholeExtent();<br />
<br />
== Example 1 ==<br />
<br />
Replace<br />
<br />
<source lang="cpp"><br />
vtkDataObject* dobj = aFilter->GetOutput();<br />
dobj->UpdateInformation();<br />
dobj->SetUpdateExtent(0 /*piece*/, 2 /*number of pieces*/);<br />
dobj->Update();<br />
</source><br />
<br />
with<br />
<br />
<source lang="cpp"><br />
aFilter->UpdateInformation();<br />
aFilter->SetUpdateExtent(0 /*piece*/, 2 /*number of pieces*/, 0 /*ghost levels*/);<br />
aFilter->Update();<br />
</source><br />
<br />
== Example 2 ==<br />
<br />
Replace<br />
<br />
<source lang="cpp"><br />
vtkDataObject* dobj = aFilter->GetOutput();<br />
dobj->UpdateInformation();<br />
int updateExtent[6] = {0, 10, 0, 10, 0, 10};<br />
dobj->SetUpdateExtent(updateExtent);<br />
dobj->Update();<br />
</source><br />
<br />
with<br />
<br />
<source lang="cpp"><br />
aFilter->UpdateInformation();<br />
int updateExtent[6] = {0, 10, 0, 10, 0, 10};<br />
aFilter->SetUpdateExtent(updateExtent);<br />
aFilter->Update();<br />
</source></div>
Berk