libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
HRICS::AgentCell Class Reference
Inheritance diagram for HRICS::AgentCell:
API::ThreeDCell API::BaseCell

Public Member Functions

 AgentCell (int i, Eigen::Vector3i pos, Eigen::Vector3d corner, AgentGrid *grid)
 
double getCost ()
 compute cost depending on right/left hand
 
void setCost (double Cost)
 
void setBlankCost ()
 
double getDistance ()
 
double getVisibility ()
 
double getReachability ()
 
double getCombined ()
 
void computeDistance ()
 Compute the from the cell to the human.
 
void computeVisibility ()
 Compute the visibility of the cell.
 
void computeReachability ()
 Compute the cell reachbility.
 
void computeCombined ()
 
void resetReachable ()
 
bool getIsLeftArmReachable ()
 
Eigen::Vector3d getWorkspacePoint ()
 Get the Workspace Point transformed by the freeflyer of the human.
 
void setIsReachable (bool reach)
 
void setIsReachableWithLA (bool reach)
 
void setIsReachableWithRA (bool reach)
 
bool isReachable ()
 
bool isReachableWithLA ()
 
bool isReachableWithRA ()
 
void resetExplorationStatus ()
 
void createDisplaylist ()
 
void drawOnePoint (bool withTransform)
 
void draw (bool transform)
 
int setRobotToStoredConfig ()
 
bool writeToXml (xmlNodePtr cur)
 
bool readCellFromXml (xmlNodePtr cur)
 
- Public Member Functions inherited from API::ThreeDCell
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ThreeDCell ()
 Constructor of cell. More...
 
 ThreeDCell (int i, ThreeDGrid *grid)
 Constructor of cell. More...
 
 ThreeDCell (int i, Eigen::Vector3d corner, ThreeDGrid *grid)
 
virtual ~ThreeDCell ()
 Constructor of cell. More...
 
bool isInsideCell (Eigen::Vector3d point)
 Function is inside cell. More...
 
Eigen::Vector3d getCenter ()
 Function to get the center of the cell. More...
 
Eigen::Vector3d getCorner ()
 
Eigen::Vector3d getRandomPoint ()
 Random Point In ThreeDCell.
 
Eigen::Vector3d getCellSize ()
 Gets the cell size.
 
int getIndex ()
 
void setCorner (const Eigen::Vector3d &corner)
 
void setGrid (ThreeDGrid *grid)
 
ThreeDGridgetGrid ()
 
virtual void draw ()
 
void drawColorGradient (double value, double min, double max, bool inverse=false)
 should be between min and max the min value that value can take the max value that value can take set the color gradient to be the inverse of 0 => blue, 1 => red
 
bool operator== (ThreeDCell otherCell)
 

Protected Member Functions

Eigen::Vector3i getCoord ()
 
bool getOpen ()
 
void setOpen ()
 
bool getClosed ()
 
void setClosed ()
 

Additional Inherited Members

- Protected Attributes inherited from API::ThreeDCell
int _index
 
Eigen::Vector3d _corner
 
ThreeDGrid_grid
 

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