Lumitronix_Iflex_Pro_Workshop
Library to interact with the iFlexPro
NeoMosaic< T_LAYOUT > Class Template Reference

#include <NeoMosaic.h>

Public Member Functions

 NeoMosaic (uint16_t topoWidth, uint16_t topoHeight, uint16_t mosaicWidth, uint16_t mosaicHeight)
 
uint16_t Map (int16_t x, int16_t y) const
 
uint16_t MapProbe (int16_t x, int16_t y) const
 
NeoTopologyHint TopologyHint (int16_t x, int16_t y) const
 
uint16_t getWidth () const
 
uint16_t getHeight () const
 

Constructor & Destructor Documentation

◆ NeoMosaic()

template<typename T_LAYOUT >
NeoMosaic< T_LAYOUT >::NeoMosaic ( uint16_t  topoWidth,
uint16_t  topoHeight,
uint16_t  mosaicWidth,
uint16_t  mosaicHeight 
)
inline

Member Function Documentation

◆ getHeight()

template<typename T_LAYOUT >
uint16_t NeoMosaic< T_LAYOUT >::getHeight ( ) const
inline

◆ getWidth()

template<typename T_LAYOUT >
uint16_t NeoMosaic< T_LAYOUT >::getWidth ( ) const
inline

◆ Map()

template<typename T_LAYOUT >
uint16_t NeoMosaic< T_LAYOUT >::Map ( int16_t  x,
int16_t  y 
) const
inline

◆ MapProbe()

template<typename T_LAYOUT >
uint16_t NeoMosaic< T_LAYOUT >::MapProbe ( int16_t  x,
int16_t  y 
) const
inline

◆ TopologyHint()

template<typename T_LAYOUT >
NeoTopologyHint NeoMosaic< T_LAYOUT >::TopologyHint ( int16_t  x,
int16_t  y 
) const
inline