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're looking for to expand the extents of a data set.
Andy On Fri, Mar 11, 2011 at 11:20 AM, <[email protected]> wrote: > Sorry in my example should read (0, 100, 0, 50, 0, 50) rather than (0, > 100, 0, 50, 50) > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *[email protected] > *Sent:* 11 March 2011 16:01 > *To:* [email protected] > *Subject:* [Paraview] Update Extents > > > > 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. > > > > The problem has been reported before > http://www.paraview.org/pipermail/paraview/2009-March/011334.html. The > suggested fix hasn’t worked for me. > > > > Can anyone suggest anything, or perhaps point me towards a filter that > carries out this kind of operation? > > > > Thanks in advance. > > > > Owen. > > > > -- > Scanned by iCritical. > > > > -- > Scanned by iCritical. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
