37 lines
732 B
C++
37 lines
732 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 WINDOW_H
|
||
#define WINDOW_H
|
||
|
||
#include "Renderable3D.h"
|
||
#include <Indoor/geo/Point2.h>
|
||
|
||
#include <QMatrix4x4>
|
||
|
||
class Window : public Renderable3D {
|
||
|
||
Point2 from;
|
||
Point2 to;
|
||
float atHeight;
|
||
float height;
|
||
|
||
QMatrix4x4 mat;
|
||
|
||
public:
|
||
|
||
Window(const Point2 from, const Point2 to, float atHeight, float height);
|
||
|
||
virtual void render(const RenderSettings& rs) override;
|
||
|
||
};
|
||
|
||
#endif // WINDOW_H
|