fury-gl/fury

Cylinder actor needs to use repeat_primitives by default

Open

#531 opened on Jan 21, 2022

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (253 forks)auto 404
good first issuetype:Enhancement

Repository metrics

Stars
 (301 stars)
PR merge metrics
 (PR metrics pending)

Description

This will allow the cylinder to have the same behavior when picking vertices or edges as with other primitives.

However, we should also keep repeat_sources as a secondary option just in case we need to use some of the other VTK filters.

See an example of box actor (using repeat_primitives) here https://github.com/fury-gl/fury/blob/master/fury/actor.py#L1696

See the current implementation of cylinder here https://github.com/fury-gl/fury/blob/master/fury/actor.py#L1564

Contributor guide