[vtkusers] How to generate a point in 3D and change its location through dragging

Xiaopeng Yang yxp233 at postech.ac.kr
Wed Aug 17 20:28:08 EDT 2011


Hi David,

Thanks very much. It works very well. But I need interaction for rotating,
zooming in and out the 3D image. Can you tell me how to modify this example
code?

Thank you!

Xiaopeng

-----Original Message-----
From: David Doria [mailto:daviddoria at gmail.com] 
Sent: Wednesday, August 17, 2011 10:55 PM
To: Xiaopeng Yang
Cc: vtk
Subject: Re: [vtkusers] How to generate a point in 3D and change its
location through dragging

On Tue, Aug 16, 2011 at 11:30 PM, Xiaopeng Yang <yxp233 at postech.ac.kr>
wrote:
> Dear Users,
>
> I would like to generate a 3D point and then change its location through
> mouse clicking and dragging. Does anybody have any good idea?

Check out this example:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MoveAVertex

David










More information about the vtkusers mailing list