17 #ifndef GAZEBO_RENDERING_RAYQUERY_HH_
18 #define GAZEBO_RENDERING_RAYQUERY_HH_
22 #include <ignition/math/Triangle3.hh>
23 #include <ignition/math/Vector3.hh>
39 class RayQueryPrivate;
62 public:
bool SelectMeshTriangle(
int _x,
int _y,
VisualPtr _visual,
63 math::Vector3 &_intersect, std::vector<math::Vector3> &_vertices)
72 public:
bool SelectMeshTriangle(
const int _x,
const int _y,
74 ignition::math::Vector3d &_intersect,
75 ignition::math::Triangle3d &_triangle)
const;
81 std::vector<rendering::VisualPtr> &_visuals)
const;
85 private: std::unique_ptr<RayQueryPrivate> dataPtr;
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:44
A Ray Query class used for retrieving mesh data of a visual, adapted from Ogre3D wiki.
Definition: RayQuery.hh:47
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:113
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:89