<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> </DIV> <DIV>I had no idea if vtkContourFilter do the same.. so thanks a lot for this info.</DIV> <DIV> </DIV> <DIV>Anyway I have discovered my error.. As I have to use A vtkImageThreshold instead of the vtkThreshold</DIV> <DIV> </DIV> <DIV>thanks </DIV> <DIV>regards..</DIV> <DIV> </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>& works on more data types.<BR><BR>--- LM <RACETOJANNAH@YAHOO.COM wrote:<br>thanks<BR>a lot for ur replys..<BR>> When I connect them
directly..by writing<BR>> mcubes->Getinput(threshold->GetOutput)<BR><BR>> it gave me a runtime error..as followed <BR>> <BR>> "ERROR: In \project\VTK<BR>v5\VTK v5\Filtering\vtkDemandDrivenPipeline.cxx, line 777<BR>> 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>> <BR>> any suggestion?<BR>> Uriah Liggett <ULIGGETT@SARK.COM><BR>wrote:<BR>> Actually, you shouldn't even need to do what I stated before.<BR>Since <BR>> vtkUnstructuredGrid is a subclass of vtkDataObject, you can simply<BR>pass <BR>> the grid directly to the marching cubes (which will see it as a <BR><BR>> vtkDataObject) without any problems.<BR>> <BR>> <BR>> LM wrote:<BR>> <BR>> > I would<BR>like to ask some small question..<BR>> ><BR>> > I have the output of the threshold<BR>filter
"unstructuredGrid"<BR>> > and the MarchingCubes take input of type "vtkDataObject"<BR>which is a <BR>> > super class of the "vtkunstructuredGrid"<BR>> > how to connect<BR>between them???<BR>> > means.. that i want to get the output of the threshold<BR>filter.. and <BR>> > input it into the marchingCubes..<BR>> > <BR>> > thanks in<BR>advance<BR>> > LM<BR>> ><BR>> > ------------------------------------------------------------------------<BR><BR>> > Yahoo! Photos<BR>> > Ring in the New Year with Photo Calendars <BR>> > .<BR><BR>> > Add photos, events, holidays, whatever.<BR>> ><BR>> >------------------------------------------------------------------------<BR><BR>> ><BR>> >_______________________________________________<BR>> >This is the private<BR>VTK discussion list. <BR>> >Please keep messages on-topic. Check the FAQ at:<BR>http://www.vtk.org/Wiki/VTK_FAQ<BR>>
>Follow this link to subscribe/unsubscribe:<BR><BR>> >http://www.vtk.org/mailman/listinfo/vtkusers<BR>> > <BR>> ><BR>> <BR>> _______________________________________________<BR><BR>> This is the private VTK discussion list. <BR>> Please keep messages on-topic.<BR>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>> Follow this link to subscribe/unsubscribe:<BR><BR>> http://www.vtk.org/mailman/listinfo/vtkusers<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> ---------------------------------<BR>> Yahoo! Photos<BR>> Got holiday prints?<BR>See all the ways to get quality prints in your hands ASAP.<BR>> <BR>> <BR>> _______________________________________________<BR><BR>> This is the private VTK discussion list. <BR>> Please keep messages on-topic.<BR>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>> Follow this link to subscribe/unsubscribe:<BR><BR>> http://www.vtk.org/mailman/listinfo/vtkusers<BR>> <BR>>
<BR>> <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.