(graphics): add a material transparency editor
Description
At this point in Sight, to edit the transparency of a sight::data::Material
we use SOrganMaterialEditor
, a service that takes an object sight::data::Reconstruction
and modifies it as needed. As you can guess, there is a need to convert a Material object into a Reconstruction object via another service.
To ease that, we offer to create an editor that takes a sight::data::Material as input and allows the edition of its opacity/transparency.
Proposal
Create a service SMaterialOpacityEditor
, that takes a sight::data::Material
as input and allows to modify its opacity with a qt slider.