[vtk-developers] A filter that does the opposite of vtkImageDataStreamer?
David Gobbi
david.gobbi at gmail.com
Tue Sep 30 08:35:57 EDT 2014
Thanks, pretty much what I figured. I'm not using python for this
project, but I'll throw together a C++ "anti-streaming filter" and
test it in my pipeline.
- David
On Mon, Sep 29, 2014 at 6:15 PM, Berk Geveci <berk.geveci at kitware.com> wrote:
> 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
>>
>
More information about the vtk-developers
mailing list