Public Member Functions | |
virtual bool | provideValuesEnabled (const ArrayKnobI *arrayKnob, const OutputContext &oc) const =0 |
virtual std::vector< double > | provideValues (const ArrayKnobI *arrayKnob, const OutputContext &oc) const =0 |
Interface to provide facility for 'output knobs', whose values are not stored in the backend, but synthesised on demand from other values. To create an output knob, implement this interface, create an Array_Knob and call ->setValueProvider() on it pointing at your implementation of the interface.
|
pure virtual |
This function should return true if the knob is presently an output knob. This allows this functionality to be toggled on/off without (with a bool knob for example) without having to call ->setValueProvider() after the initial setup.
|
pure virtual |
This function should return the values to be displayed in the output knob. The vector must match the array_size() of the Array_Knob.
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |