16 std::shared_ptr<expression::Expression> value;
19 return (lhs.
isUndefined() && rhs.
isUndefined()) || (lhs.value && rhs.value && *(lhs.value) == *(rhs.value));
33 template <
typename Evaluator>
38 return *expression::fromExpressionValue<Color>(*result);
ColorRampPropertyValue(std::shared_ptr< expression::Expression > value_)
Color evaluate(const Evaluator &, TimePoint={}) const
bool hasDataDrivenPropertyDifference(const ColorRampPropertyValue &) const
const expression::Expression & getExpression() const
Color evaluate(double rampEvaluationParameter) const
friend bool operator==(const ColorRampPropertyValue &lhs, const ColorRampPropertyValue &rhs)
bool isDataDriven() const
friend bool operator!=(const ColorRampPropertyValue &lhs, const ColorRampPropertyValue &rhs)
Clock::time_point TimePoint