libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
API::ThreeDCell Class Reference
Inheritance diagram for API::ThreeDCell:
API::BaseCell CellToNode CollisionSpaceCell GTPCell HRICS::AgentCell HRICS::Cell HRICS::NaturalCell MightabilitiesCell SignFieldCell

Public Member Functions

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 ()
 
virtual void draw ()
 
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)
 

Protected Attributes

int _index
 
Eigen::Vector3d _corner
 
ThreeDGrid_grid
 

Constructor & Destructor Documentation

ThreeDCell::ThreeDCell ( )

Constructor of cell.

Parameters
integerindex
ThreeDCell::ThreeDCell ( int  i,
ThreeDGrid grid 
)

Constructor of cell.

Parameters
integerindex
ThreeDCell::~ThreeDCell ( )
virtual

Constructor of cell.

Parameters
integerindex

Member Function Documentation

Vector3d ThreeDCell::getCenter ( )

Function to get the center of the cell.

Parameters
3Dpoint vector
bool ThreeDCell::isInsideCell ( Eigen::Vector3d  point)

Function is inside cell.

Parameters
3Dpoint vector

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