|
| MightabilitiesGrid (Eigen::Vector3i size, std::vector< double > envSize) |
|
| MightabilitiesGrid (double samplingRate, std::vector< double > envSize) |
|
| MightabilitiesGrid (const ThreeDGrid &grid) |
|
void | initVariables () |
|
void | init (Eigen::Vector3i size, std::vector< double > envSize) |
|
void | init (double samplingRate, std::vector< double > envSize) |
|
void | setVisBall () |
|
void | placeVisball (MightabilitiesCell *c) |
|
void | placeVisball (p3d_point p) |
|
void | computeMights (std::vector< Robot * > agents, std::vector< Robot * > supports, std::vector< typeCells > abilities) |
|
std::vector< MightabilitiesCell * > | getCellsFromEntity (Robot *entity) |
|
std::vector< MightabilitiesCell * > | mergeVectors (std::vector< MightabilitiesCell * > c1, std::vector< MightabilitiesCell * > c2) |
|
void | computeReachDist (Robot *ag, MightabilitiesCell *cells) |
|
void | computeReachCol (Robot *ag, MightabilitiesCell *cells) |
|
void | computeVisDist (Robot *ag, MightabilitiesCell *cells) |
|
void | computeVisCol (Robot *ag, MightabilitiesCell *cells) |
|
bool | computeVisballCollision () |
|
bool | testLineArea (MightabilitiesCell *cells, p3d_point p) |
|
API::ThreeDCell * | createNewCell (unsigned int index, unsigned int x, unsigned int y, unsigned int z) |
| Virtual function that creates a new Cell. More...
|
|
void | draw () |
| Draw a openGl view of the grid.
|
|
MightabilitiesCell * | getCell (int i) |
|
WorldState * | getWorldState () |
|
void | setWorldState (WorldState *ws) |
|
void | show () |
|
void | show (std::vector< std::pair< Robot *, typeCells > > toShow) |
|
void | setSampleRate (double SR) |
|
std::vector< MightabilitiesCell * > | getList (Robot *ag) |
|
std::vector< MightabilitiesCell * > | getList (Robot *ag, typeCells tc) |
|
std::vector< MightabilitiesCell * > | getList (std::vector< std::pair< Robot *, typeCells > > rpc) |
|
void | addCellToList (MightabilitiesCell *c, Robot *ag, typeCells tc) |
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ThreeDGrid () |
| Constructor. More...
|
|
| ThreeDGrid (Eigen::Vector3i size, std::vector< double > envSize) |
|
| ThreeDGrid (double samplingRate, std::vector< double > envSize) |
|
| ThreeDGrid (const ThreeDGrid &grid) |
| Copy.
|
|
virtual | ~ThreeDGrid () |
| Destructor.
|
|
void | createAllCells () |
| Creates All Cells. More...
|
|
Eigen::Vector3d | getCellSize () |
|
unsigned int | getXNumberOfCells () const |
|
unsigned int | getYNumberOfCells () const |
|
unsigned int | getZNumberOfCells () const |
|
ThreeDCell * | getCell (unsigned int x, unsigned int y, unsigned int z) const |
| Retruns the Cell at (x,y,z) More...
|
|
ThreeDCell * | getCell (Eigen::Vector3i cell) const |
|
ThreeDCell * | getCell (const Eigen::Vector3d &pos) const |
|
ThreeDCell * | getCell (double *pos) const |
| Get Cell in 3D ThreeDGrid. More...
|
|
Eigen::Vector3i | getCellCoord (ThreeDCell *ptrCell) const |
| Get place in grid. More...
|
|
ThreeDCell * | getNeighbour (const Eigen::Vector3i &pos, unsigned int i) const |
| Get Neighboor Cell.
|
|
Eigen::Vector3d | getCoordinates (ThreeDCell *cell) const |
| Retrive the X Y Z coordinate of the cell from its index.
|
|
unsigned int | getXlineOfCell (unsigned int ith) |
|
unsigned int | getYlineOfCell (unsigned int ith) |
|
unsigned int | getZlineOfCell (unsigned int ith) |
|
bool | writeToXmlFile (std::string file) |
| Writes the grid to en xml file.
|
|
bool | loadFromXmlFile (std::string file) |
| Reads the grid from an xml file.
|
|
| BaseGrid (const BaseGrid &grid) |
|
BaseCell * | getCell (unsigned int i) |
| Get Cell. More...
|
|
unsigned int | getNumberOfCells () |
| Get Number Of Cells.
|
|
virtual std::vector
< Eigen::Vector3d > | getBox () |
|
std::string | getName () |
|