<DIV id=RTEContent> <DIV>thanks a lot for ur replys..</DIV> <DIV>When I connect them directly..by writing</DIV> <DIV>mcubes->Getinput(threshold->GetOutput)</DIV> <DIV>it gave me a runtime error..as followed </DIV> <DIV> </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> </DIV> <DIV>any suggestion?<BR><B><I>Uriah Liggett <uliggett@sark.com></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>> I would like to ask some small question..<BR>><BR>> I have the output of the threshold filter "unstructuredGrid"<BR>> and the MarchingCubes take input of type "vtkDataObject" which is a <BR>> super class of the "vtkunstructuredGrid"<BR>> how to connect between them???<BR>> means.. that i want to get the output of the threshold filter.. and <BR>> input it into the marchingCubes..<BR>> <BR>> thanks in advance<BR>> LM<BR>><BR>> ------------------------------------------------------------------------<BR>> Yahoo! Photos<BR>> Ring in the New Year with Photo Calendars <BR>> <HTTP: evt="38087/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=" photos taglines mail_us us.rd.yahoo.com *http: pa.yahoo.com>. <BR>> Add photos, events, holidays,
whatever.<BR>><BR>>------------------------------------------------------------------------<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>> <BR>><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.