ACT-CV - Machine Vision for Cognitive Modeling
|
Ringbuffer for arbritrary types. More...
#include <OpenCVHelpers.h>
Public Member Functions | |
RingBuf () | |
_t & | GetCur () |
_t & | GetPrev () |
void | Add (const _t &x) |
void | IncIndex () |
Protected Attributes | |
_t | data [len] |
int | curIdx |
Ringbuffer for arbritrary types.
not really bound to opencv, might get its own header file soon.
Definition at line 73 of file OpenCVHelpers.h.
Definition at line 78 of file OpenCVHelpers.h.
void RingBuf< _t, len >::Add | ( | const _t & | x) |
Definition at line 85 of file OpenCVHelpers.h.
Referenced by OpticalFlow::AddImage(), OpticalFlow::SetSize(), and OpticalFlow::~OpticalFlow().
_t& RingBuf< _t, len >::GetCur | ( | ) |
Definition at line 79 of file OpenCVHelpers.h.
Referenced by RingBuf< GCPointer< ImageHolder >, 2 >::Add(), and OpticalFlow::Calc().
_t& RingBuf< _t, len >::GetPrev | ( | ) |
Definition at line 82 of file OpenCVHelpers.h.
Referenced by OpticalFlow::Calc(), and OpticalFlow::SelectFeatures().
void RingBuf< _t, len >::IncIndex | ( | ) |
Definition at line 89 of file OpenCVHelpers.h.
Referenced by RingBuf< GCPointer< ImageHolder >, 2 >::Add(), and OpticalFlow::Calc().
|
protected |
Definition at line 76 of file OpenCVHelpers.h.
Referenced by RingBuf< GCPointer< ImageHolder >, 2 >::GetCur(), RingBuf< GCPointer< ImageHolder >, 2 >::GetPrev(), and RingBuf< GCPointer< ImageHolder >, 2 >::IncIndex().
|
protected |
Definition at line 75 of file OpenCVHelpers.h.
Referenced by RingBuf< GCPointer< ImageHolder >, 2 >::GetCur(), and RingBuf< GCPointer< ImageHolder >, 2 >::GetPrev().