[vtkusers] point picking problem.

Anka Kochanowska anka at bic.mni.mcgill.ca
Mon Nov 27 08:03:43 EST 2006


I'm using glyphs with spheres for pointys on the surface.
Anka

Peter Spring wrote:

> Dear all,
>
> point picking is a old issue. i went thru some post on this mailing
> list. and i got inspired indeed. yet i still have some problem
> regarding point picking, please forgive my nescience.
>
>
> the things i want to do is picking up some point in a medical iso
> surface, display is generated from CT DICOM data.
>
> following code display the point position on command line
>
> vtkRenderWindowInteractor iren
>    iren SetPicker picker
> vtkCellPicker picker
>    picker AddObserver EndPickEvent cbDisplayPoint
> proc cbDisplayPoint {} {
>    puts "You picked point: [picker GetPickPosition]"
> }
>
> however i also want to put an actual point on the surface, so what
> shall i do in this case?  do i need use vtk point widget (maybe some
> example code)?
>
> and also,
> i hope some one can explain to me a bit about the difference between
> cell picker and point picker.
>
>
> thank you very much
>
> yours
>
> Peter
> _______________________________________________
> 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
>



More information about the vtkusers mailing list