A collection of classes for working with openFrameworks app parameters.
ofxPreset::Parameter
is an extension ofofParameter
with access to a value reference, making it easier to use in GUI systems like ofxImGui and ofxCvGuiofxPreset::Serializer
contains helper methods for serializing/deserializing different objects to JSON. This currently includesofParameter
(andofParameterGroup
), andofNode
. It uses the nlohmann::json library that ships with OF.ofxPreset::Gui
contains helper methods for addingofxPreset::Parameter
objects to ImGui. Using this class requires that ofxImGui be added to your project.
A lot of the concepts here (and some of the code) come from ofxRulr, but have been adapted to require less external dependencies and to use ofxImGui instead of ofxCvGui (sorry Elliot!).