gz/rendering/base/BaseRayQuery.hh
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/base/BaseRayQuery.hh:36
double distance
Intersection distance.
Definition: gz/rendering/RayQuery.hh:38
virtual math::Vector3d Direction() const override
Get ray direction.
Definition: gz/rendering/base/BaseRayQuery.hh:107
BaseRayQuery()
Constructor.
Definition: gz/rendering/base/BaseRayQuery.hh:74
virtual void SetOrigin(const math::Vector3d &_origin) override
Set ray origin.
Definition: gz/rendering/base/BaseRayQuery.hh:86
math::Vector3d origin
Ray origin.
Definition: gz/rendering/base/BaseRayQuery.hh:66
A class that stores ray query intersection results.
Definition: gz/rendering/RayQuery.hh:35
virtual void SetFromCamera(const CameraPtr &_camera, const math::Vector2d &_coord) override
Create the ray query from camera.
Definition: gz/rendering/base/BaseRayQuery.hh:114
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/RayQuery.hh:63
virtual ~BaseRayQuery() override
Destructor.
Definition: gz/rendering/base/BaseRayQuery.hh:80
virtual void SetDirection(const math::Vector3d &_dir) override
Set ray direction.
Definition: gz/rendering/base/BaseRayQuery.hh:100
math::Vector3d direction
Ray direction.
Definition: gz/rendering/base/BaseRayQuery.hh:69
virtual RayQueryResult ClosestPoint() override
Compute intersections.
Definition: gz/rendering/base/BaseRayQuery.hh:145
virtual math::Vector3d Origin() const override
Get ray origin.
Definition: gz/rendering/base/BaseRayQuery.hh:93