[vtkusers] draw a region of interest using the mouse

Mark Wyszomierski markww at gmail.com
Thu Sep 8 10:18:48 EDT 2005


You can use vtkImageTracerWidget.
 Mark

 On 9/8/05, LI XIN <xli16 at jhem.jhmi.edu> wrote: 
> 
> Hello vtkusers,
> 
> I have a question about doing ROI using MFC and VTK. I have displayed the 
> image by assigning a vtkRenderWindow to a pre-existing window in my MFC MDI 
> app. Then I would like to use MFC's LineTo function to draw on the image 
> with mouse. But I found that it didn't work. It seemed that I could not draw 
> on a vtkRenderWindow.
> 
> What should I do?
> 
> Thanks!
> 
> Xin
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050908/4711fe74/attachment.htm>


More information about the vtkusers mailing list