a whole lotta work!!

- refactoring
- completely changed the tooling (adding elements)
- better re-use for more stable editing
- new elements
- ui adjustments
- LINT for stair-editing
- many more changes
This commit is contained in:
2016-08-29 19:05:46 +02:00
parent 86c76b1284
commit fa06320219
51 changed files with 880 additions and 318 deletions

View File

@@ -84,7 +84,7 @@ public:
GridFactory<MyNode> fac(grid);
fac.build(im, &l);
Importance::addImportance(grid, 0);
Importance::addImportance(grid);
//Importance::addImportance(grid, 400);
}

View File

@@ -80,7 +80,7 @@ public:
}
case GridRendererColorMode::SHOW_NODE_IMPORTANCE: {
const float xx = n.imp - 0.6;
const float xx = n.navImportance - 0.6;
glColor3f(xx, xx, xx);
break;
}

View File

@@ -2,10 +2,9 @@
#define MYNODE_H
#include <Indoor/grid/Grid.h>
#include <Indoor/grid/factory/v2/GridNodeImportance.h>
struct MyNode : public GridNode, public GridPoint {
float imp;
struct MyNode : public GridNode, public GridPoint, public GridNodeImportance {
MyNode(float x, float y, float z) : GridPoint(x,y,z) {;}