[vtkusers] How to output a list of vtkImageData from filter

David E DeMarle dave.demarle at kitware.com
Fri Sep 6 09:49:29 EDT 2013


You should produce a vtkMultiBlockDataSet with one block for each of the
vtkImageDatas.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Fri, Sep 6, 2013 at 8:38 AM, the_shark <mdccnunes at hotmail.com> wrote:

> Hello,
>
> I am generating in my filter a set of vtkImageData that I get from
> extracting specific VOIs from one volume.
> I end up having a map of <int id_VoI, vtksmartPointer<vtkImagedata>VoI>
> inside the filter.
>
> I want to output that through RequestData() but it seems I can't figure out
> how to put all VOIs in a list and pass them to the output. In the end the
> mapper can receive this output ( list of vtkimageData) and render each voi.
>
> Any help is appreciated.
>
> Thank you!
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/How-to-output-a-list-of-vtkImageData-from-filter-tp5723315.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130906/7f70d767/attachment.htm>


More information about the vtkusers mailing list