18 #ifndef GZ_SIM_GUI_3DPLOT_HH_
19 #define GZ_SIM_GUI_3DPLOT_HH_
25 #include "gz/gui/qt.h"
126 public: ~
Plot3D() override;
129 public:
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override;
148 public: Q_INVOKABLE QString
TargetName() const;
152 public: Q_INVOKABLE
void SetTargetName(const QString &_name);
159 public: Q_INVOKABLE
bool Locked() const;
163 public: Q_INVOKABLE
void SetLocked(
bool _locked);
170 public: Q_INVOKABLE QVector3D
Offset() const;
174 public: Q_INVOKABLE
void SetOffset(const QVector3D &_offset);
181 public: Q_INVOKABLE QVector3D
Color() const;
185 public: Q_INVOKABLE
void SetColor(const QVector3D &_color);
204 public: Q_INVOKABLE
int MaxPoints() const;
215 protected:
bool eventFilter(QObject *_obj, QEvent *_event) override;
218 private:
void ClearPlot();
222 private:
std::unique_ptr<Plot3DPrivate> dataPtr;