Hi,

I have very large surfaces and I would like to skip rendering some slices
when the mouse wheel delta is large enough (over a certain threshold) or
when I have received many mouse wheel events in a short time window (this
is related to this issue: http://bugs.mitk.org/show_bug.cgi?id=13948; I've
implemented a vtkCutter specialized for triangular meshes, and I've
parallelized it using OpenMP...the performance is much better, but the
rendering is still not flowing as I would like it to).

I have been reading MITK's code and experimenting a lot, trying at least to
traverse two slices every time the mouse wheel is moved (even forgetting
about calculating the wheel speed). The only place I've found I can do this
is on DisplayInteractor::ScrollOneUp/Down. How complex do you think is
would be to create a "ScrollNUp/Down" to be able to jump N slices and call
it the mouse wheel delta is large or when we are receiving many mouse wheel
events?

I would really appreciate any hint.

Thanks in advance,

Federico
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to