Loading...
Searching...
No Matches
CaptureControlTree.hpp
Go to the documentation of this file.
The corrections a capture node applies on its way out of the sensor.
Turn a list of control descriptions into device-tree nodes.
void set(const CaptureAdjust &v)
Writer side. Any thread.
Definition CaptureAdjust.hpp:83
std::vector< ossia::net::parameter_base * > addControlGroup(ossia::net::device_base &dev, ossia::net::node_base &parent, const std::string &group, const std::vector< TreeControl > &controls)
Creates <parent>/<group>/<name> for each control.
Definition ControlTree.hpp:56
One settable thing, described independently of where it came from.
Definition ControlTree.hpp:35
std::string name
tree-safe; becomes the address component
Definition ControlTree.hpp:36
std::string description
shown in the explorer
Definition ControlTree.hpp:37
std::function< void(const ossia::value &)> onSet
Definition ControlTree.hpp:46
Sensor-side corrections, in the order the shader applies them.
Definition CaptureAdjust.hpp:39
float saturation
0 collapses to luma, 1 leaves it alone.
Definition CaptureAdjust.hpp:57
float exposure
Linear multiplier, after white balance.
Definition CaptureAdjust.hpp:50