Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/MapObjectsImpl/cube_impl.h
T
berrux-dev 598fc2560e Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
2026-10-20 09:36:57 +02:00

77 lines
1.6 KiB
C++
Executable File

/**
* @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 <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