<div dir="ltr">the contour.GetOutputDataObject(0) returns the proper output that was created.<br><br>Why this behaviour ? Should I assume this kind of interface when using composite datasets ?<br><br>S<br><br><div class="gmail_quote">
On Tue, Sep 30, 2008 at 9:20 PM, Gerrick Bivins <span dir="ltr">&lt;<a href="mailto:gbivins@objectreservoir.com">gbivins@objectreservoir.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<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<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On 9/30/08 10:38 AM, &quot;Kaushik .&quot; &lt;<a href="http://shekhar.kaushik@gmail.com" target="_blank">shekhar.kaushik@gmail.com</a>&gt; wrote:<br>
<br>
</div></div></span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><div><div></div><div class="Wj3C7c">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>
</div></div><hr size="3" width="95%" align="center"></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" target="_blank">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" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</span></font></font></blockquote>
</div>


</blockquote></div><br><br clear="all"><br>-- <br>--<br>shekhar<br>
</div>