![]() |
RobWorkProject
23.9.11-
|
Widget for a adjusting a MovableFrame. More...
#include <SliderTab.hpp>
Inherits QWidget, and QWidget.
Signals | |
| void | stateChanged (const rw::kinematics::State &state) |
| Emitted when the transform is changed. More... | |
| void | stateChanged (const rw::kinematics::State &state) |
Public Member Functions | |
| MovableFrameTab (const std::pair< rw::math::Q, rw::math::Q > &bounds, rw::kinematics::MovableFrame *frame, rw::models::WorkCell *workcell, const rw::kinematics::State &state) | |
| Construct a new tab for adjusting a MovableFrame. More... | |
| void | setUnits (const std::vector< double > &converters, const std::vector< std::string > &descriptions) |
| Set the units. More... | |
| void | updateValues (const rw::kinematics::State &state) |
| Change the transform. More... | |
| MovableFrameTab (const std::pair< rw::math::Q, rw::math::Q > &bounds, rw::kinematics::MovableFrame *frame, rw::models::WorkCell *workcell, const rw::kinematics::State &state) | |
| void | setUnits (const std::vector< double > &converters, const std::vector< std::string > &descriptions) |
| void | updateValues (const rw::kinematics::State &state) |
Widget for a adjusting a MovableFrame.
| MovableFrameTab | ( | const std::pair< rw::math::Q, rw::math::Q > & | bounds, |
| rw::kinematics::MovableFrame * | frame, | ||
| rw::models::WorkCell * | workcell, | ||
| const rw::kinematics::State & | state | ||
| ) |
Construct a new tab for adjusting a MovableFrame.
| bounds | [in] the lower and upper bounds - 6 elements of each corresponding to x,y,z,R,P and Y. |
| frame | [in] the MovableFrame to adjust. |
| workcell | [in] the workcell, allowing choice of different reference frames. |
| state | [in] the current state. |
| void setUnits | ( | const std::vector< double > & | converters, |
| const std::vector< std::string > & | descriptions | ||
| ) |
Set the units.
| converters | [in] the factor used to convert to units. |
| descriptions | [in] a description of the chosen units. |
|
signal |
Emitted when the transform is changed.
| state | [in] the new state. |
| void updateValues | ( | const rw::kinematics::State & | state | ) |
Change the transform.
| state | [in] the state with the new configuration. |