| 324 | } |
| 325 | |
| 326 | Json::Value ColorMap::JsonValue() const |
| 327 | { |
| 328 | Json::Value root = EffectBase::JsonValue(); |
| 329 | root["type"] = info.class_name; |
| 330 | root["lut_path"] = lut_path; |
| 331 | root["intensity"] = intensity.JsonValue(); |
| 332 | root["intensity_r"] = intensity_r.JsonValue(); |
| 333 | root["intensity_g"] = intensity_g.JsonValue(); |
| 334 | root["intensity_b"] = intensity_b.JsonValue(); |
| 335 | return root; |
| 336 | } |
| 337 | |
| 338 | void ColorMap::SetJson(const std::string value) |
| 339 | { |
nothing calls this directly
no outgoing calls
no test coverage detected