HDK
|
An ordered sequence of keyframes with STL-compliant API for finding, inserting, and erasing keyframes while maintaining order. More...
#include <keyFrameMap.h>
Public Types | |
typedef std::vector < TsKeyFrame >::iterator | iterator |
typedef std::vector < TsKeyFrame >::const_iterator | const_iterator |
typedef std::vector < TsKeyFrame > ::reverse_iterator | reverse_iterator |
typedef std::vector < TsKeyFrame > ::const_reverse_iterator | const_reverse_iterator |
An ordered sequence of keyframes with STL-compliant API for finding, inserting, and erasing keyframes while maintaining order.
We use this instead of a map or set of keyframes because it allows the keyframes to be stored with fewer heap allocation and better data locality.
For the sake of efficiency, this class makes two assumptions: The keyframes are always ordered There is never more than one key frame at a given time.
The client (TsSpline) is responsible for maintaining these preconditions.
Definition at line 50 of file keyFrameMap.h.
typedef std::vector<TsKeyFrame>::const_iterator TsKeyFrameMap::const_iterator |
Definition at line 54 of file keyFrameMap.h.
typedef std::vector<TsKeyFrame>::const_reverse_iterator TsKeyFrameMap::const_reverse_iterator |
Definition at line 56 of file keyFrameMap.h.
typedef std::vector<TsKeyFrame>::iterator TsKeyFrameMap::iterator |
Definition at line 53 of file keyFrameMap.h.
typedef std::vector<TsKeyFrame>::reverse_iterator TsKeyFrameMap::reverse_iterator |
Definition at line 55 of file keyFrameMap.h.
|
inline |
Definition at line 59 of file keyFrameMap.h.
|
inline |
Definition at line 63 of file keyFrameMap.h.
Definition at line 74 of file keyFrameMap.h.
|
inline |
Definition at line 79 of file keyFrameMap.h.
Definition at line 134 of file keyFrameMap.h.
Definition at line 124 of file keyFrameMap.h.
Definition at line 84 of file keyFrameMap.h.
|
inline |
Definition at line 89 of file keyFrameMap.h.
Definition at line 149 of file keyFrameMap.h.
Definition at line 154 of file keyFrameMap.h.
Definition at line 218 of file keyFrameMap.h.
Definition at line 181 of file keyFrameMap.h.
|
inline |
Definition at line 190 of file keyFrameMap.h.
|
inline |
Definition at line 199 of file keyFrameMap.h.
|
inline |
Definition at line 211 of file keyFrameMap.h.
TS_API const_iterator TsKeyFrameMap::lower_bound | ( | TsTime | t | ) | const |
Definition at line 119 of file keyFrameMap.h.
|
inline |
Definition at line 164 of file keyFrameMap.h.
|
inline |
Definition at line 68 of file keyFrameMap.h.
|
inline |
Definition at line 159 of file keyFrameMap.h.
|
inline |
Definition at line 226 of file keyFrameMap.h.
|
inline |
Definition at line 94 of file keyFrameMap.h.
|
inline |
Definition at line 99 of file keyFrameMap.h.
|
inline |
Definition at line 104 of file keyFrameMap.h.
|
inline |
Definition at line 109 of file keyFrameMap.h.
Definition at line 129 of file keyFrameMap.h.
Definition at line 114 of file keyFrameMap.h.
|
inline |
Definition at line 139 of file keyFrameMap.h.
|
inline |
Definition at line 144 of file keyFrameMap.h.
TS_API const_iterator TsKeyFrameMap::upper_bound | ( | TsTime | t | ) | const |