81 NOTIFY TargetEntityChanged
89 NOTIFY TargetNameChanged
121 NOTIFY MinDistanceChanged
129 NOTIFY MaxPointsChanged
139 public:
void LoadConfig(const
tinyxml2::XMLElement *_pluginElem) override;
147 public: Q_INVOKABLE
Entity TargetEntity() const;
151 public: Q_INVOKABLE
void SetTargetEntity(
Entity _entity);
154 signals:
void TargetEntityChanged();
158 public: Q_INVOKABLE QString TargetName() const;
162 public: Q_INVOKABLE
void SetTargetName(const QString &_name);
165 signals:
void TargetNameChanged();
169 public: Q_INVOKABLE
bool Locked() const;
173 public: Q_INVOKABLE
void SetLocked(
bool _locked);
176 signals:
void LockedChanged();
180 public: Q_INVOKABLE QVector3D Offset() const;
184 public: Q_INVOKABLE
void SetOffset(const QVector3D &_offset);
187 signals:
void OffsetChanged();
191 public: Q_INVOKABLE QVector3D Color() const;
195 public: Q_INVOKABLE
void SetColor(const QVector3D &_color);
198 signals:
void ColorChanged();
202 public: Q_INVOKABLE
double MinDistance() const;
207 public: Q_INVOKABLE
void SetMinDistance(
double _minDistance);
210 signals:
void MinDistanceChanged();
214 public: Q_INVOKABLE
int MaxPoints() const;
219 public: Q_INVOKABLE
void SetMaxPoints(
int _maxPoints);
222 signals:
void MaxPointsChanged();
225 protected:
bool eventFilter(QObject *_obj, QEvent *_event) override;
228 private:
void ClearPlot();
232 private:
std::unique_ptr<Plot3DPrivate> dataPtr;