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
2018-10-25 12:23:40 +02:00

52 lines
1.0 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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