This GitLab instance reached the end of its service life. It won't be possible to create new users or projects.

Please read the deprecation notice for more information concerning the deprecation timeline

Visit migration.git.tu-berlin.de (internal network only) to import your old projects to the new GitLab platform 📥

tangentshaper.h 335 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#ifndef TANGENTSHAPER_H
#define TANGENTSHAPER_H

#include <math.h>
#include <algorithm>

#include "transferfunction.h"
#include "tangentshaper.h"

class TangentShaper: public TransferFunction
{
public:
    TangentShaper();

    void set(double s);

    double map(double in);

private:
    double scaler;
};

#endif // TANGENTSHAPER_H