12#ifndef VTKINTERFACE_HPP
13#define VTKINTERFACE_HPP
21#include "UtOptional.hpp"
22#include "VaCallbackHolder.hpp"
23#include "WkfPlatform.hpp"
73 void ActionsForNodeRequested(const
WsfPProxyNode& aNode, QMenu* aMenuPtr, QWidget* aParentWidgetPtr);
82 void UpdateReferencePlatformZones(const
std::
string& aPlatformName);
83 void OnPlatformListChange(const
ProxyChange& aProxyChange);
84 void OnZoneListChange(const
ProxyChange& aProxyChange);
85 void OnScenarioChange(const
ProxyChange& aProxyChange);
86 unsigned int AssignId(const
std::
string& aPath);
87 unsigned int LookupId(const
std::
string& aPath) const;
90 void DragEnter(QDragEnterEvent* aEvent);
91 void DragDrop(QDropEvent* aEvent);
92 bool PasteMime(const QMimeData* aMimeData,
double aLat,
double aLon);
93 void MoveSelectionAndAttachmentComplete(const
wkf::PlatformList& aPlatformList,
94 const
wkf::EntityList& aNonPlatformList,
95 const
vespa::VaAttachmentList& aAttachmentList);
97 void UpdateClassificationBannerText(const
std::
string& aText, const UtColor& aColor);
98 void StandardWidgetChangedCB(
vespa::VaWidget* aWidgetPtr);
101 UtCallbackHolder mProxyCallbacks;
102 UtCallbackHolder mProxyAvailableCallback;
103 unsigned int mNextId;
104 std::map<
std::
string,
unsigned int> mNameToIdMap;
105 std::map<
unsigned int,
std::
string> mIdToNameMap;
108 QMetaObject::Connection mConnection;
109 vespa::VaCallbackHolder mVtkCallbacks;
110 ut::optional<QString> mPlatformSelectionRequest;
112 static const
std::
string cGLOBAL_ZONES_PREFIX;
Definition WsfPM_Root.hpp:24
Definition WsfPM_Zone.hpp:57
Definition WsfPProxyNode.hpp:60
Definition WsfPProxy.hpp:32
Defines a list of motions a platform could take.
Definition WsfPathList.hpp:30
Records a change to proxy data.
Definition ProxyChange.hpp:21
~VtkInterface() override
Definition VtkInterface.cpp:88
void AttachmentAdded(vespa::VaAttachment *aAttachmentPtr)
MoveMode GetMoveMode() const noexcept
Definition VtkInterface.cpp:192
void SetMoveMode(MoveMode aMoveMode) noexcept
Definition VtkInterface.cpp:187
VtkInterface()
Definition VtkInterface.cpp:67
void OnProxyAvailable(WsfPProxy *aProxyPtr)
Definition VtkInterface.cpp:93
MoveMode
Represents the transformation used when moving entities and attachments.
Definition VtkInterface.hpp:54
@ TranslateSelection
mode for translation of a selection (the default)
Definition VtkInterface.hpp:58
@ RotateScenario
mode for rotation of the entire scenario
Definition VtkInterface.hpp:55
@ TranslateScenario
mode for translation of the entire scenario
Definition VtkInterface.hpp:57
@ RotateSelection
mode for rotation of a selection
Definition VtkInterface.hpp:56
void RequestSelectPlatform(const QString &aPlatformName)
Definition VtkInterface.cpp:165
Definition ZoneSet.hpp:35
Template specialization for wsf::comm::Address. Allows usage of Address in std::unordered_map/set.
Definition WsfCommAddress.hpp:185
Definition WsfSensorErrorModel.hpp:21
Definition EditorHelpers.hpp:37
Definition ActionManager.hpp:28