<div dir="ltr">Hi Sergio,<div><br></div><div>Here are some methods that can be used:</div><div><br></div><div>1) Use vtkCutter to convert the polydata into a 2D contour, and then use vtkTubeFilter to thicken the contour for better visibility.</div><div><br></div><div>2) Instead of vtkTubeFilter to thicken the contour, you can use vtkContourTriangulator to fill the contour.</div><div><br></div><div>3) Render the 3D polydata as a wireframe, so that you can see the image through the mesh.</div><div><br></div><div> - David</div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 9:29 AM, Sergio Vera <span dir="ltr"><<a href="mailto:sergio.vera@alma3d.com" target="_blank">sergio.vera@alma3d.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Dear vtk users<br><br></div>I have a vtkImage with a CT and some segmentations as vtkPolyData,<br><br></div>Currently I draw the vtkPolyData on top of the image but the image is hidden by the meshes.<br></div>I would like to represent the segmentation as contours in the image.<br><br></div>I have tried to use vtkPolyDataMapper with two slice planes to display just a thin portion of the mesh but the result is subpar.<br><br></div>Is there any better way to display my segmentations as (possibly filled with a semitransparent color) a contour over the image?<br><br></div>Best regards</div></blockquote></div></div></div></div>