<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Dear VTK Users,<o:p></o:p></p>
<p class="MsoNormal">I am having problems updating the extents on vtkOutlineCornerFilter when the input image changes.  The code below reads an image and displays its bounding box with  vtkOutlineCornerFilter.   Then it changes the filename to an image with
 different dimensions and executes the render loop again.  An error message is displayed: “Update extent … outside WholeExtent”.  If a corresponding slice view is added using vtkImageSliceMapper, the slice updates perfectly but the outline box does not.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">//---------------------------------------------------------------</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Create the visual pipe</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">//---------------------------------------------------------------</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkStructuredPointsReader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> *</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">reader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">
 = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkStructuredPointsReader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">reader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">SetFileName</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">fname2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">.</span><i><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">c_str</span></i><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">());<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkOutlineCornerFilter</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">*
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">ocf</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> =
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkOutlineCornerFilter</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">ocf</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">SetInputConnection</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">reader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">GetOutputPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">());<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkPolyDataMapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">*
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">mapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> =
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkPolyDataMapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">    </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">mapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">SetInputConnection</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">ocf</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">GetOutputPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">());<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> *</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">actor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">
 = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">actor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">SetMapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">mapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">Renderer</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">AddActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">actor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// -------------------------------</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Render loop 1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Enter 'e' to exit and continue</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// -------------------------------</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">RWI</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">Initialize</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">RWI</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">Start</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">//---------------------------------------------------------------</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Render loop 2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Change the filename and render again</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">//---------------------------------------------------------------</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">reader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">SetFileName</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">fname1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">.</span><i><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">c_str</span></i><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">());<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">RWI</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">Initialize</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">RWI</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">Start</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This appears to be the same as a the problem with vtkAppendPolyData which I reported on 6/8/15:
<a href="http://public.kitware.com/pipermail/vtkusers/2015-August/091772.html">http://public.kitware.com/pipermail/vtkusers/2015-August/091772.html</a> and which was fixed by Dan Lipsa as bug #15662.  I copied this bug fix into vtkOutlineCornerFilter and it
 fixed the problem:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">int</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkOutlineCornerFilter</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">RequestUpdateExtent</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkInformation</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">
 *</span><span style="font-size:9.5pt;font-family:Consolas;color:#6F008A;background:white;mso-highlight:white">vtkNotUsed</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(request),<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> 
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkInformationVector</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> **</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">inputVector</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> 
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkInformationVector</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> *</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">outputVector</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">{<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> 
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkInformation</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">*
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">req</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> =
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkInformation</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();
</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// because we can't pass the "unused" argument</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> 
</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">int</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">retVal</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> =
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkPolyDataAlgorithm</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">RequestUpdateExtent</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">req</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">inputVector</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">outputVector</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> 
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">req</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">Delete</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> 
</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkInformation</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> *
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">inputInfo</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> =
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">inputVector</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">[0]-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">GetInformationObject</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(0);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> 
</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">if</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">inputInfo</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">Has</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkStreamingDemandDrivenPipeline</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">WHOLE_EXTENT</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">()))<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">  {<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">int</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">ext</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">[6];<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">inputInfo</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">Get</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkStreamingDemandDrivenPipeline</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">WHOLE_EXTENT</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(),
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">ext</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">   
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">inputInfo</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">Set</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white">vtkStreamingDemandDrivenPipeline</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white">UPDATE_EXTENT</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(),
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">ext</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, 6);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">  }<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> 
</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white">retVal</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, unlike vtkAppendPolyData,  vtkOutlineCornerFilter does not have its own RequestUpateExptent() - it inherits it from vtkPolyDataAlgorithm.  The code above solves my immediate problem but it is a bodge: an override which calls the
 base class and appends a fix.  Is there an underlying problem in vtkPolyDataAlgorithm?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal">Nigel McFarlane<o:p></o:p></p>
<p class="MsoNormal">University of Bedfordshire UK<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>