|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
#include "Tendency.hpp"
Include dependency graph for TendencyFactories.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Kinesis |
Enumerations | |
| enum class | MayaFlux::Kinesis::DistanceMetric : uint8_t { MayaFlux::Kinesis::EUCLIDEAN , MayaFlux::Kinesis::EUCLIDEAN_SQUARED , MayaFlux::Kinesis::MANHATTAN , MayaFlux::Kinesis::CHEBYSHEV } |
| Distance computation strategy for spatial queries. More... | |
Functions | |
| template<typename D , typename R > | |
| Tendency< D, R > | MayaFlux::Kinesis::constant (R value) |
| Tendency returning a fixed value regardless of input. | |
| SpatialField | MayaFlux::Kinesis::distance (const glm::vec3 &anchor, float radius, DistanceMetric metric=DistanceMetric::EUCLIDEAN) |
| Normalized distance from an anchor point using the specified metric. | |
| ScalarField | MayaFlux::Kinesis::sigmoid (float k, float midpoint=0.0F) |
| Sigmoid: 1 / (1 + e^(-k * (x - midpoint))) | |
| ScalarField | MayaFlux::Kinesis::smoothstep (float edge0, float edge1) |
| Smoothstep: cubic Hermite interpolation between two edges. | |
| ScalarField | MayaFlux::Kinesis::transfer_curve (const std::vector< float > &coefficients) |
| Transfer curve from polynomial coefficients (highest power first) | |