28 #include <qobjectdefs.h>
66 std::optional<GuiGraph::Vertex>
vertex();
70 Eigen::Vector3d
xyz()
const;
71 Eigen::Vector3d
rpyDeg()
const;
72 Eigen::Vector3d
rpyRad()
const;
87 void _updateAngleUnit();
88 void _updateVertexAttribs();
89 void _updateVertexAgent();
90 void _updateVertexFrame();
91 void _removeInstance();
95 void _setFromVertex(
const GuiGraph::Vertex&
vertex);
96 void _getToVertex(GuiGraph::Vertex&
vertex);
98 std::vector<QDoubleSpinBox*> _positionSpinBoxes();
99 std::vector<QDoubleSpinBox*> _angleSpinBoxes();
100 std::vector<QDoubleSpinBox*> _allSpinBoxes();
103 void _setXyz(
const Eigen::Vector3d&
xyz);
105 Eigen::Vector3d _rpyRaw()
const;
106 void _setRpyRaw(
const Eigen::Vector3d& rpy)
const;
107 void _setRpyDeg(
const Eigen::Vector3d&
rpyDeg)
const;
108 void _setRpyRad(
const Eigen::Vector3d&
rpyRad)
const;
110 void _setFromCurrentRobotPose();
112 void _loadFramedPoseFromVertex(
const GuiGraph::Vertex&
vertex);
113 void _updateAgentMenu();
114 void _updateFrameMenu();
116 void _framedPoseCoordinateConversion();
120 std::optional<GuiGraph::Vertex> _vertex;
123 QLineEdit* name =
nullptr;
124 QLineEdit* locationID =
nullptr;
125 QComboBox* agent =
nullptr;
126 QComboBox* frame =
nullptr;
127 QPushButton* removeInstanceButton =
nullptr;
129 QDoubleSpinBox* x =
nullptr;
130 QDoubleSpinBox* y =
nullptr;
131 QDoubleSpinBox* z =
nullptr;
133 QDoubleSpinBox* roll =
nullptr;
134 QDoubleSpinBox* pitch =
nullptr;
135 QDoubleSpinBox* yaw =
nullptr;
137 QRadioButton* angleUnitDeg =
nullptr;
138 QRadioButton* angleUnitRad =
nullptr;
142 QPushButton* _useCurrentRobotPose =
nullptr;