This class implements a simple history for previous pixel transitions (a sliding window of pixel tran...
Definition TransitionHistory.h:30
int history1()
Returns the history with window size 1.
int history3()
Returns the history with window size 3.
void push(const int newDelta)
Adds a new delta object as most recent history.
void reset()
Resets the history object.
int history2()
Returns the history with window size 2.
TransitionHistory()=default
Creates a new history object.