42 #ifndef ACG_COLORCONVERSION_HH 43 #define ACG_COLORCONVERSION_HH 46 #include <ACG/Math/VectorT.hh> 50 inline Vec4f to_Vec4f(
const QColor &_color){
51 return Vec4f(_color.redF(),
57 inline Vec4d to_Vec4d(
const QColor &_color){
58 return Vec4d(_color.redF(),
64 inline QColor to_QColor(
const Vec4d &c) {
65 return QColor::fromRgbF(c[0], c[1], c[2], c[3]);
71 #endif // COLORCONVERSION_HH Namespace providing different geometric functions concerning angles.
VectorT< float, 4 > Vec4f
VectorT< double, 4 > Vec4d