Rendering a pointset with about 5000 points is very slow. Making the GUI nearly unusable.
Description
Event Timeline
TODO:
- Property Observer to switch the rendering modes on demand
- Point selection color
- Labels (are the old ones, maybe not used anymore)
- Rendering lighting artefacts created by vtk
Actual behavior
Rendering a pointset with about 5000 points is very slow. Making the GUI nearly unusable.
Expected behavior
Normal rendering performance should not be affected so much by something trivial like points. It should be possible to render more than 1.000.000 points in realtime without affecting the user experience.
Cause of the bug
The points are rendered with vtk spheres that are incredibly slow.
Proposed solution
Add a property to render the point set as gl points on demand.
Affected classes
mitkPointSetVtkMapper3D.cpp
How will the bugfix get tested?
Manually tested with release checklist.
[cd7eac]: Merge branch 'bug-19225-pointsetrendering'
Merged commits:
2015-08-19 14:55:55 Eric Heim [a9ad2a]
simplified property activation for opengl rendering
2015-08-12 16:59:31 Eric Heim [b39c5d]
added opengl rendering methods for pointsets