[vtk-developers] Need some help, please, to add a picker to a vtkLineSource

David Doria daviddoria+vtk at gmail.com
Mon Jan 18 11:39:57 EST 2010


On Mon, Jan 18, 2010 at 11:37 AM, orobin <Olivier.Robin at bioclinica.com> wrote:
>
> Hello,
>
> I have a vtkRender, where I draw some images.
> above this image, I draw some lines (vtkLineSource), or sometime vtkPolydata
> (to do some cube, polylines)
>
> I need to get mouse event when the user click on the line, or the polydata,
> when the mous is over the line, when the user release the mouse on the line
> etc...
>
> I have tried to use the vtkPropPicker, and vtkCellPicker, but it doens't
> work properly for me, because it detect an actor.
> and then, it detect something like a big square where my line is in.
>
> I need to be precis, and just be called when the mouse pointer is on one of
> the several pixels which build the line.
>
> How can I do ? is there some object which can be used to pick lines, sphere,
> cone, vtkpolydata ???
>
> thnak you for any help, I don't find answer in the book of kitware.
>
> Best regards
> Olivier
>
>

I don't have an answer for you, but this question should be on the
users list, not the developers list.

You can sign up here:
http://www.itk.org/mailman/listinfo/vtkusers

Thanks,

David



More information about the vtk-developers mailing list