enh(ui): add default TF management in TransferFunctionWidget
Description
Changes the TransferFunctionWidgetCfg and TransferFunctionWindowsCfg config id to fetch new standards (sight::config::viz::scene2d::TransferFunctionWidgetCfg)
Add two optional parameters to allow loading pre-registered tf through the path attribute of STransferFunction. Add support to empty path (default value in the config) in the STransferFunction service.
Closes #1065 (closed)
How to test it?
modify the sightviewer plugin.xml
change the TFManagerCfg service, and add
<parameter replace="USE_DEFAULT_TF" by="false" />
<parameter replace="ADDITIONAL_TF_PATH" by="PATH_FOLDER_WITh_TFs" />
verify that the tf proposed doesn't have the default one, and that your specific tfs are present.
Remove the two parameters and verify that the classical behaviour is back.