[vtkusers] c# custom interactor exception "could not get registered type - mteIndex='4294967295' "

The Merper msmerps at gmail.com
Fri Jan 11 14:09:48 EST 2019

Hi all,
  I'm trying to create a vtkInteractorStyleImage with a custom right button
press event like so:

vtkInteractorStyleImage interactorStyle = vtkInteractorStyleImage.New();
interactorStyle.RightButtonPressEvt += new vtkObject.vtkObjectEventHandler(
vtkCellPicker Picker = vtkCellPicker.New();

The interactor works, but sometimes when I use it, I get the following

could not get registered type - mteIndex='4294967295' classNameKey=''

According to this thread:

The problem is that I need to remove to default RightButtonPressEvt before
I add my custom event. How can I do this?
    thank you in advance for any help you can offer,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190111/09f36172/attachment.html>

More information about the vtkusers mailing list