Public Member Functions | Public Attributes | List of all members
Measurement Class Reference

Measurement class type. More...

#include <measurement.h>

Public Member Functions

bool breakPointDetector (PointPtr &pt, PointPtr &pt_m1)
 Break point detection used as clustering criterion. More...
 
void calculateCentroid (void)
 Calculate the centroid of the cluster. More...
 
 Measurement ()
 
bool operator< (Measurement &)
 
Measurementoperator= (const Measurement &rhs)
 
bool operator> (Measurement &)
 
 ~Measurement ()
 

Public Attributes

vector< ClusterPtrassigned_clusters
 Hypotheses cluster association vector. More...
 
Point centroid
 Centroid of the measurement. More...
 
long id
 Id of the measurement. More...
 
vector< PointPtrpoints
 Vector of the support points. More...
 
Vector3d state
 

Detailed Description

Measurement class type.

Nonholonomic measurement class

Definition at line 60 of file measurement.h.

Constructor & Destructor Documentation

Measurement::Measurement ( )

Definition at line 34 of file measurement.cpp.

Measurement::~Measurement ( )

Definition at line 39 of file measurement.cpp.

Member Function Documentation

bool Measurement::breakPointDetector ( PointPtr pt,
PointPtr pt_m1 
)

Break point detection used as clustering criterion.

Parameters
ptfirst point
pt_m1next point
Returns
true if the next point belongs to a new cluster
Todo:
change the clustering criterion to something more mathematically accurate

Definition at line 83 of file measurement.cpp.

void Measurement::calculateCentroid ( void  )

Calculate the centroid of the cluster.

Definition at line 97 of file measurement.cpp.

bool Measurement::operator< ( Measurement m)

Definition at line 107 of file measurement.cpp.

Measurement & Measurement::operator= ( const Measurement rhs)

Definition at line 65 of file measurement.cpp.

bool Measurement::operator> ( Measurement m)

Definition at line 113 of file measurement.cpp.

Member Data Documentation

vector<ClusterPtr> Measurement::assigned_clusters

Hypotheses cluster association vector.

Definition at line 74 of file measurement.h.

Point Measurement::centroid

Centroid of the measurement.

Definition at line 67 of file measurement.h.

long Measurement::id

Id of the measurement.

Definition at line 69 of file measurement.h.

vector<PointPtr> Measurement::points

Vector of the support points.

Definition at line 65 of file measurement.h.

Vector3d Measurement::state

Definition at line 71 of file measurement.h.


The documentation for this class was generated from the following files:


mtt
Author(s): Jorge Almeida
autogenerated on Mon Mar 2 2015 01:32:18