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

Public Member Functions

 GTP2DCell (int i, Eigen::Vector2i coord, Eigen::Vector2d corner, GTP2DGrid *grid)
 
std::vector< GTP2DCell * > getNeighboors ()
 
void setState (cellState s)
 
cellState getState ()
 
void initialize ()
 
void addToNavigability (Robot *robot)
 
double dist (GTP2DCell *c)
 
void print ()
 
Eigen::Vector2i getCoord ()
 
bool getNavigability (Robot *r)
 
bool toBeDrawn ()
 
void setDrawn (bool v)
 
void setPrev (Robot *r, GTP2DCell *c)
 
GTP2DCellgetPrev (Robot *r)
 
void setDist (Robot *r, double d)
 
double getDist (Robot *r)
 
bool isReachable (Robot *r)
 
void setScore (double f)
 
double getScore ()
 
double computeDistTo (GTP2DCell *c)
 
void setIsInCol (bool val)
 
bool isInCol ()
 
void setCurrentRobot (Robot *rob)
 
double getDistCurrentRobot ()
 
- Public Member Functions inherited from API::TwoDCell
EIGEN_MAKE_ALIGNED_OPERATOR_NEW TwoDCell ()
 Constructor of cell. More...
 
 TwoDCell (int i, Eigen::Vector2d corner, TwoDGrid *grid)
 
virtual ~TwoDCell ()
 Constructor of cell. More...
 
bool isInsideCell (Eigen::Vector2d point)
 Function is inside cell. More...
 
Eigen::Vector2d getCenter ()
 Function to get the center of the cell. More...
 
Eigen::Vector2d getCorner ()
 
Eigen::Vector2d getRandomPoint ()
 Random Point In ThreeDCell.
 
Eigen::Vector2d getCellSize ()
 Gets the cell size.
 
int getIndex ()
 
virtual void draw ()
 
bool operator== (TwoDCell otherCell)
 
- Public Member Functions inherited from API::BaseCell
virtual bool writeToXml (xmlNodePtr cur)
 
virtual bool readCellFromXml (xmlNodePtr cur)
 

Public Attributes

double Ecolor
 

Additional Inherited Members

- Protected Attributes inherited from API::TwoDCell
int _index
 
Eigen::Vector2d _corner
 
TwoDGrid_grid
 

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