17 #ifndef GAZEBO_GUI_MODELALIGN_HH_
18 #define GAZEBO_GUI_MODELALIGN_HH_
24 #include <ignition/math/Box.hh>
25 #include <ignition/math/Pose3.hh>
26 #include <ignition/math/Vector3.hh>
40 class ModelAlignPrivate;
66 public:
void AlignVisuals(std::vector<rendering::VisualPtr> _visuals,
67 const std::string &_axis,
const std::string &_config,
68 const std::string &_target,
const bool _publish =
true,
69 const bool _inverted =
false);
76 const std::vector<ignition::math::Vector3d> &_vertices,
77 ignition::math::Vector3d &
_min,
78 ignition::math::Vector3d &_max);
85 private:
void Transform(
const ignition::math::Box &_bbox,
86 const ignition::math::Pose3d &_worldPose,
87 std::vector<ignition::math::Vector3d> &_vertices);
95 const bool _highlight);
102 private: std::unique_ptr<ModelAlignPrivate> dataPtr;
A gui tool for aligning models.
Definition: ModelAlign.hh:44
T T _min
Definition: Helpers.hh:130
Singleton template class.
Definition: SingletonT.hh:33
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:113
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.