fw4spl
fwDataTools::Color Class Reference

This class contains helper to manipulate colors. More...

#include <Color.hpp>

Static Public Member Functions

static FWDATATOOLS_API void hexaStringToRGBA (const std::string &_hexaColor, std::uint8_t _rgba[4])
 Convert a color coded as an hexadecimal string into an array of four bytes (RGBA) More...
 

Detailed Description

This class contains helper to manipulate colors.

Definition at line 22 of file ools/include/fwDataTools/Color.hpp.

Member Function Documentation

void fwDataTools::Color::hexaStringToRGBA ( const std::string &  _hexaColor,
std::uint8_t  _rgba[4] 
)
static

Convert a color coded as an hexadecimal string into an array of four bytes (RGBA)

Parameters
_hexaColor[in]Color string that start with '#' and followed by 6 ou 8 hexadecimal digits (ex: #FF81EC)
_rgba[out]RGBA values

Definition at line 19 of file ools/src/fwDataTools/Color.cpp.

Referenced by guiQt::editor::SParameters::stopping(), and fwRenderQt::SRender::stopping().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: