Skip to content

Add an option to draw axes actor #7

@mwestphal

Description

@mwestphal

Context
F3D is used to show models of different sizes. It can be hard to judge the size of a model when opening it in F3D.
Adding a Grid around it as shown below would help with this evaluation:

image

The idea of this issue is to add a CLI and libf3d options to control the showing of such a grid.

Suggested solution
In vtkF3DRenderer, add a vtkGridAxes3DActor similarly to how the GridActor is added and add the method to control the showing of it. In window_impl::UpdateDynamicOptions() , control the showing of the new actor based on a new option that has to be added in the options.
Finally, in F3DOptionsParser, add a CLI option to control the libf3d options.

CLI Option: --axes-grid
libf3d option: render.axes_grid.enable

No interaction planned to control it as of yet.

Required skill

No required skill, this could be a good-first-issue with a bit more work.

Potentially more info here: https://gitlab.kitware.com/f3d/f3d/-/issues/81

Metadata

Metadata

Assignees

Labels

help wantedPlease help with this issue!

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions