gz/rendering/RayQuery.hh
Go to the documentation of this file.
Represents an object present in the scene graph. This includes sub-meshes, materials,...
Definition: gz/rendering/Object.hh:35
A class that stores ray query intersection results.
Definition: gz/rendering/RayQuery.hh:36
math::Vector3d point
Intersection point in 3d space.
Definition: gz/rendering/RayQuery.hh:42
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/RayQuery.hh:65
virtual math::Vector3d Direction() const =0
Get ray direction.
virtual void SetFromCamera(const CameraPtr &_camera, const math::Vector2d &_coord)=0
Create the ray query from camera.
virtual ~RayQuery()
Destructor.
Definition: gz/rendering/RayQuery.hh:67
virtual void SetOrigin(const math::Vector3d &_origin)=0
Set ray origin.
virtual RayQueryResult ClosestPoint()=0
Compute intersections.
virtual void SetDirection(const math::Vector3d &_dir)=0
Set ray direction.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING