MCPcopy Create free account
hub / github.com/Kitware/TeleSculptor / LogarithmicScaleAlgorithm

Class LogarithmicScaleAlgorithm

gui/MatchMatrixAlgorithms.h:95–105  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

93
94//-----------------------------------------------------------------------------
95class LogarithmicScaleAlgorithm : public AbstractScaleAlgorithm
96{
97public:
98 LogarithmicScaleAlgorithm(double maxRawValue, double rangeScale = 1.0);
99
100 double operator()(double rawValue) const override;
101
102protected:
103 double const preScale;
104 double const postScale;
105};
106
107//-----------------------------------------------------------------------------
108class ExponentialScaleAlgorithm : public AbstractScaleAlgorithm

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected