This class extends std::deque to implement event deques. For more information, please refer here.
More...
|
template<std::size_t N> |
void | push_back (const Array_< T, N > &array) |
| Push elements from an array of events.
|
|
void | push_back (const Vector_< T > &vector) |
| Push elements from a vector of events.
|
|
double | duration () const |
| Time difference between the last and the first event.
|
|
double | rate () const |
| Compute event rate as the ratio between the number of events and the time difference between the last and the first event.
|
|
Eventd | mean () |
| Compute the mean of the events.
|
|
cv::Point2d | meanPoint () |
| Compute the mean x,y point of the events.
|
|
double | meanTime () |
| Compute the mean time of the events.
|
|
double | midTime () const |
| Calculate the midpoint time between the oldest and the newest event.
|
|
template<typename T>
class ev::Deque_< T >
This class extends std::deque to implement event deques. For more information, please refer here.
Event deques inherit all the properties from standard C++ deques. Events dequeu are double-ended queues that allows fast insertion and deletion at both its beginning and its end.