feat(viz): add optional name to SAxis adaptor
Description
Add optional name to a SAxis adaptor. The text is attached to the origin sphere of the SAxis, this implies that the origin sphere is always displayed, but it is transparent if origin
is set to false (default value).
Closes #769 (closed)
How to test it?
You can change the xml configuration of SAxis of Tuto15Matrix:
<service uid="axis1Adp" type="sight::module::viz::scene3d::adaptor::SAxis" >
<config layer="default" length="10" transform="transRotMat" label="true" origin="true" originColor="#6997BB" name="A1" />
</service>
<service uid="axis2Adp" type="sight::module::viz::scene3d::adaptor::SAxis" >
<config layer="default" length="10" transform="rotTransMat" label="true" origin="true" originColor="#D25252" name="A2" />
</service>
<service uid="originAxisAdp" type="sight::module::viz::scene3d::adaptor::SAxis" >
<config layer="default" length="10" label="true" origin="true" originColor="#000000" name="origin" />
</service>
Data
(Links to the needed data)