<DIV>I used it .. because i want to make a surfaceRendering to some medical 3D Images..</DIV>  <DIV>And i have read that marchingCubes techniques do such a process via the triagls that it makes..</DIV>  <DIV>&nbsp;</DIV>  <DIV>I had no idea&nbsp;if vtkContourFilter do the same.. so thanks a lot for this info.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Anyway I have discovered my error.. As I have to use A vtkImageThreshold instead of the vtkThreshold</DIV>  <DIV>&nbsp;</DIV>  <DIV>thanks </DIV>  <DIV>regards..</DIV>  <DIV>&nbsp;</DIV>  <DIV><BR><B><I>Yeraze.10672602@bloglines.com</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Any particular reason why you're using vtkMArchingCubes? vtkContourFilter<BR>will do the same thing (Isosurface/Contour line extraction) and it's faster<BR>&amp; works on more data types.<BR><BR>--- LM <RACETOJANNAH@YAHOO.COM wrote:<br>thanks<BR>a lot for ur replys..<BR>&gt; When I connect them
 directly..by writing<BR>&gt; mcubes-&gt;Getinput(threshold-&gt;GetOutput)<BR><BR>&gt; it gave me a runtime error..as followed <BR>&gt; <BR>&gt; "ERROR: In \project\VTK<BR>v5\VTK v5\Filtering\vtkDemandDrivenPipeline.cxx, line 777<BR>&gt; vtkStreamingDemandDrivenPipeline<BR>(04520DA0): Input for connection index 0 on input port index 0 for algorithm<BR>vtkMarchingCubes(0451EEC0) is of type vtkUnstructuredGrid, but a vtkImageData<BR>is required."<BR>&gt; <BR>&gt; any suggestion?<BR>&gt; Uriah Liggett <ULIGGETT@SARK.COM><BR>wrote:<BR>&gt; Actually, you shouldn't even need to do what I stated before.<BR>Since <BR>&gt; vtkUnstructuredGrid is a subclass of vtkDataObject, you can simply<BR>pass <BR>&gt; the grid directly to the marching cubes (which will see it as a <BR><BR>&gt; vtkDataObject) without any problems.<BR>&gt; <BR>&gt; <BR>&gt; LM wrote:<BR>&gt; <BR>&gt; &gt; I would<BR>like to ask some small question..<BR>&gt; &gt;<BR>&gt; &gt; I have the output of the threshold<BR>filter
 "unstructuredGrid"<BR>&gt; &gt; and the MarchingCubes take input of type "vtkDataObject"<BR>which is a <BR>&gt; &gt; super class of the "vtkunstructuredGrid"<BR>&gt; &gt; how to connect<BR>between them???<BR>&gt; &gt; means.. that i want to get the output of the threshold<BR>filter.. and <BR>&gt; &gt; input it into the marchingCubes..<BR>&gt; &gt; <BR>&gt; &gt; thanks in<BR>advance<BR>&gt; &gt; LM<BR>&gt; &gt;<BR>&gt; &gt; ------------------------------------------------------------------------<BR><BR>&gt; &gt; Yahoo! Photos<BR>&gt; &gt; Ring in the New Year with Photo Calendars <BR>&gt; &gt; .<BR><BR>&gt; &gt; Add photos, events, holidays, whatever.<BR>&gt; &gt;<BR>&gt; &gt;------------------------------------------------------------------------<BR><BR>&gt; &gt;<BR>&gt; &gt;_______________________________________________<BR>&gt; &gt;This is the private<BR>VTK discussion list. <BR>&gt; &gt;Please keep messages on-topic. Check the FAQ at:<BR>http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt;
 &gt;Follow this link to subscribe/unsubscribe:<BR><BR>&gt; &gt;http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; &gt; <BR>&gt; &gt;<BR>&gt; <BR>&gt; _______________________________________________<BR><BR>&gt; This is the private VTK discussion list. <BR>&gt; Please keep messages on-topic.<BR>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; Follow this link to subscribe/unsubscribe:<BR><BR>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ---------------------------------<BR>&gt; Yahoo! Photos<BR>&gt; Got holiday prints?<BR>See all the ways to get quality prints in your hands ASAP.<BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR><BR>&gt; This is the private VTK discussion list. <BR>&gt; Please keep messages on-topic.<BR>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; Follow this link to subscribe/unsubscribe:<BR><BR>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; <BR>&gt;
 <BR>&gt; <BR></BLOCKQUOTE>  <DIV><BR></DIV><p>
                <hr size=1> <a href="http://us.rd.yahoo.com/evt=38381/ ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http://autos.yahoo.com/index.html ">Yahoo! Autos</a>. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.