18 #ifndef GZ_SIM_GUI_VIEWANGLE_HH_
19 #define GZ_SIM_GUI_VIEWANGLE_HH_
21 #include <gz/msgs/pose.pb.h>
22 #include <gz/msgs/boolean.pb.h>
23 #include <gz/msgs/gui_camera.pb.h>
27 #include <gz/gui/Plugin.hh>
33 class ViewAnglePrivate;
79 public:
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override;
82 private:
bool eventFilter(QObject *_obj, QEvent *_event) override;
91 public slots:
void OnAngleMode(
int _x,
int _y,
int _z);
118 public: Q_INVOKABLE QList<
double>
CamPose() const;
126 public slots:
void SetCamPose(
double _x,
double _y,
double _z,
127 double _roll,
double _pitch,
double _yaw);
137 gz::msgs::Boolean &_res);
140 public: Q_INVOKABLE QList<
double>
CamClipDist() const;
158 private:
std::unique_ptr<ViewAnglePrivate> dataPtr;