![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusion/Base/TrackingSequence.h>
Iterator class for iteration over tracking sequence data, for instance in for-each loops. More...
Iterator class for iteration over tracking sequence data, for instance in for-each loops.
Returns a tuple on dereferencing, which is implicitly convertible in a mat4, which allows doing something like this:
Otherwise, you have full access to the tuple:
Public Member Functions | |
| TrackingSequenceIterator (const TrackingSequence *ts, int pos) | |
| Constructor. | |
| Public Member Functions inherited from ImFusion::Utils::LinearIterator< TrackingTuple > | |
| LinearIterator (int pos, std::function< TrackingTuple(int)> func) | |
| int | index () const |
| LinIt & | operator= (const LinIt &)=default |
| TrackingTuple | operator* () const |
| LinIt & | operator++ () |
| LinIt & | operator-- () |
| LinIt & | operator+= (int rhs) |
| LinIt & | operator-= (int rhs) |
| LinIt | operator+ (const LinIt &rhs) |
| std::ptrdiff_t | operator- (const LinIt &rhs) |
| bool | operator== (const LinIt &rhs) |
| bool | operator!= (const LinIt &rhs) |
Additional Inherited Members | |
| Public Types inherited from ImFusion::Utils::LinearIterator< TrackingTuple > | |
| using | iterator_category |
| using | value_type |
| using | difference_type |
| using | pointer |
| using | reference |
| using | LinIt |
| Protected Attributes inherited from ImFusion::Utils::LinearIterator< TrackingTuple > | |
| int | m_pos |
| std::function< TrackingTuple(int)> | m_func |