MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::TransformationKey Struct Reference

Multi-dimensional transformation key specification for complex transformations. More...

#include <UniversalTransformer.hpp>

+ Collaboration diagram for MayaFlux::Yantra::TransformationKey:

Public Member Functions

 TransformationKey (std::string n, std::function< double(const std::any &)> e)
 Constructs a TransformationKey with name and extractor.
 

Public Attributes

std::string name
 Unique identifier for this transformation key.
 
std::function< double(const std::any &)> parameter_extractor
 Extract parameter value from data.
 
uint32_t channel = 0
 Which channel to extract for.
 
std::optional< char > axis = std::nullopt
 Which axis (if spatial processing)
 
double intensity = 1.0
 Transformation intensity/amount.
 
double weight = 1.0
 Weight for multi-key transformations.
 
bool normalize = false
 Normalize parameters before transformation.
 

Detailed Description

Multi-dimensional transformation key specification for complex transformations.

Definition at line 138 of file UniversalTransformer.hpp.


The documentation for this struct was generated from the following file: