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

Public Member Functions

 MightabilitiesCell (int i, MightabilitiesGrid *grid)
 
 MightabilitiesCell (int i, Eigen::Vector3d corner, MightabilitiesGrid *grid)
 
 MightabilitiesCell (MightabilitiesCell *c)
 
void draw ()
 
void addAgent (Robot *ag)
 
void removeAgent (Robot *ag)
 
bool belongToAgent (Robot *ag)
 
bool belongToAtLeastOneAgent ()
 
void addTypeC (Robot *ag, typeCells tc)
 
void removeTypeC (Robot *ag, typeCells tc)
 
bool belongToTypeC (Robot *ag, typeCells tc)
 
void setObject (Robot *r)
 
RobotgetObject ()
 
void setIsSupport (bool v)
 
bool isItSupport ()
 
- 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...
 
virtual double getCost ()
 
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 writeToXml (xmlNodePtr cur)
 
bool readCellFromXml (xmlNodePtr cur)
 
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: