35 lines
540 B
C++
35 lines
540 B
C++
#ifndef MV3DELEMENTACCESSPOINT_H
|
|
#define MV3DELEMENTACCESSPOINT_H
|
|
|
|
#include <Indoor/floorplan/v2/Floorplan.h>
|
|
|
|
#include "misc/Cube.h"
|
|
#include "MV3DElement.h"
|
|
|
|
class MV3DElementAccessPoint : public MV3DElement {
|
|
|
|
Floorplan::Floor* f;
|
|
Floorplan::AccessPoint* ap;
|
|
|
|
public:
|
|
|
|
/** ctor */
|
|
MV3DElementAccessPoint(Floorplan::Floor* f, Floorplan::AccessPoint* ap) : f(f), ap(ap) {
|
|
;
|
|
}
|
|
|
|
protected:
|
|
|
|
|
|
/** repaint me */
|
|
void paintGL() override {
|
|
|
|
Cube cube(ap->getPos(f), 0.5);
|
|
cube.paintGL();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
#endif // MV3DELEMENTACCESSPOINT_H
|