GUI for TM wavelet

This commit is contained in:
Desmis
2020-03-22 10:37:21 +01:00
parent d63fb77c8c
commit 1f4613cd3b
13 changed files with 248 additions and 10 deletions

View File

@@ -627,6 +627,30 @@ public:
}
};
class WavtmCurve
{
private:
LUTf luttmCurve; // 0xffff range
void Set(const Curve &pCurve);
public:
virtual ~WavtmCurve() {};
WavtmCurve();
void Reset();
// void Set(const std::vector<double> &curvePoints, bool &opautili);
void Set(const std::vector<double> &curvePoints);
float operator[](float index) const
{
return luttmCurve[index];
}
operator bool (void) const
{
return luttmCurve;
}
};
class WavOpacityCurveRG
{
private: