52 lines
1.2 KiB
C++
52 lines
1.2 KiB
C++
/*
|
||
* © Copyright 2014 – Urheberrechtshinweis
|
||
* Alle Rechte vorbehalten / All Rights Reserved
|
||
*
|
||
* Programmcode ist urheberrechtlich geschuetzt.
|
||
* Das Urheberrecht liegt, soweit nicht ausdruecklich anders gekennzeichnet, bei Frank Ebner.
|
||
* Keine Verwendung ohne explizite Genehmigung.
|
||
* (vgl. § 106 ff UrhG / § 97 UrhG)
|
||
*/
|
||
|
||
#ifndef MMFLOOROUTLINEPOLYGONCOMBINED_H
|
||
#define MMFLOOROUTLINEPOLYGONCOMBINED_H
|
||
|
||
#include "MapLayer.h"
|
||
#include "MMFloorOutlinePolygon.h"
|
||
//#include "../3D/MV3DElementFloorOutline.h"
|
||
|
||
|
||
#include <Indoor/floorplan/v2/Floorplan.h>
|
||
|
||
/**
|
||
* this element combines all polygons of one layer
|
||
* into one large, 3D renderable polygon
|
||
*/
|
||
class MMFloorOutlinePolygonCombined : public MapModelElement {
|
||
|
||
private:
|
||
|
||
/** the underlying model */
|
||
Floorplan::Floor* floor;
|
||
|
||
//MV3DElementFloorOutline mv3d;
|
||
|
||
public:
|
||
|
||
/** ctor with the underlying model */
|
||
MMFloorOutlinePolygonCombined(MapLayer* parent, Floorplan::Floor* floor) :
|
||
MapModelElement(parent), floor(floor) {//, mv3d(floor, &floor->outline) {
|
||
|
||
;
|
||
|
||
}
|
||
|
||
//MV3DElement* getMV3D() const override {return (MV3DElement*) &mv3d;}
|
||
|
||
/** get the corresponding floor from the underlying model */
|
||
Floorplan::Floor* getFloor() {return floor;}
|
||
|
||
};
|
||
|
||
#endif // MMFLOOROUTLINEPOLYGONCOMBINED_H
|