FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Grid< T > Class Template Reference

Detailed Description

template<typename T>
class fl::Grid< T >

Definition at line 9 of file grid.h.

#include <grid.h>

+ Inheritance diagram for fl::Grid< T >:

Public Member Functions

 Grid ()=default
 
 Grid (uint32_t width, uint32_t height)
 
T & at (uint32_t x, uint32_t y)
 
const T & at (uint32_t x, uint32_t y) const
 
void clear ()
 
uint32_t height () const
 
vec2< T > minMax () const
 
T & operator() (uint32_t x, uint32_t y)
 
const T & operator() (uint32_t x, uint32_t y) const
 
void reset (uint32_t width, uint32_t height)
 
uint32_t width () const
 

Private Member Functions

T & access (uint32_t x, uint32_t y)
 
const T & access (uint32_t x, uint32_t y) const
 

Static Private Member Functions

static T & NullValue ()
 

Private Attributes

fl::vector< T > mData
 
uint32_t mHeight = 0
 
fl::MatrixSlice< T > mSlice
 
uint32_t mWidth = 0
 

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