1 | /* |
---|
2 | ----------------------------------------------------------------------------- |
---|
3 | This source file is part of OGRE |
---|
4 | (Object-oriented Graphics Rendering Engine) |
---|
5 | For the latest info, see http://www.ogre3d.org/ |
---|
6 | |
---|
7 | Copyright 2000-2005 The OGRE Team |
---|
8 | Also see acknowledgements in Readme.html |
---|
9 | |
---|
10 | This program is free software; you can redistribute it and/or modify it under |
---|
11 | the terms of the GNU Lesser General Public License as published by the Free Software |
---|
12 | Foundation; either version 2 of the License, or (at your option) any later |
---|
13 | version. |
---|
14 | |
---|
15 | This program is distributed in the hope that it will be useful, but WITHOUT |
---|
16 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
---|
17 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
---|
18 | |
---|
19 | You should have received a copy of the GNU Lesser General Public License along with |
---|
20 | this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
---|
21 | Place - Suite 330, Boston, MA 02111-1307, USA, or go to |
---|
22 | http://www.gnu.org/copyleft/lesser.txt. |
---|
23 | |
---|
24 | You may alternatively use this source under the terms of a specific version of |
---|
25 | the OGRE Unrestricted License provided you have obtained such a license from |
---|
26 | Torus Knot Software Ltd. |
---|
27 | ----------------------------------------------------------------------------- |
---|
28 | */ |
---|
29 | /*************************************************************************** |
---|
30 | OgreOctreeSceneQuery.h - description |
---|
31 | ------------------- |
---|
32 | begin : Tues July 20, 2004 |
---|
33 | copyright : (C) 2004 by Jon Anderson |
---|
34 | email : janders@users.sf.net |
---|
35 | ***************************************************************************/ |
---|
36 | |
---|
37 | #ifndef OCTREESCENEQUERY_H |
---|
38 | #define OCTREESCENEQUERY_H |
---|
39 | |
---|
40 | #include "OgreTerrainPrerequisites.h" |
---|
41 | #include <OgreSceneManager.h> |
---|
42 | |
---|
43 | |
---|
44 | namespace Ogre |
---|
45 | { |
---|
46 | /** Octree implementation of IntersectionSceneQuery. */ |
---|
47 | class _OgreOctreePluginExport OctreeIntersectionSceneQuery : public DefaultIntersectionSceneQuery |
---|
48 | { |
---|
49 | public: |
---|
50 | OctreeIntersectionSceneQuery(SceneManager* creator); |
---|
51 | ~OctreeIntersectionSceneQuery(); |
---|
52 | |
---|
53 | /** See IntersectionSceneQuery. */ |
---|
54 | void execute(IntersectionSceneQueryListener* listener); |
---|
55 | }; |
---|
56 | |
---|
57 | /** Octree implementation of RaySceneQuery. */ |
---|
58 | class _OgreOctreePluginExport OctreeRaySceneQuery : public DefaultRaySceneQuery |
---|
59 | { |
---|
60 | public: |
---|
61 | OctreeRaySceneQuery(SceneManager* creator); |
---|
62 | ~OctreeRaySceneQuery(); |
---|
63 | |
---|
64 | /** See RayScenQuery. */ |
---|
65 | void execute(RaySceneQueryListener* listener); |
---|
66 | }; |
---|
67 | /** Octree implementation of SphereSceneQuery. */ |
---|
68 | class _OgreOctreePluginExport OctreeSphereSceneQuery : public DefaultSphereSceneQuery |
---|
69 | { |
---|
70 | public: |
---|
71 | OctreeSphereSceneQuery(SceneManager* creator); |
---|
72 | ~OctreeSphereSceneQuery(); |
---|
73 | |
---|
74 | /** See SceneQuery. */ |
---|
75 | void execute(SceneQueryListener* listener); |
---|
76 | }; |
---|
77 | /** Octree implementation of PlaneBoundedVolumeListSceneQuery. */ |
---|
78 | class _OgreOctreePluginExport OctreePlaneBoundedVolumeListSceneQuery : public DefaultPlaneBoundedVolumeListSceneQuery |
---|
79 | { |
---|
80 | public: |
---|
81 | OctreePlaneBoundedVolumeListSceneQuery(SceneManager* creator); |
---|
82 | ~OctreePlaneBoundedVolumeListSceneQuery(); |
---|
83 | |
---|
84 | /** See SceneQuery. */ |
---|
85 | void execute(SceneQueryListener* listener); |
---|
86 | }; |
---|
87 | /** Octree implementation of AxisAlignedBoxSceneQuery. */ |
---|
88 | class _OgreOctreePluginExport OctreeAxisAlignedBoxSceneQuery : public DefaultAxisAlignedBoxSceneQuery |
---|
89 | { |
---|
90 | public: |
---|
91 | OctreeAxisAlignedBoxSceneQuery(SceneManager* creator); |
---|
92 | ~OctreeAxisAlignedBoxSceneQuery(); |
---|
93 | |
---|
94 | /** See RaySceneQuery. */ |
---|
95 | void execute(SceneQueryListener* listener); |
---|
96 | }; |
---|
97 | |
---|
98 | |
---|
99 | } |
---|
100 | |
---|
101 | #endif |
---|
102 | |
---|
103 | |
---|