<HTML>
<HEAD>
<TITLE>Re: [vtkusers] vtkCompositeDataPipeline doubts</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>What happens when you try to get the output data object or the output port?<BR>
&nbsp;&nbsp;contour.GetOutputDataObject();<BR>
or<BR>
&nbsp;contour.GetOutputPort();<BR>
Gerrick<BR>
<BR>
<BR>
On 9/30/08 10:38 AM, &quot;Kaushik .&quot; &lt;<a href="shekhar.kaushik@gmail.com">shekhar.kaushik@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi <BR>
I have been trying to get &quot;simple filters&quot; to work with composite data inputs.<BR>
What I do is this :<BR>
1. create the simple filter ( say a vtkContourFilter )<BR>
2. Set its executive to a vtkCompositeDataPipeline<BR>
3. Set its inputConnection to the output port of a XMLMultiBlockDataReader( the source of my <BR>
composite data ).<BR>
4. Now when i do an Update() on the contour filter and try to Get its Output using <BR>
a GetOutput() i always get a NULL value. <BR>
<BR>
The executive that i attached to the filter above however returns the proper output dataset<BR>
when i call its GetCompositeOutputData() function.<BR>
<BR>
Is this expected behaviour ?<BR>
Am I missing something ?<BR>
<BR>
In general is the method mentioned above proper to get normal filters to work <BR>
with composite data ?<BR>
<BR>
--<BR>
&nbsp;regards<BR>
shekhar<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
This is the private VTK discussion list.<BR>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>