worked on 3D viz

scaling, moving by finger
some fixes / improvement
This commit is contained in:
k-a-z-u
2018-02-06 17:35:10 +01:00
parent 076c0e9157
commit bce771d6d6
28 changed files with 547 additions and 155 deletions

View File

@@ -50,6 +50,15 @@ public:
}
bool isVisible() const override {
return floor->enabled;
}
void setVisible(const bool visible) override {
floor->enabled = visible;
onVisibilityChanged(visible);
}
/** ctor. new floor. */
MMFloor(MapLayer* parent) : MapLayer(parent), floor(nullptr) {
throw "not yet implemented";
@@ -58,12 +67,6 @@ public:
/** get the underlying model */
Floorplan::Floor& getFloor() {return *floor;}
virtual void setVisible(const bool visible) override {
floor->enabled = visible;
MapLayer::setVisible(visible);
}
std::string getLayerName() const override {return floor->name;}
virtual int getNumParams() const override {