#include <Particle.h>
Public Member Functions | |
Particle | operator* (const float &f) const |
Particle | operator+ (const Particle &p) const |
Particle | operator- (const Particle &p) const |
bool | operator< (const Particle &p2) const |
Comparing weighted likelihood of two particles. | |
Particle & | operator= (const Particle &p2) |
Particle & | operator= (const TomGine::tgPose &p) |
bool | operator> (const Particle &p2) const |
Particle (float val=0.0) | |
Particle (vec3 t, vec3 r, float z, float w, float c, TomGine::tgQuaternion q) | |
Particle (const Particle &p2) | |
Particle (const TomGine::tgPose &p2) | |
Public Attributes | |
float | c |
confidence level (matching pixels divided by overall pixels) | |
vec3 | r |
rotations | |
std::vector< float > | userData |
float | w |
weighted likelihood (sum of w of distribution = 1) | |
float | z |
scaling (zoom) |
class Particle
Definition at line 20 of file Particle.h.
Particle::Particle | ( | float | val = 0.0 | ) |
Definition at line 7 of file Particle.cpp.
Particle::Particle | ( | vec3 | t, |
vec3 | r, | ||
float | z, | ||
float | w, | ||
float | c, | ||
TomGine::tgQuaternion | q | ||
) |
Definition at line 23 of file Particle.cpp.
Particle::Particle | ( | const Particle & | p2 | ) |
Definition at line 39 of file Particle.cpp.
Particle::Particle | ( | const TomGine::tgPose & | p2 | ) |
Definition at line 57 of file Particle.cpp.
Particle Particle::operator* | ( | const float & | f | ) | const |
Definition at line 106 of file Particle.cpp.
Definition at line 115 of file Particle.cpp.
Definition at line 126 of file Particle.cpp.
bool Tracking::Particle::operator< | ( | const Particle & | p2 | ) | const [inline] |
Comparing weighted likelihood of two particles.
Definition at line 43 of file Particle.h.
Definition at line 71 of file Particle.cpp.
Particle & Particle::operator= | ( | const TomGine::tgPose & | p | ) |
Definition at line 90 of file Particle.cpp.
bool Tracking::Particle::operator> | ( | const Particle & | p2 | ) | const [inline] |
Definition at line 44 of file Particle.h.
float Tracking::Particle::c |
confidence level (matching pixels divided by overall pixels)
Definition at line 29 of file Particle.h.
rotations
Definition at line 23 of file Particle.h.
std::vector<float> Tracking::Particle::userData |
Definition at line 26 of file Particle.h.
float Tracking::Particle::w |
weighted likelihood (sum of w of distribution = 1)
Definition at line 28 of file Particle.h.
float Tracking::Particle::z |
scaling (zoom)
Definition at line 24 of file Particle.h.