Skip to content

Comments

Renderer tools#363

Merged
R0drigoSchwartz merged 7 commits intodevfrom
renderer_tools
Feb 4, 2026
Merged

Renderer tools#363
R0drigoSchwartz merged 7 commits intodevfrom
renderer_tools

Conversation

@R0drigoSchwartz
Copy link
Collaborator

This PR contains the implementation of the renderer tools, which allows the user to manipulate the renderer, such as selecting, rotating, zooming and grabbing. To accomplish these functionalities, we currently have a set of four tools:

  • Selection tool: used to select surfaces, volumes, nodes, points...
    The selection tool is only available in the geometry and mesh renderers, not in the results renderer.

  • Grab tool: used to move the renderer camera.
    The grab tool is available for all renderers.

  • Rotation tool: used to rotate the renderer camera.
    The rotation tool is available for all renderers.

  • Zoom tool: used to zoom the renderer camera.
    The zoom tool is available for all renderers.

Now, an user who doesn't have a mouse can manipulate the renderer, by switching between tools using his touchpad.

The implementation of this feature was made implementing the RenderTool class. Now, if we want to create new tools, we just need to specializes this class, override the methods of the ArcballCameraInteractorStyle and implement the logic of the tool.

Copy link
Collaborator

@JacsonGilVargas JacsonGilVargas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I conducted some tests using the render manipulation tools, and everything worked fine. A minor suggestion, I think we could disable the "Selection" icon on the results render instead of hiding it. Excellent, @R0drigoSchwartz.

@R0drigoSchwartz R0drigoSchwartz merged commit bf192c0 into dev Feb 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add controls to interact with the renders

3 participants