Page MenuHomePhabricator

Rendering of SmoothROIs is too slow
Closed, ResolvedPublic

Description

SmoothROIs have many points that need to be rendered and thus, the rendering performance is quite slow.

The PlanarFigureMapper should be tuned to be able to cope with the larger number of rendered points.

Event Timeline

New remote branch pushed: bug-14571-faster-planarfigure-rendering-rebased

This bug could not be fixed for release 2013-06. Setting target milestone to next release

New remote branch pushed: bug-14571-faster-planarfigure-rendering-rebased-v2

I have improved the OpenGL handling of the PlanarFigureInteractor to make it faster.

Futhermore I have added an observer on the corresponding DataNode to set a boolFlag m_NodeModified that defines whether or not the properties of the datanode have changed since the last rendering.

If the node has not been modified, there is no need to execute the method InitializePlanarFigurePropertiesFromDataNode(). This method checks various properties of the datanode which is expensive when done this often.

[d3fb60]: Merge branch 'bug-14571-faster-planarfigure-rendering-rebased-v2'

Merged commits:

2013-07-05 15:54:17 Markus Engel [67f1c4]
improved performance of PlanarFigureMapper


2013-02-25 17:11:49 Markus Engel [5da06c]
restructed PlanarFigureMapper to be more efficient in GL handling