Jafar
|
00001 #ifndef _P3D_P3D_MAP_H_ 00002 #define _P3D_P3D_MAP_H_ 00003 00004 #include <libp3d.h> 00005 00006 #include "dtm/Dtm.hpp" 00007 #include "calife/T3d.hpp" 00008 #include "geom/t3dEuler.hpp" 00009 00010 #include <string> 00011 #include <vector> 00012 00013 namespace jafar { 00014 namespace p3d { 00020 class P3D_MAP { 00021 private: 00022 ::P3D_MAP* _pdata; 00023 int _nb_lines; 00024 int _nb_cols; 00026 public: 00031 P3D_MAP(); 00032 00040 P3D_MAP(int lines, int column); 00041 00052 P3D_MAP(jafar::dtm::Dtm & dtm, jafar::geom::T3D& m2o, int nb_l, int nb_c); 00053 00057 ~P3D_MAP(); 00058 00064 ::P3D_MAP* get_data() const; 00065 00078 void set_data(int line, int column); 00079 00090 void update_map(jafar::dtm::Dtm& dtm, jafar::geom::T3D& m2o); 00091 00098 std::string gdhe_display() const; 00099 00108 void dump(const std::string & path) const; 00109 00117 void from_file(const std::string& file); 00118 00128 void to_gdhe(const std::string& file) const; 00129 00130 private: 00131 void clear_data(); 00132 void _update_map(jafar::dtm::Dtm&, jafar::geom::T3D&); 00133 }; 00134 } 00135 } 00136 00137 #endif /* _P3D_P3D_MAP_H_ */
Generated on Wed Oct 15 2014 00:37:25 for Jafar by doxygen 1.7.6.1 |