Definition at line 29 of file screenmap.h.
|
static ScreenMap | Circle (int numLeds, float cm_between_leds=1.5f, float cm_led_diameter=0.5f) |
|
static void | ParseJson (const char *jsonStrScreenMap, FixedMap< Str, ScreenMap, 16 > *segmentMaps) |
|
static void | toJsonStr (const FixedMap< Str, ScreenMap, 16 > &, Str *jsonBuffer) |
|
static void | toJson (const FixedMap< Str, ScreenMap, 16 > &, FLArduinoJson::JsonDocument *doc) |
|
◆ ScreenMap() [1/4]
ScreenMap::ScreenMap |
( |
uint32_t | length, |
|
|
float | mDiameter = -1.0f ) |
|
inline |
◆ ScreenMap() [2/4]
ScreenMap::ScreenMap |
( |
const pair_xy_float * | lut, |
|
|
uint32_t | length, |
|
|
float | diameter = -1.0 ) |
|
inline |
◆ ScreenMap() [3/4]
template<uint32_t N>
ScreenMap::ScreenMap |
( |
const pair_xy_float(&) | lut[N], |
|
|
float | diameter = -1.0 ) |
|
inline |
◆ ScreenMap() [4/4]
ScreenMap::ScreenMap |
( |
const ScreenMap & | other | ) |
|
|
inline |
◆ Circle()
ScreenMap ScreenMap::Circle |
( |
int | numLeds, |
|
|
float | cm_between_leds = 1.5f, |
|
|
float | cm_led_diameter = 0.5f ) |
|
static |
◆ getDiameter()
float ScreenMap::getDiameter |
( |
| ) |
const |
|
inline |
◆ getLength()
uint32_t ScreenMap::getLength |
( |
| ) |
const |
|
inline |
◆ mapToIndex()
◆ operator=()
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ ParseJson()
void ScreenMap::ParseJson |
( |
const char * | jsonStrScreenMap, |
|
|
FixedMap< Str, ScreenMap, 16 > * | segmentMaps ) |
|
static |
◆ set()
◆ setDiameter()
void ScreenMap::setDiameter |
( |
float | diameter | ) |
|
|
inline |
◆ toJson()
void ScreenMap::toJson |
( |
const FixedMap< Str, ScreenMap, 16 > & | segmentMaps, |
|
|
FLArduinoJson::JsonDocument * | doc ) |
|
static |
◆ toJsonStr()
The documentation for this class was generated from the following files: