Page MenuHomePhabricator

Allow setting point size for surface rendering
Closed, ResolvedPublic

Description

As requested on our mailing list and despite that a way too long missing feature of our surface mapper is to allow setting the point size for rendering. We already have a property for the line width. Implementing this feature is trivial and it wont affect existing behavior. It's done with a very few lines of code which can be C&Ped from our line width code anyways.

In addition to the already existing line width property I would just introduce a matching property for the point size, i.e.:

material.wireframeLineWidth
material.pointSize

Which just affects a vtkProperty->SetPointSize() call. Range checking is done by OpenGL so we don't have to worry about that (just like the line width property).

Event Timeline

User kislinsk has pushed new remote branch:

bug-18850-SurfaceMapperPointSize

[abb34d]: Merge branch 'bug-18850-SurfaceMapperPointSize'

Merged commits:

2015-03-13 13:17:23 Stefan Kislinskiy [6f04a3]
Implemented point size feature for surface mapper.