[vtkusers] Problem with vtkCellPicker

Darshan Pai darshanpai at gmail.com
Sat Oct 8 00:09:58 EDT 2011


I found the reason why vtkCellPicker gets executed 4 times.
this is because I have three imagePlane widgets which are assigned the same
interactor.

Now the question is how to suppress the other three.

On Fri, Oct 7, 2011 at 10:21 PM, Darshan Pai <darshanpai at gmail.com> wrote:

>
>
> On Wed, Oct 5, 2011 at 12:08 AM, Darshan Pai <darshanpai at gmail.com> wrote:
>
>> Hello All,
>>
>> I am porting my old VTK 4.4 code to Latest VTK on VS 2008.
>>
>> My problem is vtkCellPicker. I use a vtkCommand Execute()function for
>> retrieving the prop picked by the cell Picker.
>> The issue is that the observer gets called 4 times for one pick operation
>> by pressing the key 'p'.
>>
>> The cell and the prop picked is correct , the only problem is that the
>> observer executes 4 times , no more no less.
>>
>> I am not sure where to look . Anyone seen this issue before?
>>
>> Regards
>> Darshan
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111008/0cc6bb0f/attachment.htm>


More information about the vtkusers mailing list