This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
IndoorMap/mapview/3D/MV3DElementAccessPoint.h
2017-03-10 15:32:05 +01:00

36 lines
561 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.25);
glColor3f(0,0,1);
cube.paintGL();
}
};
#endif // MV3DELEMENTACCESSPOINT_H