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

Public Member Functions

 Cell (int i, Eigen::Vector3i pos, Eigen::Vector3d corner, HRICS::Grid *grid)
 
double getCost ()
 
void setBlankCost ()
 
Eigen::Vector3i getCoord ()
 
bool getOpen ()
 
void setOpen ()
 
bool getClosed ()
 
void setClosed ()
 
void resetExplorationStatus ()
 
GLint getDisplayList ()
 
void createDisplaylist ()
 
bool getIsCostComputed ()
 
void setGradient (const Eigen::Vector3d &grad)
 
Eigen::Vector3d getGradient ()
 
void draw ()
 
- 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 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: