FastLED 3.9.3
Loading...
Searching...
No Matches
FxGrid Class Reference

Detailed Description

Definition at line 16 of file fx2d.h.

+ Inheritance diagram for FxGrid:

Public Member Functions

 FxGrid (const XYMap &xyMap)
 
uint16_t xyMap (uint16_t x, uint16_t y) const
 
uint16_t getHeight () const
 
uint16_t getWidth () const
 
void setXYMap (const XYMap &xyMap)
 
XYMapgetXYMap ()
 
const XYMapgetXYMap () const
 
- Public Member Functions inherited from Fx
 Fx (uint16_t numLeds)
 
virtual void draw (DrawContext context)=0
 
virtual bool hasAlphaChannel () const
 
virtual bool hasFixedFrameRate (float *fps) const
 
virtual const char * fxName (int which=-1) const =0
 
virtual int fxNum () const
 
virtual void fxSet (int fx)
 
virtual void fxNext (int fx=1)
 
virtual int fxGet () const
 
virtual void pause ()
 
virtual void resume ()
 
virtual void destroy ()
 
virtual void lazyInit ()
 
uint16_t getNumLeds () const
 
- Public Member Functions inherited from Referent
virtual int ref_count () const
 

Protected Attributes

XYMap mXyMap
 
- Protected Attributes inherited from Fx
uint16_t mNumLeds
 

Additional Inherited Members

- Public Types inherited from Fx
using DrawContext = _DrawContext
 
- Protected Member Functions inherited from Referent
 Referent (const Referent &)
 
Referentoperator= (const Referent &)
 
 Referent (Referent &&)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 

Constructor & Destructor Documentation

◆ FxGrid()

FxGrid::FxGrid ( const XYMap & xyMap)
inline

Definition at line 19 of file fx2d.h.

Member Function Documentation

◆ getHeight()

uint16_t FxGrid::getHeight ( ) const
inline

Definition at line 23 of file fx2d.h.

◆ getWidth()

uint16_t FxGrid::getWidth ( ) const
inline

Definition at line 24 of file fx2d.h.

◆ getXYMap() [1/2]

XYMap & FxGrid::getXYMap ( )
inline

Definition at line 26 of file fx2d.h.

◆ getXYMap() [2/2]

const XYMap & FxGrid::getXYMap ( ) const
inline

Definition at line 27 of file fx2d.h.

◆ setXYMap()

void FxGrid::setXYMap ( const XYMap & xyMap)
inline

Definition at line 25 of file fx2d.h.

◆ xyMap()

uint16_t FxGrid::xyMap ( uint16_t x,
uint16_t y ) const
inline

Definition at line 20 of file fx2d.h.

Member Data Documentation

◆ mXyMap

XYMap FxGrid::mXyMap
protected

Definition at line 29 of file fx2d.h.


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