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

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW CollisionSpaceCell (int i, const Eigen::Vector3d &corner, API::ThreeDGrid *grid)
 
bool isValid (void)
 
void setValid (bool value)
 
bool isVisited (void)
 
void setVisited (bool value)
 
bool isOccupied (void)
 
void setOccupied (bool value)
 
const Eigen::Vector3i & getLocation ()
 
void drawStatic ()
 
void draw (int color, int width)
 
void draw (void)
 
- 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)
 

Public Attributes

int m_DistanceSquare
 Squared distance from the closest obstacle.
 
int m_UpdateDirection
 Direction from which this voxel was updated.
 
Eigen::Vector3i m_ClosestPoint
 Closes obstacle from this voxel.
 

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: