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