[657] | 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 | */
|
---|
| 25 | /***************************************************************************
|
---|
| 26 | OgreOctreeSceneQuery.h - description
|
---|
| 27 | -------------------
|
---|
| 28 | begin : Tues July 20, 2004
|
---|
| 29 | copyright : (C) 2004 by Jon Anderson
|
---|
| 30 | email : janders@users.sf.net
|
---|
| 31 | ***************************************************************************/
|
---|
| 32 |
|
---|
| 33 | #ifndef OCTREESCENEQUERY_H
|
---|
| 34 | #define OCTREESCENEQUERY_H
|
---|
| 35 |
|
---|
| 36 | #include "OgreTerrainPrerequisites.h"
|
---|
| 37 | #include <OgreSceneManager.h>
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | namespace Ogre
|
---|
| 41 | {
|
---|
| 42 | /** Octree implementation of IntersectionSceneQuery. */
|
---|
| 43 | class _OgreTerrainExport OctreeIntersectionSceneQuery : public DefaultIntersectionSceneQuery
|
---|
| 44 | {
|
---|
| 45 | public:
|
---|
| 46 | OctreeIntersectionSceneQuery(SceneManager* creator);
|
---|
| 47 | ~OctreeIntersectionSceneQuery();
|
---|
| 48 |
|
---|
| 49 | /** See IntersectionSceneQuery. */
|
---|
| 50 | void execute(IntersectionSceneQueryListener* listener);
|
---|
| 51 | };
|
---|
| 52 |
|
---|
| 53 | /** Octree implementation of RaySceneQuery. */
|
---|
| 54 | class _OgreTerrainExport OctreeRaySceneQuery : public DefaultRaySceneQuery
|
---|
| 55 | {
|
---|
| 56 | public:
|
---|
| 57 | OctreeRaySceneQuery(SceneManager* creator);
|
---|
| 58 | ~OctreeRaySceneQuery();
|
---|
| 59 |
|
---|
| 60 | /** See RayScenQuery. */
|
---|
| 61 | void execute(RaySceneQueryListener* listener);
|
---|
| 62 | };
|
---|
| 63 | /** Octree implementation of SphereSceneQuery. */
|
---|
| 64 | class _OgreTerrainExport OctreeSphereSceneQuery : public DefaultSphereSceneQuery
|
---|
| 65 | {
|
---|
| 66 | public:
|
---|
| 67 | OctreeSphereSceneQuery(SceneManager* creator);
|
---|
| 68 | ~OctreeSphereSceneQuery();
|
---|
| 69 |
|
---|
| 70 | /** See SceneQuery. */
|
---|
| 71 | void execute(SceneQueryListener* listener);
|
---|
| 72 | };
|
---|
| 73 | /** Octree implementation of PlaneBoundedVolumeListSceneQuery. */
|
---|
| 74 | class _OgreTerrainExport OctreePlaneBoundedVolumeListSceneQuery : public DefaultPlaneBoundedVolumeListSceneQuery
|
---|
| 75 | {
|
---|
| 76 | public:
|
---|
| 77 | OctreePlaneBoundedVolumeListSceneQuery(SceneManager* creator);
|
---|
| 78 | ~OctreePlaneBoundedVolumeListSceneQuery();
|
---|
| 79 |
|
---|
| 80 | /** See SceneQuery. */
|
---|
| 81 | void execute(SceneQueryListener* listener);
|
---|
| 82 | };
|
---|
| 83 | /** Octree implementation of AxisAlignedBoxSceneQuery. */
|
---|
| 84 | class _OgreTerrainExport OctreeAxisAlignedBoxSceneQuery : public DefaultAxisAlignedBoxSceneQuery
|
---|
| 85 | {
|
---|
| 86 | public:
|
---|
| 87 | OctreeAxisAlignedBoxSceneQuery(SceneManager* creator);
|
---|
| 88 | ~OctreeAxisAlignedBoxSceneQuery();
|
---|
| 89 |
|
---|
| 90 | /** See RayScenQuery. */
|
---|
| 91 | void execute(SceneQueryListener* listener);
|
---|
| 92 | };
|
---|
| 93 |
|
---|
| 94 |
|
---|
| 95 | }
|
---|
| 96 |
|
---|
| 97 | #endif
|
---|
| 98 |
|
---|
| 99 |
|
---|