Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+76
View File
@@ -0,0 +1,76 @@
/**
* @RDE_HEADER@
* Interface-Implementation of DangerArea
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
// Own
#include "abstract_multi_point_map_object_impl.h"
#include "basic_path_object_impl.h"
#include <MapObjects/cube.h> // Interface
// ESRI
#include <arcgis/Graphic.h>
// Qt
#include <QString>
//----------------------------------------------------------------------------
namespace SituationMap
{
/**
* @brief The CubeImpl class a cube if the UniqueValueRenderer is set.
*
* A class instance consists of the following logical elements:
* - mainGraphicalObject (GraphicalObjectPath displaying the main techn. Appearance, the cube)
* - mainGraphicalObjectText not used
* - tacticalAppearance not used
*/
// inherent 'public', to get that implementation
// inherent 'public virtual' to get that interface
class SITUATIONMAPOBJECTS_EXPORT CubeImpl : public AbstractMultiPointMapObjectImpl, public virtual Cube
{
using BaseClass = AbstractMultiPointMapObjectImpl;
template <typename> friend class GenericObjectFactory;
protected:
explicit CubeImpl(const QString &debugInfo = QString());
virtual ~CubeImpl();
public:
CubeImpl(const CubeImpl &other) = delete;
CubeImpl &operator=(CubeImpl &other) = delete;
double height() const override;
void setHeight(double height) override;
protected:
bool updateViewImpl() override;
bool init(MapImpl *mapImpl, const QString &logicalLayerName) override;
// internal/admin
// logical
private:
double m_height;
LOGGER_T m_logger; ///< Interface of the Logging-Facility
};
} // namespace SituationMap