[vtkusers] how to click and display the point in a render window
David Doria
daviddoria+vtk at gmail.com
Wed Apr 14 22:02:38 EDT 2010
On Wed, Apr 14, 2010 at 9:45 PM, Erkang Cheng <ekyaya at gmail.com> wrote:
> Hi all:
>
> Could anyone help me figure out the problem?
>
> I want to interact with the window which display a image. When I click on
> the window, I want to draw a mark on this point.
>
> Actually, I can get the position of the point, but, I don't know how to
> make a mark on the point.
>
> Could anyone give a example or explain how to process the question?
>
> BTW:
>
> I follow the LiveTumorSegmentation example in InsightApplication.
>
> When I get the position, how the display a mark on the position?
>
> Thanks
> Erkang
>
Erkang,
Here is a VTK example of how to do this:
http://www.vtk.org/Wiki/VTK/Examples/Widgets/ImageTracerWidget
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100414/010a37dc/attachment.htm>
More information about the vtkusers
mailing list