[vtk-developers] A filter that does the opposite of vtkImageDataStreamer?

Berk Geveci berk.geveci at kitware.com
Mon Sep 29 20:15:16 EDT 2014


Hi David,

Many apologies for taking so long to answer.  It was a tough week. The
short answer is no. If you are doing this in Python with VTK master, I'd
suggest using vtkPythonAlgorithm. This should take no more than 10 lines of
Python code to achieve.

Best,
-berk

On Tue, Sep 23, 2014 at 12:12 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> Trying again:
>
> Is there a flag that the user can set on a vtkAlgorithm to force it to
> always request the whole extent from its input?
>
> I'm guessing the answer is "no" because I don't see any code in
> vtkStreamingDemandDrivenPipeline.cxx that would support such a
> feature, but I'm wondering if I can get confirmation from other
> developers who are familiar with the pipeline.
>
>  - David
>
>
> On Mon, Sep 22, 2014 at 12:22 PM, David Gobbi <david.gobbi at gmail.com>
> wrote:
> > Hi All,
> >
> > This is a question about streaming in an imaging pipeline.  Sometimes
> > I want to stream just part of whole extent through the pipeline, but
> > even more often, I want to pull through the whole extent even if a
> > downstream request is for just a single slice.
> >
> > Is there a trivial filter in VTK that, regardless of the UpdateExtent
> > requested, will always request the WholeExtent from upstream?
> > I say "trivial" because it would indeed be a trivial filter to write.
> > Has anyone else ever written or used such a filter?
> >
> > Basically, I'm looking for an easy way to turn streaming off at
> > any point in my pipeline, either by inserting a "non-streaming filter"
> > or by telling an existing filter not to stream.
> >
> >  - David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140929/416c5227/attachment-0002.html>


More information about the vtk-developers mailing list