[vtkusers] vtkCompositeDataPipeline doubts

Gerrick Bivins gbivins at objectreservoir.com
Tue Sep 30 11:50:58 EDT 2008


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

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


More information about the vtkusers mailing list