Changes

Summary

  1. [Type] RGBAColor: remove inheritance from type::fixed_array and use std::array to store its components (#4263) (details)
Commit 9528dbeb8d6e6b0e09fc5121760945bff1a38a3d by noreply
[Type] RGBAColor: remove inheritance from type::fixed_array and use std::array to store its components (#4263)

* rgbacolor: remove inheritance from fixed_array and use std::array composition

* fix datatype info for rgbacolor

* add deprecation macro and polish

* fix sofacuda

* update tests

* use sofa size

* Apply suggestions from code review (use static field and explicit keyword)

Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>

* fix and fwd fixed_array in rgbacolor header

* Update Sofa/framework/Type/src/sofa/type/config.h.in (change date)

Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>

* use functions from fixed_array_algo

---------

Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
The file was modifiedSofa/framework/DefaultType/src/sofa/defaulttype/typeinfo/TypeInfo_RGBAColor.h (diff)
The file was modifiedSofa/GUI/Qt/src/sofa/gui/qt/QRGBAColorPicker.h (diff)
The file was modifiedSofa/GUI/Qt/src/sofa/gui/qt/QRGBAColorPicker.cpp (diff)
The file was modifiedSofa/framework/Type/src/sofa/type/fixed_array_algorithms.h (diff)
The file was modifiedSofa/framework/Type/test/Color_test.cpp (diff)
The file was modifiedSofa/framework/Type/src/sofa/type/config.h.in (diff)
The file was modifiedSofa/framework/Type/src/sofa/type/RGBAColor.cpp (diff)
The file was modifiedapplications/plugins/SofaCUDA/src/SofaCUDA/component/mass/CudaUniformMass.inl (diff)
The file was modifiedSofa/GUI/Qt/src/sofa/gui/qt/viewer/qgl/QtGLViewer.cpp (diff)
The file was modifiedSofa/GL/src/sofa/gl/Axis.h (diff)
The file was modifiedSofa/GL/src/sofa/gl/DrawToolGL.cpp (diff)
The file was modifiedSofa/GUI/Qt/src/sofa/gui/qt/viewer/qt/QtViewer.cpp (diff)
The file was modifiedSofa/framework/Type/src/sofa/type/RGBAColor.h (diff)
The file was modifiedSofa/GL/src/sofa/gl/Axis.cpp (diff)