Go to the documentation of this file.
17 #ifndef GAZEBO_GUI_MODELSNAP_HH_
18 #define GAZEBO_GUI_MODELSNAP_HH_
22 #include <ignition/math/Quaternion.hh>
23 #include <ignition/math/Triangle3.hh>
41 class ModelSnapPrivate;
74 const ignition::math::Triangle3d &_triangleSrc,
75 const ignition::math::Triangle3d &_triangleDest,
88 public:
static void SnapTransform(
89 const ignition::math::Triangle3d &_triangleSrc,
90 const ignition::math::Triangle3d &_triangleDest,
91 const ignition::math::Pose3d &_poseSrc,
92 ignition::math::Vector3d &_trans,
93 ignition::math::Quaterniond &_rot);
112 private:
void Update();
119 private: std::unique_ptr<ModelSnapPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26
Singleton template class.
Definition: SingletonT.hh:33
common
Definition: FuelModelDatabase.hh:37
gazebo
Definition: ModelSnap.hh:30
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
gui
Definition: ModelSnap.hh:30
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
A gui tool for snapping one model to another.
Definition: ModelSnap.hh:45
#define GZ_SINGLETON_DECLARE(visibility, n1, n2, singletonType)
Helper to declare typed SingletonT.
Definition: SingletonT.hh:58
Generic description of a mouse event.
Definition: MouseEvent.hh:35