class CCL::InterpolatorCurve
Overview
Wrapper for Core::Interpolator. More…
#include <params.h> class InterpolatorCurve: public CCL::ParamCurve { public: // methods float getMinRange () const; float getMaxRange () const; float getMidRange () const; void setRange (float minRange, float maxRange, float midRange = 1.f); virtual double CCL_API displayToNormalized (double displayValue) const; virtual double CCL_API normalizedToDisplay (double normalized) const; virtual double CCL_API getRelativeValue ( double startValue, double endValue, double linearValue ) const; virtual CStringPtr CCL_API getFactoryName () const; };
Inherited Members
public: // typedefs typedef CStringRef MemberID; // fields double endValue; double double linearValue const override; IParamCurve; // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0; Unknown& operator = (const Unknown&); unsigned int getRetainCount () const; virtual Object*CCL_API revealObject (const void* moduleAddress) = 0; virtual void CCL_API addObserver (IObserver* observer) = 0; virtual void CCL_API removeObserver (IObserver* observer) = 0; virtual void CCL_API signal (MessageRef msg) = 0; virtual void CCL_API deferSignal (IMessage* msg) = 0; static ISubject void addObserver (IUnknown* unknown, IObserver* observer); static void removeObserver (IUnknown* unknown, IObserver* observer); virtual void CCL_API notify (ISubject* subject, MessageRef msg) = 0; static IObserver void notify ( IUnknown* unknown, ISubject* subject, MessageRef msg ); virtual const ITypeInfo&CCL_API getTypeInfo () const = 0; virtual tbool CCL_API getProperty (Variant& var, MemberID propertyId) const = 0; virtual tbool CCL_API setProperty (MemberID propertyId, const Variant& var) = 0; virtual tbool CCL_API getPropertyNames (IPropertyCollector& collector) const = 0; virtual tbool CCL_API invokeMethod (Variant& returnValue, MessageRef msg) = 0; DECLARE_BASE_CLASS (Object); virtual void CCL_API removeObserver (IObserver* observer); virtual void CCL_API signal (MessageRef msg); virtual void CCL_API deferSignal (IMessage* msg); virtual void deferChanged (); virtual void CCL_API notify (ISubject* subject, MessageRef msg); virtual bool equals (const Object& obj) const; virtual int compare (const Object& obj) const; virtual bool load (const Storage& storage); virtual bool save (const Storage& storage) const; virtual bool save (const OutputStorage& storage) const; virtual bool toString (String& string, int flags = 0) const; virtual int getHashCode (int size) const; IUnknown* asUnknown (); static void addGarbageCollected (Object* obj, bool globalScope = true); static void deferDestruction (Object* obj); static const void* getModuleAddress (); virtual double CCL_API displayToNormalized (double displayValue) const = 0; virtual double CCL_API normalizedToDisplay (double normalized) const = 0; virtual double CCL_API getRelativeValue ( double startValue, double endValue, double linearValue ) const = 0; virtual CStringPtr CCL_API getFactoryName () const = 0; DECLARE_CLASS_ABSTRACT (ParamCurve, Object); virtual CStringPtr CCL_API getFactoryName () const;
Detailed Documentation
Wrapper for Core::Interpolator.
Methods
virtual double CCL_API displayToNormalized (double displayValue) const
Get value modified by parameter curve (non-linear), i.e.
from display domain to internal.
virtual double CCL_API normalizedToDisplay (double normalized) const
Get inverse value from parameter curve (linear), i.e.
to display domain.
virtual double CCL_API getRelativeValue ( double startValue, double endValue, double linearValue ) const
Calculate value for relative parameter editing (in/out values are linear).
virtual CStringPtr CCL_API getFactoryName () const
Get name of factory which created this instance.