issue with vtkLineWidget2 displaying in vtkImageViewer2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

issue with vtkLineWidget2 displaying in vtkImageViewer2

I'm using a vtkImageViewer2 for displaying dicom images. 
I need to draw lines over the images and have interactively change its properties (position, size etc), so used vtkLineWidget2 to draw lines.
But the lines are rendering below the image displayed in the vtkImageViewer2. 
I need to render the lines over the image, have any solution for this?
I also using vtkAngleWidget and vtkDistanceWidget, but these are displaying above the image, only vtkLineWidget2  have the issue.
please help....
(attached screenshot of the viewer, line rendered is marked inside the red circle) 

Powered by

Visit other Kitware open-source projects at

Please keep messages on-topic and check the VTK FAQ at:

Search the list archives at:

Follow this link to subscribe/unsubscribe:

Untitled.png (248K) Download Attachment