Skip to content

(ui): allow to manage opacity of the TF in TF editors

Description

Allow to manage a whole TF opacity at the same time from the TF editor.

Closes #577 (closed)

How to test it?

  • Launch OgreViewer.
  • Load an image.
  • Open the TF editor.
  • Use the mouse wheel on a subTF, the opacity must changed.

You should try every action that are possible and combine it with the opacity action to verify there compatibility.

  • Left mouse click: selects a new current TF or move the current clicked TF point.
  • Left mouse double click: adds a new TF point to the current TF or open a color dialog to change the current clicked TF point.
  • Middle mouse click: adjusts the transfer function window/level by movingt he mouse left/right and up/down respectively.
  • Right mouse click: remove the current clicked TF point or open a context menu to manage multiple actions which are 'delete', 'add ramp', 'clamp' or 'linear'.
Edited by Romain MANCIAUX

Merge request reports