[Paraview] Update Extents

Andy Bauer andy.bauer at kitware.com
Fri Mar 11 12:48:00 EST 2011


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, <owen.arnold at stfc.ac.uk> wrote:

>  Sorry in my example should read (0, 100, 0, 50, 0, 50) rather than (0,
> 100, 0, 50, 50)
>
>
>
>
>
> *From:* paraview-bounces at paraview.org [mailto:
> paraview-bounces at paraview.org] *On Behalf Of *owen.arnold at stfc.ac.uk
> *Sent:* 11 March 2011 16:01
> *To:* paraview at paraview.org
> *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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110311/57af876e/attachment.htm>


More information about the ParaView mailing list