libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
gridtograph.hpp
1 #ifndef GRIDTOGRAPH_H
2 #define GRIDTOGRAPH_H
3 
4 #include "API/Grids/ThreeDGrid.hpp"
5 
6 #include "API/Device/robot.hpp"
7 #include "API/Roadmap/graph.hpp"
8 
13 {
14 public:
15  GridToGraph();
16  GridToGraph( Eigen::Vector3i size );
17  GridToGraph( double pace, std::vector<double> envSize );
18 
19  API::ThreeDCell* createNewCell(unsigned int index,unsigned int x,unsigned int y,unsigned int z );
20 
21  void putGridInGraph();
22 
23 private:
24  Robot* _Robot;
25  Graph* _Graph;
26 };
27 
28 #endif // GRIDTOGRAPH_H
Definition: graph.hpp:28
Definition: ThreeDGrid.hpp:24
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
void putGridInGraph()
3D robot from grid to graph
Definition: gridtograph.cpp:55
API::ThreeDCell * createNewCell(unsigned int index, unsigned int x, unsigned int y, unsigned int z)
Virtual function that creates a new Cell.
Definition: gridtograph.cpp:152
Definition: ThreeDCell.hpp:25
Definition: gridtograph.hpp:12