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

Public Member Functions

 NaturalCell (int i, Eigen::Vector3i pos, Eigen::Vector3d corner, NaturalGrid *grid)
 
double getCost ()
 compute cost depending on right/left hand
 
double getCost (bool leftHand)
 
void setCost (double Cost)
 
void setBlankCost ()
 
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 ()
 
Eigen::Vector3i getCoord ()
 
bool getOpen ()
 
void setOpen ()
 
bool getClosed ()
 
void setClosed ()
 
void setUseExternalCost (bool use)
 
void setExternalCost (double cost)
 
void resetExplorationStatus ()
 
void createDisplaylist ()
 
void draw ()
 
bool writeToXml (xmlNodePtr cur)
 
bool readCellFromXml (xmlNodePtr cur)
 
int setRobotToStoredConfig ()
 
- 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 ()
 
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)
 

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: