Page MenuHomePhabricator

Allow fixed-size point set markers in VTK mapper
Closed, ResolvedPublic

Description

The visualization of point sets in PointSetVtkMapper2D is currently defined in terms of its spatial extent through the renderer-dependent properties "point 2D size" and "Pointset.2D.distance to plane". That means that, when zooming in very far, these markers will become too big to be practical:

image.png (817×1 px, 611 KB)

I propose to add a setting to the PointSetVtkMapper2D class that changes the behavior to a fixed size (in pixels) on the screen through an additional property "Pointset.2D.fixed size on screen".

I've prepared a patch that would add the desired result as a feature while not interfering with current behavior.

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

kislinsk triaged this task as Wishlist priority.Jul 9 2021, 8:25 AM
kislinsk edited projects, added MITK (v2021.10); removed MITK.
kislinsk added a subscriber: kislinsk.

Thanks for the suggestion and patch! 👍

Please follow the instructions given at https://www.mitk.org/wiki/How_to_contribute, so Git attributes the changes to you and we are on the safe side by merging only signed-off commits.

Thanks for your reply!

I've created the pull request on GitHub.

kislinsk added a revision: Restricted Differential Revision.Jul 9 2021, 11:26 AM

Deleted branch from rMITK MITK: feature/T28616-FixedSizeVisualizationForPointSets.