#ifndef MV3DELEMENTFINGERPRINTLOCATION_H #define MV3DELEMENTFINGERPRINTLOCATION_H #include #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 paintGL() override { Cube cube(fpl->getPosition(*f), 0.15); glColor3f(1,0,1); cube.paintGL(); } bool isTransparent() const override { return false; } }; #endif // MV3DELEMENTFINGERPRINTLOCATION_H