PoseFeature Class Reference
[Spaces]

Pose feature, a pose endowed with an associated integer. More...

#include <PoseFeatures.h>

Inheritance diagram for PoseFeature:

Association< Pose, int >

List of all members.

Public Member Functions

 PoseFeature ()
 Default constructor.
 PoseFeature (Pose p)
 Pose constructor.
 PoseFeature (Pose p, int i)
 Complete constructor (T and assocType).
 PoseFeature (const PoseFeature &f)
 Copy constructor.
Pose getPose (void)
 Get the stored Pose.
int getId (void)
 Get the associated integer.
void setId (int a)
 Set the associated integer.
string print ()
 Print the PoseFeature.
bool notEqual (PoseFeature &pose, Decimal toll)
 Compare the pose with another pose with a tollerance.


Detailed Description

Pose feature, a pose endowed with an associated integer.

Author:
Paolo Stegagno
Note:
It is assumed that the pose is set only at creation time or by copy.
Todo:
a template that add to a generic class an integer
Author:
Marco Cognetti
Note:
It is assumed that the pose is set only at creation time or by copy.
Todo:
a template that add to a generic class an integer

Constructor & Destructor Documentation

PoseFeature::PoseFeature (  )  [inline]

Default constructor.

Note:
It is automatically set as NOT associated.

PoseFeature::PoseFeature ( Pose  p  )  [inline]

Pose constructor.

Parameters:
[in] p Pose to which a second assoObj could be associated
Note:
It is automatically set as NOT associated.

PoseFeature::PoseFeature ( Pose  p,
int  i 
) [inline]

Complete constructor (T and assocType).

Note:
The id is automatically set as associated.
Parameters:
[in] p Pose to which i the must be associated.
[in] id An int to associate with p.

PoseFeature::PoseFeature ( const PoseFeature f  )  [inline]

Copy constructor.


Member Function Documentation

Pose PoseFeature::getPose ( void   )  [inline]

Get the stored Pose.

Returns:
The stored Pose.

int PoseFeature::getId ( void   )  [inline]

Get the associated integer.

Returns:
The associated integer.

void PoseFeature::setId ( int  a  )  [inline]

Set the associated integer.

Parameters:
[in] a The value to which the associated integer is set.

string PoseFeature::print (  )  [inline]

Print the PoseFeature.

Returns:
A string with the PoseFeature printed on it.

bool PoseFeature::notEqual ( PoseFeature pose,
Decimal  toll 
)

Compare the pose with another pose with a tollerance.

Parameters:
[in] &pose PoseFeature to which the PoseFeature has to be compared.
[out] toll Threshold of tollerance for the comparison.
Returns:
true if the ids are equal and the poses are equal with a certain tollerance, false otherwise.


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

Generated on Mon Feb 20 07:01:10 2017 for MIP by  doxygen 1.5.6