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