Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
HashTablePermutohedral< KD, VD >::Key Struct Reference

#include <Permutohedral.h>

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

Public Member Functions

 Key ()=default
 
 Key (const Key &origin, int dim, int direction)
 
 Key (const Key &)=default
 
Keyoperator= (const Key &)=default
 
void setKey (int idx, short val)
 
void setHash ()
 
bool operator== (const Key &other) const
 

Data Fields

unsigned hash { 0 }
 
short key [KD] {}
 

Constructor & Destructor Documentation

◆ Key() [1/3]

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

◆ Key() [2/3]

template<int KD, int VD>
HashTablePermutohedral< KD, VD >::Key::Key ( const Key origin,
int  dim,
int  direction 
)
inline

◆ Key() [3/3]

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

Member Function Documentation

◆ operator=()

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

◆ operator==()

template<int KD, int VD>
bool HashTablePermutohedral< KD, VD >::Key::operator== ( const Key other) const
inline

◆ setHash()

◆ setKey()

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

Field Documentation

◆ hash

◆ key


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