Hi,<br>  I am getting some problem with vtkImageTracerWidget.<br>  I can show any slice from vtkImage volume and draw a freehand line with vtkImageTracerWidget over background image in viewer Window. The image is on XY plane.<br>
  For some slices, the vtkImageTracerWidget draws in front of the background image and it is visible. I checked the Z values of the points on tracer path and they had the same value as my current viewing slice&#39;s Z value.<br>
   However for some slices, the image tracer was drawn but it was behind the background image and could not be seen. I checked the position values of the points on tracer path and they were different from current viewing slice&#39;s Z values. e.g., Current slice&#39;s Z value = 93 and the tracer&#39;s Z values = 92.99999 and therefore it was behind the slice image.<br>
<br>   How can I place the imageTracerWidget in front of the viewing slice all the time? Here is a piece of codes that I used to initialize my ImageTracerWidget.<br><br><br>    interactor = m_viewer2D-&gt;getRenderWindowInteractor();<br>
<br>    m_imageTracer-&gt;GetLineProperty()-&gt;SetLineWidth(3);<br>    m_imageTracer-&gt;SetInteractor(interactor);<br>    m_imageTracer-&gt;AutoCloseOn();<br>    m_imageTracer-&gt;SetCaptureRadius(10);<br>    m_imageTracer-&gt;SetViewProp( m_viewer2D-&gt;getImageActor() );<br>
    m_imageTracer-&gt;On();<br><br><br>thanks and regards,<br>Thiha<br><br><br>