added more cpp files for faster compile speeds
removed many obsolte elements many improvements and fixes
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "IHasParams.h"
|
||||
|
||||
#include "../2D/MV2DElementFloorObstacleObject.h"
|
||||
#include "../3D/MV3DElementFloorObstacleObject.h"
|
||||
//#include "../3D/MV3DElementFloorObstacleObject.h"
|
||||
|
||||
#include <Indoor/floorplan/v2/Floorplan.h>
|
||||
|
||||
@@ -22,17 +22,17 @@ public:
|
||||
Floorplan::Floor* mf;
|
||||
Floorplan::FloorObstacleObject* fo;
|
||||
MV2DElementFloorObstacleObject mv2d;
|
||||
MV3DElementFloorObstacleObject mv3d;
|
||||
//MV3DElementFloorObstacleObject mv3d;
|
||||
|
||||
public:
|
||||
|
||||
MMFloorObstacleObject(MapLayer* parent, Floorplan::Floor* mf, Floorplan::FloorObstacleObject* fo) :
|
||||
MapModelElement(parent), mf(mf), fo(fo), mv2d(fo), mv3d(mf,fo) {
|
||||
MapModelElement(parent), mf(mf), fo(fo), mv2d(fo) {//, mv3d(mf,fo) {
|
||||
|
||||
}
|
||||
|
||||
MV2DElement* getMV2D() const override {return (MV2DElement*) &mv2d;}
|
||||
MV3DElement* getMV3D() const override {return (MV3DElement*) &mv3d;}
|
||||
//MV3DElement* getMV3D() const override {return (MV3DElement*) &mv3d;}
|
||||
|
||||
void deleteMe() const override {
|
||||
parent->removeElement(this);
|
||||
|
||||
Reference in New Issue
Block a user