SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
#include <CVTrackedArucoCube.h>
Public Member Functions | |
AveragedQuat4f (int numValues, SLQuat4f initValue) | |
void | init (int numValues, SLQuat4f initValue) |
Initializes the average value array to a given value. More... | |
void | set (SLQuat4f value) |
Sets the current value in the value array and builds the average. More... | |
SLQuat4f | average () |
size_t | size () |
Private Attributes | |
float | _oneOverNumValues {} |
multiplier instead of divider More... | |
vector< SLQuat4f > | _values |
value array More... | |
int | _currentValueIndex {} |
current value index within _values More... | |
SLQuat4f | _average |
average value More... | |
Definition at line 20 of file CVTrackedArucoCube.h.
|
inline |
Definition at line 23 of file CVTrackedArucoCube.h.
|
inline |
Definition at line 76 of file CVTrackedArucoCube.h.
Initializes the average value array to a given value.
Definition at line 29 of file CVTrackedArucoCube.h.
Sets the current value in the value array and builds the average.
Definition at line 40 of file CVTrackedArucoCube.h.
|
inline |
Definition at line 77 of file CVTrackedArucoCube.h.
|
private |
average value
Definition at line 83 of file CVTrackedArucoCube.h.
|
private |
current value index within _values
Definition at line 82 of file CVTrackedArucoCube.h.
|
private |
multiplier instead of divider
Definition at line 80 of file CVTrackedArucoCube.h.
|
private |
value array
Definition at line 81 of file CVTrackedArucoCube.h.