17 #ifndef GAZEBO_RENDERING_RAYQUERY_HH_
18 #define GAZEBO_RENDERING_RAYQUERY_HH_
22 #include <ignition/math/Triangle3.hh>
23 #include <ignition/math/Vector3.hh>
34 class RayQueryPrivate;
57 public:
bool SelectMeshTriangle(
const int _x,
const int _y,
59 ignition::math::Vector3d &_intersect,
60 ignition::math::Triangle3d &_triangle)
const;
66 std::vector<rendering::VisualPtr> &_visuals)
const;
70 private: std::unique_ptr<RayQueryPrivate> dataPtr;
A Ray Query class used for retrieving mesh data of a visual, adapted from Ogre3D wiki.
Definition: RayQuery.hh:42
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:90