<DIV id=RTEContent>  <DIV>thanks a lot for ur replys..</DIV>  <DIV>When I connect them directly..by writing</DIV>  <DIV>mcubes-&gt;Getinput(threshold-&gt;GetOutput)</DIV>  <DIV>it gave me a runtime error..as followed&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>"ERROR: In \project\VTK v5\VTK v5\Filtering\vtkDemandDrivenPipeline.cxx, line 777<BR>vtkStreamingDemandDrivenPipeline (04520DA0): Input for connection index 0 on input port index 0 for algorithm vtkMarchingCubes(0451EEC0) is of type vtkUnstructuredGrid, but a vtkImageData is required."</DIV>  <DIV>&nbsp;</DIV>  <DIV>any suggestion?<BR><B><I>Uriah Liggett &lt;uliggett@sark.com&gt;</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Actually, you shouldn't even need to do what I stated before. Since <BR>vtkUnstructuredGrid is a subclass of vtkDataObject, you can simply pass <BR>the grid directly to the marching cubes (which will see it as a <BR>vtkDataObject) without
 any problems.<BR><BR><BR>LM wrote:<BR><BR>&gt; I would like to ask some small question..<BR>&gt;<BR>&gt; I have the output of the threshold filter "unstructuredGrid"<BR>&gt; and the MarchingCubes take input of type "vtkDataObject" which is a <BR>&gt; super class of the "vtkunstructuredGrid"<BR>&gt; how to connect between them???<BR>&gt; means.. that i want to get the output of the threshold filter.. and <BR>&gt; input it into the marchingCubes..<BR>&gt; <BR>&gt; thanks in advance<BR>&gt; LM<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; Yahoo! Photos<BR>&gt; Ring in the New Year with Photo Calendars <BR>&gt; <HTTP: evt="38087/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&amp;.dir=" photos taglines mail_us us.rd.yahoo.com *http: pa.yahoo.com>. <BR>&gt; Add photos, events, holidays,
 whatever.<BR>&gt;<BR>&gt;------------------------------------------------------------------------<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;This is the private VTK discussion list. <BR>&gt;Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt;Follow this link to subscribe/unsubscribe:<BR>&gt;http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; <BR>&gt;<BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>Follow this link to subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE>  <DIV><BR></DIV></DIV><p>
        
                <hr size=1>Yahoo! Photos<br> 
Got holiday prints? <a href="http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*http://pg.photos.yahoo.com/ph//print_splash">See all the ways</a> to get quality prints in your hands ASAP.