FastLED  3.1
CRGBArray< SIZE > Class Template Reference
+ Inheritance diagram for CRGBArray< SIZE >:
+ Collaboration diagram for CRGBArray< SIZE >:

Additional Inherited Members

- Public Types inherited from CPixelView< CRGB >
typedef pixelset_iterator_base< CRGBiterator
 
typedef pixelset_iterator_base< const CRGBconst_iterator
 
- Public Member Functions inherited from CPixelView< CRGB >
 CPixelView (const CPixelView &other)
 PixelSet copy constructor.
 
 CPixelView (CRGB *_leds, int _len)
 pixelset constructor for a pixel set starting at the given PIXEL_TYPE* and going for _len leds. More...
 
 CPixelView (CRGB *_leds, int _start, int _end)
 PixelSet constructor for the given set of leds, with start and end boundaries. More...
 
int size ()
 Get the size of this set. More...
 
bool reversed ()
 Whether or not this set goes backwards. More...
 
bool operator== (const CPixelView &rhs) const
 do these sets point to the same thing (note, this is different from the contents of the set being the same)
 
bool operator!= (const CPixelView &rhs) const
 do these sets point to the different things (note, this is different from the contents of the set being the same)
 
CRGBoperator[] (int x) const
 access a single element in this set, just like an array operator
 
CPixelView operator() (int start, int end)
 Access an inclusive subset of the leds in this set. More...
 
CPixelView operator- ()
 Access an inclusive subset of the leds in this set, starting from the first. More...
 
 operator CRGB * () const
 Return a pointer to the first element in this set.
 
CPixelViewoperator= (const CRGB &color)
 Assign the passed in color to all elements in this set. More...
 
CPixelViewoperator= (const CPixelView &rhs)
 Copy the contents of the passed in set to our set. More...
 
void dump () const
 
 operator bool ()
 Returns whether or not any leds in this set are non-zero.
 
CPixelViewfill_solid (const CRGB &color)
 
CPixelViewfill_solid (const CHSV &color)
 
CPixelViewfill_rainbow (uint8_t initialhue, uint8_t deltahue=5)
 
CPixelViewfill_gradient (const CHSV &startcolor, const CHSV &endcolor, TGradientDirectionCode directionCode=SHORTEST_HUES)
 
CPixelViewfill_gradient (const CHSV &c1, const CHSV &c2, const CHSV &c3, TGradientDirectionCode directionCode=SHORTEST_HUES)
 
CPixelViewfill_gradient (const CHSV &c1, const CHSV &c2, const CHSV &c3, const CHSV &c4, TGradientDirectionCode directionCode=SHORTEST_HUES)
 
CPixelViewfill_gradient_RGB (const CRGB &startcolor, const CRGB &endcolor, TGradientDirectionCode directionCode=SHORTEST_HUES)
 
CPixelViewfill_gradient_RGB (const CRGB &c1, const CRGB &c2, const CRGB &c3)
 
CPixelViewfill_gradient_RGB (const CRGB &c1, const CRGB &c2, const CRGB &c3, const CRGB &c4)
 
CPixelViewnblend (const CRGB &overlay, fract8 amountOfOverlay)
 
CPixelViewnblend (const CPixelView &rhs, fract8 amountOfOverlay)
 
CPixelViewblur1d (fract8 blur_amount)
 
CPixelViewnapplyGamma_video (float gamma)
 
CPixelViewnapplyGamma_video (float gammaR, float gammaG, float gammaB)
 
iterator begin ()
 
iterator begin () const
 
iterator end ()
 
iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
CPixelViewaddToRGB (uint8_t inc)
 Add the passed in value to r,g, b for all the pixels in this set.
 
CPixelViewoperator+= (CPixelView &rhs)
 Add every pixel in the other set to this set.
 
CPixelViewsubFromRGB (uint8_t inc)
 Subtract the passed in value from r,g,b for all pixels in this set.
 
CPixelViewoperator-= (CPixelView &rhs)
 Subtract every pixel in the other set from this set.
 
CPixelViewoperator++ ()
 Increment every pixel value in this set.
 
CPixelViewoperator++ (int DUMMY_ARG)
 Increment every pixel value in this set.
 
CPixelViewoperator-- ()
 Decrement every pixel value in this set.
 
CPixelViewoperator-- (int DUMMY_ARG)
 Decrement every pixel value in this set.
 
CPixelViewoperator/= (uint8_t d)
 Divide every led by the given value.
 
CPixelViewoperator>>= (uint8_t d)
 Shift every led in this set right by the given number of bits.
 
CPixelViewoperator*= (uint8_t d)
 Multiply every led in this set by the given value.
 
CPixelViewnscale8_video (uint8_t scaledown)
 Scale every led by the given scale.
 
CPixelViewoperator%= (uint8_t scaledown)
 Scale down every led by the given scale.
 
CPixelViewfadeLightBy (uint8_t fadefactor)
 Fade every led down by the given scale.
 
CPixelViewnscale8 (uint8_t scaledown)
 Scale every led by the given scale.
 
CPixelViewnscale8 (CRGB &scaledown)
 Scale every led by the given scale.
 
CPixelViewnscale8 (CPixelView &rhs)
 Scale every led in this set by every led in the other set.
 
CPixelViewfadeToBlackBy (uint8_t fade)
 Fade every led down by the given scale.
 
CPixelViewoperator|= (const CRGB &rhs)
 Apply the PIXEL_TYPE |= operator to every pixel in this set with the given PIXEL_TYPE value (bringing each channel to the higher of the two values)
 
CPixelViewoperator|= (const CPixelView &rhs)
 Apply the PIXEL_TYPE |= operator to every pixel in this set with every pixel in the passed in set.
 
CPixelViewoperator|= (uint8_t d)
 Apply the PIXEL_TYPE |= operator to every pixel in this set.
 
CPixelViewoperator&= (const CRGB &rhs)
 Apply the PIXEL_TYPE &= operator to every pixel in this set with the given PIXEL_TYPE value (bringing each channel down to the lower of the two values)
 
CPixelViewoperator&= (const CPixelView &rhs)
 Apply the PIXEL_TYPE &= operator to every pixel in this set with every pixel in the passed in set.
 
CPixelViewoperator&= (uint8_t d)
 APply the PIXEL_TYPE &= operator to every pixel in this set with the passed in value.
 
- Public Attributes inherited from CPixelView< CRGB >
const int8_t dir
 
const int len
 
CRGB *const leds
 
CRGB *const end_pos
 

Detailed Description

template<int SIZE>
class CRGBArray< SIZE >

Definition at line 294 of file pixelset.h.


The documentation for this class was generated from the following file: