<div>Hi Shekhar and all,</div>
<div>&nbsp;</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&nbsp;visualize vtkImageData, mixed with vtkPolyData ( or an other geometric data ) together, slice by slice. I don&#39;t think it is impossible, once the position, origin, and other important stuff for the positioning of the geometric data,&nbsp;are present on the imageData structure, but until now I havent succeeded.
</div>
<div>&nbsp;</div>
<div>Any ideas?</div>
<div>&nbsp;</div>
<div>Thanks!</div>
<div>&nbsp;</div>
<div>Dário.<br><br>&nbsp;</div>
<div><span class="gmail_quote">2007/10/4, Shekhar Chandra &lt;<a href="mailto:Shekhar.Chandra@sci.monash.edu.au">Shekhar.Chandra@sci.monash.edu.au</a>&gt;:</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>&lt;<a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/VisualizationAlgorithms/Python/imageWarp.py?root=VTK&amp;content-type=text/plain">
http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/VisualizationAlgorithms/Python/imageWarp.py?root=VTK&amp;content-type=text/plain</a>&gt;<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>&quot;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.&quot;
<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>&gt; Hi friends,<br>&gt;<br>&gt; It is possible to display geometric and image data together in 2D<br>&gt; slices? I want to show a 2D slice of a CT exam, and put over it, with
<br>&gt; determinate color and opacity, the result of my segmentation process. Is<br>&gt; that possible? To mix vtkImageData and vtkPolyData in the same<br>&gt; vtkImageViewer, and to see the slices containg both the information?
<br>&gt;<br>&gt; If positive, could anyone send me some tip?<br>&gt;<br>&gt; Thanks!!<br>&gt; --<br>&gt; Dário Oliveira<br>&gt;<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: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <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