FastLED 3.9.14
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pixelset.h File Reference

Detailed Description

Declares classes for managing logical groups of LEDs.

Definition in file pixelset.h.

#include "FastLED.h"
#include "fl/force_inline.h"
#include "fl/unused.h"
#include <stdlib.h>
#include "fl/namespace.h"

Go to the source code of this file.

Classes

class  CPixelView< PIXEL_TYPE >
 Represents a set of LED objects. More...
 
class  CPixelView< PIXEL_TYPE >::pixelset_iterator_base< T >
 Iterator helper class for CPixelView. More...
 
class  CRGBArray< SIZE >
 A version of CPixelView<CRGB> with an included array of CRGB LEDs. More...
 

Macros

#define FUNCTION_FILL_RAINBOW(a, b, c, d)   ::fill_rainbow(a,b,c,d)
 
#define FUNCTION_NAPPLY_GAMMA(a, b, c)   ::napplyGamma_video(a,b,c)
 
#define FUNCTION_NAPPLY_GAMMA_RGB(a, b, c, d, e)   ::napplyGamma_video(a,b,c,d,e)
 
#define FUNCTION_BLUR1D(a, b, c)   ::blur1d(a,b,c)
 
#define FUNCTION_FILL_GRADIENT(a, b, c, d, e)   ::fill_gradient(a,b,c,d,e)
 
#define FUNCTION_FILL_GRADIENT3(a, b, c, d, e, f)   ::fill_gradient(a,b,c,d,e,f)
 
#define FUNCTION_FILL_GRADIENT4(a, b, c, d, e, f, g)   ::fill_gradient(a,b,c,d,e,f,g)
 
#define FUNCTION_NBLEND(a, b, c)   ::nblend(a,b,c)
 
#define FUNCTION_FILL_GRADIENT_RGB(a, b, c, d)   ::fill_gradient_RGB(a,b,c,d)
 
#define FUNCTION_FILL_GRADIENT_RGB3(a, b, c, d, e)   ::fill_gradient_RGB(a,b,c,d,e)
 
#define FUNCTION_FILL_GRADIENT_RGB4(a, b, c, d, e, f)   ::fill_gradient_RGB(a,b,c,d,e,f)
 

Typedefs

typedef CPixelView< CRGBCRGBSet
 CPixelView for CRGB arrays.
 

Functions

FASTLED_FORCE_INLINE CRGBoperator+ (const CRGBSet &pixels, int offset)
 Retrieve a pointer to a CRGB array, using a CRGBSet and an LED offset.
 

Macro Definition Documentation

◆ FUNCTION_BLUR1D

#define FUNCTION_BLUR1D ( a,
b,
c )   ::blur1d(a,b,c)

Definition at line 23 of file pixelset.h.

◆ FUNCTION_FILL_GRADIENT

#define FUNCTION_FILL_GRADIENT ( a,
b,
c,
d,
e )   ::fill_gradient(a,b,c,d,e)

Definition at line 24 of file pixelset.h.

◆ FUNCTION_FILL_GRADIENT3

#define FUNCTION_FILL_GRADIENT3 ( a,
b,
c,
d,
e,
f )   ::fill_gradient(a,b,c,d,e,f)

Definition at line 25 of file pixelset.h.

◆ FUNCTION_FILL_GRADIENT4

#define FUNCTION_FILL_GRADIENT4 ( a,
b,
c,
d,
e,
f,
g )   ::fill_gradient(a,b,c,d,e,f,g)

Definition at line 26 of file pixelset.h.

◆ FUNCTION_FILL_GRADIENT_RGB

#define FUNCTION_FILL_GRADIENT_RGB ( a,
b,
c,
d )   ::fill_gradient_RGB(a,b,c,d)

Definition at line 28 of file pixelset.h.

◆ FUNCTION_FILL_GRADIENT_RGB3

#define FUNCTION_FILL_GRADIENT_RGB3 ( a,
b,
c,
d,
e )   ::fill_gradient_RGB(a,b,c,d,e)

Definition at line 29 of file pixelset.h.

◆ FUNCTION_FILL_GRADIENT_RGB4

#define FUNCTION_FILL_GRADIENT_RGB4 ( a,
b,
c,
d,
e,
f )   ::fill_gradient_RGB(a,b,c,d,e,f)

Definition at line 30 of file pixelset.h.

◆ FUNCTION_FILL_RAINBOW

#define FUNCTION_FILL_RAINBOW ( a,
b,
c,
d )   ::fill_rainbow(a,b,c,d)

Definition at line 20 of file pixelset.h.

◆ FUNCTION_NAPPLY_GAMMA

#define FUNCTION_NAPPLY_GAMMA ( a,
b,
c )   ::napplyGamma_video(a,b,c)

Definition at line 21 of file pixelset.h.

◆ FUNCTION_NAPPLY_GAMMA_RGB

#define FUNCTION_NAPPLY_GAMMA_RGB ( a,
b,
c,
d,
e )   ::napplyGamma_video(a,b,c,d,e)

Definition at line 22 of file pixelset.h.

◆ FUNCTION_NBLEND

#define FUNCTION_NBLEND ( a,
b,
c )   ::nblend(a,b,c)

Definition at line 27 of file pixelset.h.

Typedef Documentation

◆ CRGBSet

CPixelView for CRGB arrays.

Definition at line 46 of file pixelset.h.