[vtkusers] vtkCompositeDataPipeline doubts

Kaushik . shekhar.kaushik at gmail.com
Tue Sep 30 11:38:59 EDT 2008


Hi
I have been trying to get "simple filters" to work with composite data
inputs.
What I do is this :
1. create the simple filter ( say a vtkContourFilter )
2. Set its executive to a vtkCompositeDataPipeline
3. Set its inputConnection to the output port of a XMLMultiBlockDataReader(
the source of my
composite data ).
4. Now when i do an Update() on the contour filter and try to Get its Output
using
a GetOutput() i always get a NULL value.

The executive that i attached to the filter above however returns the proper
output dataset
when i call its GetCompositeOutputData() function.

Is this expected behaviour ?
Am I missing something ?

In general is the method mentioned above proper to get normal filters to
work
with composite data ?

--
regards
shekhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080930/534a3e75/attachment.htm>


More information about the vtkusers mailing list