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

Detailed Description

Definition at line 71 of file animartrix.hpp.

+ Inheritance diagram for Animartrix:

Public Member Functions

 Animartrix (XYMap xyMap, AnimartrixAnim which_animation)
 
 Animartrix (const Animartrix &)=delete
 
void lazyInit () override
 
void draw (DrawContext context) override
 
int fxNum () const override
 
void fxSet (int fx) override
 
int fxGet () const override
 
const char * fxName (int which) const override
 
void fxNext (int fx=1) override
 
- Public Member Functions inherited from FxGrid
 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 bool hasAlphaChannel () const
 
virtual bool hasFixedFrameRate (float *fps) const
 
virtual void pause ()
 
virtual void resume ()
 
virtual void destroy ()
 
uint16_t getNumLeds () const
 
- Public Member Functions inherited from Referent
virtual int ref_count () const
 

Friends

class FastLEDANIMartRIX
 
void AnimartrixLoop (Animartrix &self, uint32_t now)
 

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 ()
 
- Protected Attributes inherited from FxGrid
XYMap mXyMap
 
- Protected Attributes inherited from Fx
uint16_t mNumLeds
 

Constructor & Destructor Documentation

◆ Animartrix()

Animartrix::Animartrix ( XYMap xyMap,
AnimartrixAnim which_animation )
inline

Definition at line 73 of file animartrix.hpp.

Member Function Documentation

◆ draw()

void Animartrix::draw ( DrawContext context)
overridevirtual
Parameters
nowThe current time in milliseconds. Fx writers are encouraged to use this instead of millis() directly as this will more deterministic behavior.

Implements Fx.

Definition at line 378 of file animartrix.hpp.

◆ fxGet()

int Animartrix::fxGet ( ) const
inlineoverridevirtual

Reimplemented from Fx.

Definition at line 83 of file animartrix.hpp.

◆ fxName()

const char * Animartrix::fxName ( int which) const
inlineoverridevirtual

Implements Fx.

Definition at line 84 of file animartrix.hpp.

◆ fxNext()

void Animartrix::fxNext ( int fx = 1)
inlineoverridevirtual

Reimplemented from Fx.

Definition at line 87 of file animartrix.hpp.

◆ fxNum()

int Animartrix::fxNum ( ) const
inlineoverridevirtual

Reimplemented from Fx.

Definition at line 81 of file animartrix.hpp.

◆ fxSet()

void Animartrix::fxSet ( int fx)
overridevirtual

Reimplemented from Fx.

Definition at line 351 of file animartrix.hpp.

◆ lazyInit()

void Animartrix::lazyInit ( )
inlineoverridevirtual

Reimplemented from Fx.

Definition at line 79 of file animartrix.hpp.

Friends And Related Symbol Documentation

◆ AnimartrixLoop

void AnimartrixLoop ( Animartrix & self,
uint32_t now )
friend

Definition at line 363 of file animartrix.hpp.

◆ FastLEDANIMartRIX

friend class FastLEDANIMartRIX
friend

Definition at line 91 of file animartrix.hpp.


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