gz/rendering/MoveToHelper.hh
Go to the documentation of this file.
Helper class for animating a user camera to move to a target entity.
Definition: gz/rendering/MoveToHelper.hh:42
void LookDirection(const rendering::CameraPtr &_camera, const math::Vector3d &_direction, const math::Vector3d &_lookAt, double _duration, std::function< void()> _onAnimationComplete)
Move the camera to look at the specified target param[in] _camera Camera to be moved param[in] _direc...
void SetInitCameraPose(const math::Pose3d &_pose)
Set the initial camera pose param[in] _pose The init pose of the camera.
MoveToHelper()
~MoveToHelper()
bool Idle() const
Get whether the move to helper is idle, i.e. no animation is being executed.
void MoveTo(const rendering::CameraPtr &_camera, const rendering::NodePtr &_target, double _duration, std::function< void()> _onAnimationComplete)
Move the camera to look at the specified target param[in] _camera Camera to be moved param[in] _targe...
void MoveTo(const rendering::CameraPtr &_camera, const math::Pose3d &_target, double _duration, std::function< void()> _onAnimationComplete)
Move the camera to the specified pose. param[in] _camera Camera to be moved param[in] _target Pose to...
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING