/* * © 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 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 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