[vtkusers] vtkCompositeDataPipeline doubts

Kaushik . shekhar.kaushik at gmail.com
Tue Sep 30 13:10:35 EDT 2008


the contour.GetOutputDataObject(0) returns the proper output that was
created.

Why this behaviour ? Should I assume this kind of interface when using
composite datasets ?

S

On Tue, Sep 30, 2008 at 9:20 PM, Gerrick Bivins <gbivins at objectreservoir.com
> wrote:

>  What happens when you try to get the output data object or the output
> port?
>   contour.GetOutputDataObject();
> or
>  contour.GetOutputPort();
> Gerrick
>
>
>
> On 9/30/08 10:38 AM, "Kaushik ." <shekhar.kaushik at gmail.com> wrote:
>
> 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
>
> ------------------------------
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


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


More information about the vtkusers mailing list