Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/PlugIns/OctreeSceneManager/include/OgreOctreeSceneQuery.h @ 1

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