libmove3d
3.13.0
|
00001 #ifndef __DPGCELL_H__ 00002 #define __DPGCELL_H__ 00003 #include <vector> 00004 #include "Planner-pkg.h" 00005 00006 class DpgCell { 00007 public: 00008 //constructors and destructors 00009 DpgCell(); 00010 DpgCell(int id); 00011 virtual ~DpgCell(); 00012 //setters and getters 00013 inline void unvalid(void){_valid = 0;} 00014 inline void setValid(void){_valid = 1;} 00015 private: 00016 int _id; 00017 std::vector<p3d_edge*> _edges; 00018 std::vector<p3d_node*> _nodes; 00019 int _valid; //There is no static obstacles crossing this cell 00020 }; 00021 00022 #endif