Flat Object Grasping Library (FOG)  0.2.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fog::Hand Class Reference

Represents the robotic hand as it is considered in the FOG framework. More...

#include <fog/hand.h>

Public Member Functions

 Hand (unsigned int nr_of_fingers, double spread, double h1, double h2)
 
 ~Hand ()
 
void extract ()
 

Public Attributes

std::string label
 The label of the hand, if it is known. More...
 
std::vector< unsigned int > finger_set
 The set of the finger indeces. Represents the set $\mathcal{H}_f$. More...
 
Eigen::Vector3d palm_normal
 The normal vector on the palm of the hand. Represents the $\hat{\mathbf{h}}_n$ vector. More...
 
double spread
 The spread of the hand. More...
 
double h1
 The $h_1$ threshold of the hand. More...
 
double h2
 The $h_2$ threshold of the hand. More...
 

Private Attributes

unsigned int nr_fingers
 

Friends

std::ostream & operator<< (std::ostream &, const Hand &)
 

Detailed Description

Represents the robotic hand as it is considered in the FOG framework.

Constructor & Destructor Documentation

fog::Hand::Hand ( unsigned int  nr_of_fingers,
double  spread,
double  h1,
double  h2 
)
fog::Hand::~Hand ( )
inline

Member Function Documentation

void fog::Hand::extract ( )

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const Hand hand 
)
friend

Member Data Documentation

std::vector<unsigned int> fog::Hand::finger_set

The set of the finger indeces. Represents the set $\mathcal{H}_f$.

double fog::Hand::h1

The $h_1$ threshold of the hand.

double fog::Hand::h2

The $h_2$ threshold of the hand.

std::string fog::Hand::label

The label of the hand, if it is known.

unsigned int fog::Hand::nr_fingers
private
Eigen::Vector3d fog::Hand::palm_normal

The normal vector on the palm of the hand. Represents the $\hat{\mathbf{h}}_n$ vector.

double fog::Hand::spread

The spread of the hand.