Ansel 0.0
A darktable fork - bloat + design vision
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HashTablePermutohedral< KD, VD >::Value Struct Reference

#include <Permutohedral.h>

+ Collaboration diagram for HashTablePermutohedral< KD, VD >::Value:

Public Member Functions

 Value ()=default
 
 Value (int init)
 
 Value (const Value &)=default
 
Valueoperator= (const Value &)=default
 
void setValue (int idx, short val)
 
void addValue (int idx, short val)
 
void add (const Value &other)
 
void add (const float *other, float weight)
 
void addTo (float *dest, float weight) const
 
void mix (const Value *left, const Value *center, const Value *right)
 
Valueoperator+= (const Value &other)
 

Static Public Member Functions

static void clear (float *val)
 

Data Fields

float value [VD] {}
 

Constructor & Destructor Documentation

◆ Value() [1/3]

template<int KD, int VD>
HashTablePermutohedral< KD, VD >::Value::Value ( )
default

◆ Value() [2/3]

template<int KD, int VD>
HashTablePermutohedral< KD, VD >::Value::Value ( int  init)
inline

◆ Value() [3/3]

template<int KD, int VD>
HashTablePermutohedral< KD, VD >::Value::Value ( const Value )
default

Member Function Documentation

◆ add() [1/2]

template<int KD, int VD>
void HashTablePermutohedral< KD, VD >::Value::add ( const float *  other,
float  weight 
)
inline

◆ add() [2/2]

template<int KD, int VD>
void HashTablePermutohedral< KD, VD >::Value::add ( const Value other)
inline

◆ addTo()

template<int KD, int VD>
void HashTablePermutohedral< KD, VD >::Value::addTo ( float *  dest,
float  weight 
) const
inline

◆ addValue()

template<int KD, int VD>
void HashTablePermutohedral< KD, VD >::Value::addValue ( int  idx,
short  val 
)
inline

◆ clear()

template<int KD, int VD>
static void HashTablePermutohedral< KD, VD >::Value::clear ( float *  val)
inlinestatic

◆ mix()

template<int KD, int VD>
void HashTablePermutohedral< KD, VD >::Value::mix ( const Value left,
const Value center,
const Value right 
)
inline

◆ operator+=()

template<int KD, int VD>
Value & HashTablePermutohedral< KD, VD >::Value::operator+= ( const Value other)
inline

◆ operator=()

template<int KD, int VD>
Value & HashTablePermutohedral< KD, VD >::Value::operator= ( const Value )
default

◆ setValue()

template<int KD, int VD>
void HashTablePermutohedral< KD, VD >::Value::setValue ( int  idx,
short  val 
)
inline

Field Documentation

◆ value


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