<div>Hi Shekhar and all,</div>
<div> </div>
<div>The example you gave me mix geometric and image data (as far as I understood it actually creates some geometric data from the imageData given, and then merge this two geometric data), but it just works in 3D viewing. I am trying to visualize vtkImageData, mixed with vtkPolyData ( or an other geometric data ) together, slice by slice. I don't think it is impossible, once the position, origin, and other important stuff for the positioning of the geometric data, are present on the imageData structure, but until now I havent succeeded.
</div>
<div> </div>
<div>Any ideas?</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div>Dário.<br><br> </div>
<div><span class="gmail_quote">2007/10/4, Shekhar Chandra <<a href="mailto:Shekhar.Chandra@sci.monash.edu.au">Shekhar.Chandra@sci.monash.edu.au</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Dário,<br><br>I think this example does it<br><<a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/VisualizationAlgorithms/Python/imageWarp.py?root=VTK&content-type=text/plain">
http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/VisualizationAlgorithms/Python/imageWarp.py?root=VTK&content-type=text/plain</a>><br>Its in Python, but just change the syntax to whatever u use.<br>
<br>I only know about it cause I was looking at it yesterday!<br>"This example shows how to combine data from both the imaging and<br>graphics pipelines. The vtkMergeFilter is used to merge the data from<br>each together."
<br>Not sure if its exactly what u want, hope it is though.<br><br>Cheers<br>Shekhar<br><br>Dário Oliveira wrote:<br>> Hi friends,<br>><br>> It is possible to display geometric and image data together in 2D<br>> slices? I want to show a 2D slice of a CT exam, and put over it, with
<br>> determinate color and opacity, the result of my segmentation process. Is<br>> that possible? To mix vtkImageData and vtkPolyData in the same<br>> vtkImageViewer, and to see the slices containg both the information?
<br>><br>> If positive, could anyone send me some tip?<br>><br>> Thanks!!<br>> --<br>> Dário Oliveira<br>><br>><br>> ------------------------------------------------------------------------<br>>
<br>> _______________________________________________<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">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br><br></blockquote></div><br><br clear="all"><br>
-- <br>Dário Oliveira