(SVolumeRender): fix usage of transfer functions
What does this MR do?
- Create a new service
uiTF::STransferFunction
instead ofuiTF::TransferFunctionEditor
(it also fix the swapping method and lock data). - Improve the TF usage in
visuOgreAdaptor::SVolumeRender
. - Set the sampling rate at starting of
visuOgreAdaptor::SVolumeRender
. - Fix the
GridProxyGeometry
by avoid uniforms sharing between programs. - Fix the
makeCurrent
method.
How to test it?
Try ogre viewer with an image. The volume rendering must work properly.