libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
SignField.hpp
1 /*
2  * SignField.h
3  * BioMove3D
4  *
5  * Created by Jim Mainprice on 23/06/10.
6  * Copyright 2010 LAAS/CNRS. All rights reserved.
7  *
8  */
9 
10 class SignFeildCell;
11 
13 {
14 public:
15  Grid();
16  Grid( std::vector<int> size );
17  Grid(double pace, std::vector<double> envSize);
18 
19  API::ThreeDCell* createNewCell(unsigned int index, unsigned int x, unsigned int y, unsigned int z );
20  void computeAllCellCost();
21 
22  void drawSpheres();
23  void draw();
24  void resetCellCost();
25 
26  void setRobot(Robot* rob) { _Robot = rob; }
27  Robot* getRobot() { return _Robot; }
28 
29  bool isVirtualObjectPathValid(Cell* fromCell,Cell* toCell);
30 
31 private:
32 
33  Robot* _Robot;
34 };
void draw()
Draw a openGl view of the grid.
Definition: ThreeDGrid.hpp:24
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
Definition: ThreeDCell.hpp:25
API::ThreeDCell * createNewCell(unsigned int index, unsigned int x, unsigned int y, unsigned int z)
Virtual function that creates a new Cell.
Definition: SignField.hpp:12