Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSharp example custom interactor exception #429

Open
dmgroppe opened this issue Jan 22, 2019 · 0 comments
Open

CSharp example custom interactor exception #429

dmgroppe opened this issue Jan 22, 2019 · 0 comments

Comments

@dmgroppe
Copy link

This CSharp example:
https://lorensen.github.io/VTKExamples/site/CSharp/IO/ReadDICOMSeries/

Produces the following exception somewhat randomly:

System.Exception: 'error: could not get registered type - mteIndex='4294967295' classNameKey='''

If you scroll through enough slices, eventually you should get the exception. The exception appears to be caused by the custom vtkObjectEventHandlers that are added to interactorStyle on these two lines:

     interactorStyle.MouseWheelForwardEvt += new vtkObject.vtkObjectEventHandler(interactor_MouseWheelForwardEvt);
     interactorStyle.MouseWheelBackwardEvt += new vtkObject.vtkObjectEventHandler(interactor_MouseWheelBackwardEvt);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant