You may want to look at the VTK/Graphics/vtkExtractGrid class.  That filter is used to reduce the extents of a structured data set so it will have the logic you&#39;re looking for to expand the extents of a data set.<br><br>
Andy<br><br><div class="gmail_quote">On Fri, Mar 11, 2011 at 11:20 AM,  <span dir="ltr">&lt;<a href="mailto:owen.arnold@stfc.ac.uk">owen.arnold@stfc.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">






<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="color: rgb(54, 95, 145);">Sorry in my example should read (0, 100, 0, 50, 0, 50) rather than (0, 100, 0, 50, 50)</span></p>
<p class="MsoNormal"><span style="color: rgb(54, 95, 145);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(54, 95, 145);"> </span></p>
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a> [mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>]
<b>On Behalf Of </b><a href="mailto:owen.arnold@stfc.ac.uk" target="_blank">owen.arnold@stfc.ac.uk</a><br>
<b>Sent:</b> 11 March 2011 16:01<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> [Paraview] Update Extents</span></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have a filter derived from vtkStructuredGrid. My filter generates a new dataset which may have extents larger than those set up by the source. For example, if my original extents are (0, 50, 0, 50, 0, 50) the filter may generate a new
 data set with extents of (0, 100, 0, 50, 50). I cannot find a way of updating the extents in my filter in such a way that ParaView fully renders my larger dataset. There must be a way to handle this in ParaView, but I’ve been unable to figure it out.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The problem has been reported before <a href="http://www.paraview.org/pipermail/paraview/2009-March/011334.html" target="_blank">
http://www.paraview.org/pipermail/paraview/2009-March/011334.html</a>. The suggested fix hasn’t worked for me.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Can anyone suggest anything, or perhaps point me towards a filter that carries out this kind of operation?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks in advance.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Owen.</p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"> </span></p>
<p>-- <br>
Scanned by iCritical. </p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"> </span></p>
</div></div></div>

<br><p>-- 
<br>Scanned by iCritical.
</p>
<br></div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>