29 lines
382 B
C++
29 lines
382 B
C++
#ifndef MV3DELEMENT_H
|
|
#define MV3DELEMENT_H
|
|
|
|
#include "MapView3D.h"
|
|
|
|
/**
|
|
* represents one drawable
|
|
* element shown within the MapView3D
|
|
*/
|
|
class MV3DElement {
|
|
|
|
public:
|
|
|
|
/** dtor */
|
|
virtual ~MV3DElement() {;}
|
|
|
|
public:
|
|
|
|
/** repaint me */
|
|
virtual void paintGL() = 0;
|
|
|
|
/** is this a transparent element? */
|
|
virtual bool isTransparent() const = 0;
|
|
|
|
|
|
};
|
|
|
|
#endif // MV3DELEMENT_H
|