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/MV3DElementFingerprintLocation.h
root e5e19779d5 worked on android port
opengl1 -> es
2018-01-31 17:15:11 +01:00

42 lines
717 B
C++

#ifndef MV3DELEMENTFINGERPRINTLOCATION_H
#define MV3DELEMENTFINGERPRINTLOCATION_H
#include <Indoor/floorplan/v2/Floorplan.h>
#include "misc/Cube.h"
#include "MV3DElement.h"
class MV3DElementFingerprintLocation : public MV3DElement {
Floorplan::Floor* f;
Floorplan::FingerprintLocation* fpl;
public:
/** ctor */
MV3DElementFingerprintLocation(Floorplan::Floor* f, Floorplan::FingerprintLocation* fpl) : f(f), fpl(fpl) {
;
}
protected:
/** repaint me */
void render(const RenderSettings& rs) override {
Cube cube(fpl->getPosition(*f), 0.15);
cube.setColor(1,0,1);
cube.render(rs);
}
bool isTransparent() const override {
return false;
}
};
#endif // MV3DELEMENTFINGERPRINTLOCATION_H