some refactoring
hopefully improved rendering speed added support to add .obj obstacles
This commit is contained in:
42
mapview/3D/MV3DElementFloorObstacleObject.h
Normal file
42
mapview/3D/MV3DElementFloorObstacleObject.h
Normal file
@@ -0,0 +1,42 @@
|
||||
#ifndef MV3DELEMENTFLOOROBSTACLEOBJECT_H
|
||||
#define MV3DELEMENTFLOOROBSTACLEOBJECT_H
|
||||
|
||||
#include <Indoor/floorplan/v2/Floorplan.h>
|
||||
#include <Indoor/math/Math.h>
|
||||
|
||||
#include "misc/Cube.h"
|
||||
#include "misc/Window.h"
|
||||
#include "misc/Handrail.h"
|
||||
|
||||
#include "MV3DElement.h"
|
||||
|
||||
class MV3DElementFloorObstacleObject : public MV3DElement {
|
||||
|
||||
Floorplan::Floor* f;
|
||||
Floorplan::FloorObstacleObject* fo;
|
||||
|
||||
public:
|
||||
|
||||
/** ctor */
|
||||
MV3DElementFloorObstacleObject(Floorplan::Floor* f, Floorplan::FloorObstacleObject* fo) : f(f), fo(fo) {
|
||||
;
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
/** repaint me */
|
||||
void render(const RenderSettings& rs) override {
|
||||
|
||||
// TODO
|
||||
|
||||
}
|
||||
|
||||
bool isTransparent() const override {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // MV3DELEMENTFLOOROBSTACLEOBJECT_H
|
||||
Reference in New Issue
Block a user