51 std::size_t
size()
const {
return _lut.size(); }
57 std::tuple<double, Color, std::string>
const&
operator[](std::size_t i)
const
59 assert (i <
_lut.size());
64 std::vector< std::tuple<double, Color, std::string> >
_lut;
Definition of the Color class.
void setColor(double id, DataHolderLib::Color const &color)
DataHolderLib::LUTType getInterpolationType() const
std::pair< double, double > getTableRange() const
void setInterpolationType(LUTType type)
void setTableRange(double min, double max)
std::tuple< double, Color, std::string > const & operator[](std::size_t i) const
std::vector< std::tuple< double, Color, std::string > > _lut
std::pair< double, double > _range
LUTType
Interpolation methods.
std::array< unsigned char, 4 > Color