49 lines
975 B
C++
49 lines
975 B
C++
/*
|
||
* © 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 MV3DELEMENTREGISTRATIONPOINT_H
|
||
#define MV3DELEMENTREGISTRATIONPOINT_H
|
||
|
||
#include <Indoor/floorplan/v2/Floorplan.h>
|
||
|
||
#include "misc/Cube.h"
|
||
#include "MV3DElement.h"
|
||
|
||
class MV3DElementRegistrationPoint : public MV3DElement {
|
||
|
||
Floorplan::EarthPosMapPos* reg;
|
||
|
||
public:
|
||
|
||
/** ctor */
|
||
MV3DElementRegistrationPoint(Floorplan::EarthPosMapPos* reg) : reg(reg) {
|
||
;
|
||
}
|
||
|
||
protected:
|
||
|
||
|
||
/** repaint me */
|
||
void render(const RenderSettings& rs) override {
|
||
|
||
Cube cube(reg->posOnMap_m, 0.5);
|
||
cube.setColor(0,0,0);
|
||
cube.render(rs);
|
||
|
||
}
|
||
|
||
bool isTransparent() const override {
|
||
return false;
|
||
}
|
||
|
||
};
|
||
|
||
#endif // MV3DELEMENTREGISTRATIONPOINT_H
|