17 #ifndef GAZEBO_GUI_MODELSNAP_HH_ 18 #define GAZEBO_GUI_MODELSNAP_HH_ 22 #include <ignition/math/Quaternion.hh> 23 #include <ignition/math/Triangle3.hh> 38 class ModelSnapPrivate;
71 const ignition::math::Triangle3d &_triangleSrc,
72 const ignition::math::Triangle3d &_triangleDest,
85 public:
static void SnapTransform(
86 const ignition::math::Triangle3d &_triangleSrc,
87 const ignition::math::Triangle3d &_triangleDest,
88 const ignition::math::Pose3d &_poseSrc,
89 ignition::math::Vector3d &_trans,
90 ignition::math::Quaterniond &_rot);
109 private:
void Update();
116 private: std::unique_ptr<ModelSnapPrivate> dataPtr;
Generic description of a mouse event.
Definition: MouseEvent.hh:35
Forward declarations for the common classes.
Definition: Animation.hh:26
A gui tool for snapping one model to another.
Definition: ModelSnap.hh:42
Singleton template class.
Definition: SingletonT.hh:33
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.