Concept for a circular display.
More...
#include <CircularDisplayConcept.h>
|
typedef Vect3d< uint8_t > | color_type |
|
Concept for a circular display.
A class with this signature could be used as a template parameter to any class which display data on a circular indicator
- See Also
- Vect2dCircularDisplay
- Author
- Nicola Pezzotti
void Tinker::CircularDisplayConcept::setBrightness |
( |
uint8_t |
b | ) |
|
|
inline |
Sets brightness of the display.
- Parameters
-
void Tinker::CircularDisplayConcept::setColor |
( |
color_type |
color, |
|
|
bool |
blend = false |
|
) |
| |
|
inline |
Sets color on all circular display.
- Parameters
-
color | color to set |
blend | color with the existing ones |
void Tinker::CircularDisplayConcept::setColor |
( |
uint16_t |
idx, |
|
|
color_type |
color, |
|
|
bool |
blend = false |
|
) |
| |
|
inline |
Sets color for a circular elements.
- Parameters
-
idx | index of circular element |
color | color to set |
blend | color with the existing ones |
void Tinker::CircularDisplayConcept::setColorFp |
( |
float |
rad, |
|
|
color_type |
color, |
|
|
float |
sigma, |
|
|
bool |
blend = false |
|
) |
| |
|
inline |
Sets color on ciruclar display.
Display color with a gaussian distribution
- Parameters
-
rad | mean value in radians of the gaussian distribution |
sigma | of the gaussian distribution |
color | color to set |
blend | color with the existing ones |
The documentation for this class was generated from the following file: