45 lines
976 B
C++
Executable File
45 lines
976 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Interface of DangerArea
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "abstract_multi_point_map_object.h"
|
|
|
|
//----------------------------------------------------------------------------
|
|
namespace SituationMap
|
|
{
|
|
|
|
/**
|
|
* @brief The Cube class supports staked cubes displaying the building ownership for example.
|
|
* The cubes can have more than 3 positions.
|
|
* But be aware that there is no 'roof' yes.
|
|
*/
|
|
class Cube : public virtual AbstractMultiPointMapObject
|
|
{
|
|
|
|
using BaseClass = AbstractMultiPointMapObject;
|
|
|
|
public:
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
* Don't use "= default" because of bug in VS2015 JT 2016/11/7
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
Cube() : BaseClass() {;} ///< Contructor
|
|
|
|
virtual ~Cube() = default; ///< Destructor
|
|
|
|
|
|
virtual double height() const = 0;
|
|
virtual void setHeight(double height) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace SituationMap
|