Gazebo Rendering

API Reference

3.7.2
gz/rendering/ogre2/Ogre2RayQuery.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 #ifndef GZ_RENDERING_OGRE2_OGRE2RAYQUERY_HH_
18 #define GZ_RENDERING_OGRE2_OGRE2RAYQUERY_HH_
19 
20 #include <memory>
21 
26 
27 namespace ignition
28 {
29  namespace rendering
30  {
31  inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
32  //
33  // forward declaration
34  class Ogre2RayQueryPrivate;
35 
39  class IGNITION_RENDERING_OGRE2_VISIBLE Ogre2RayQuery :
40  public BaseRayQuery<Ogre2Object>
41  {
43  protected: Ogre2RayQuery();
44 
46  public: virtual ~Ogre2RayQuery();
47 
48  // Documentation inherited
49  public: virtual void SetFromCamera(const CameraPtr &_camera,
50  const math::Vector2d &_coord);
51 
52  // Documentation inherited
53  public: virtual RayQueryResult ClosestPoint();
54 
57 
59  private: friend class Ogre2Scene;
60  };
61  }
62  }
63 }
64 #endif
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/base/BaseRayQuery.hh:36
STL class.
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/ogre2/Ogre2RayQuery.hh:39
Ogre2.x implementation of the scene class.
Definition: gz/rendering/ogre2/Ogre2Scene.hh:41
A class that stores ray query intersection results.
Definition: gz/rendering/RayQuery.hh:35