libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
HRICS_Visibility.hpp
1 #ifndef HRICS_VISIBILITY_H
2 #define HRICS_VISIBILITY_H
3 
4 /*
5  * HRICS_Visbility.h
6  * BioMove3D
7  *
8  * Created by Jim Mainprice on 30/04/10.
9  * Copyright 2010 LAAS/CNRS. All rights reserved.
10  *
11  */
12 
16 namespace HRICS
17 {
18  class Visibility
19  {
20  public:
24  Visibility(Robot* R);
25 
26 
31  double getWorkspaceCost(const Eigen::Vector3d& WSPoint);
32 
37  double getOldWorkspaceCost(const Eigen::Vector3d& WSPoint);
38 
42  double akinVisibilityCost(const Eigen::Vector3d& WSPoint);
43 
48  std::vector<double> getGaze();
49 
53  Eigen::Vector2d get2dPointAlongGaze(double dist);
54 
55  private:
59  Robot* m_Human;
60 
64  double m_Cost;
65 
70  std::vector<double> m_VectGaze;
71 
76  bool m_DrawGaze;
77  };
78 }
79 
80 #endif
Eigen::Vector2d get2dPointAlongGaze(double dist)
Distance on gaze.
Definition: HRICS_Visibility.cpp:273
double akinVisibilityCost(const Eigen::Vector3d &WSPoint)
Copy paste from Akins.
Definition: HRICS_Visibility.cpp:174
std::vector< double > getGaze()
Returns the gaze associated to the visibility cost.
Definition: HRICS_Visibility.cpp:243
Visibility(Robot *R)
Sets the Pointer to Human.
Definition: HRICS_Visibility.cpp:35
double getOldWorkspaceCost(const Eigen::Vector3d &WSPoint)
Gets the Visibiliy cost (distance to gaze direction) of a Workspace point.
Definition: HRICS_Visibility.cpp:87
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
double getWorkspaceCost(const Eigen::Vector3d &WSPoint)
Gets the Visibiliy cost (distance to gaze direction) of a Workspace point.
Definition: HRICS_Visibility.cpp:66
Definition: HRICS_Visibility.hpp:18