OGRE  1.8
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OgrePCZSceneQuery.h
Go to the documentation of this file.
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 (c) 2000-2013 Torus Knot Software Ltd
8 
9 Permission is hereby granted, free of charge, to any person obtaining a copy
10 of this software and associated documentation files (the "Software"), to deal
11 in the Software without restriction, including without limitation the rights
12 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 copies of the Software, and to permit persons to whom the Software is
14 furnished to do so, subject to the following conditions:
15 
16 The above copyright notice and this permission notice shall be included in
17 all copies or substantial portions of the Software.
18 
19 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25 THE SOFTWARE.
26 -----------------------------------------------------------------------------
27 OgrePCZSceneQuery.h - description
28 -----------------------------------------------------------------------------
29 begin : Wed Feb 21, 2007
30 author : Eric Cha
31 email : ericc@xenopi.com
32 Code Style Update :
33 -----------------------------------------------------------------------------
34 */
35 
36 #ifndef PCZSCENEQUERY_H
37 #define PCZSCENEQUERY_H
38 
39 #include <OgreSceneManager.h>
40 #include "OgrePCZPrerequisites.h"
41 #include "OgrePCZone.h"
42 
43 
44 namespace Ogre
45 {
48  {
49  public:
52 
54  void execute(IntersectionSceneQueryListener* listener);
55  };
58  {
59  public:
62 
64  void execute(SceneQueryListener* listener);
65 
67  void setStartZone(PCZone * startZone) {mStartZone = startZone;}
69  void setExcludeNode(SceneNode * excludeNode) {mExcludeNode = excludeNode;}
70  protected:
73  };
76  {
77  public:
80 
82  void execute(RaySceneQueryListener* listener);
83 
85  void setStartZone(PCZone * startZone) {mStartZone = startZone;}
87  void setExcludeNode(SceneNode * excludeNode) {mExcludeNode = excludeNode;}
88  protected:
91  };
94  {
95  public:
98 
100  void execute(SceneQueryListener* listener);
101 
103  void setStartZone(PCZone * startZone) {mStartZone = startZone;}
105  void setExcludeNode(SceneNode * excludeNode) {mExcludeNode = excludeNode;}
106  protected:
109  };
112  {
113  public:
116 
118  void execute(SceneQueryListener* listener);
119 
121  void setStartZone(PCZone * startZone) {mStartZone = startZone;}
123  void setExcludeNode(SceneNode * excludeNode) {mExcludeNode = excludeNode;}
124  protected:
127  };
128 
129 
130 }
131 
132 #endif
133 
134 
Manages the organisation and rendering of a 'scene' i.e.
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Default implementation of SphereSceneQuery.
PCZ implementation of AxisAlignedBoxSceneQuery.
Class representing a node in the scene graph.
Definition: OgreSceneNode.h:58
PCZ implementation of RaySceneQuery.
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Default implementation of IntersectionSceneQuery.
PCZ implementation of IntersectionSceneQuery.
PCZ implementation of SphereSceneQuery.
Alternative listener class for dealing with RaySceneQuery.
Alternative listener class for dealing with IntersectionSceneQuery.
#define _OgrePCZPluginExport
Default implementation of RaySceneQuery.
PCZ implementation of PlaneBoundedVolumeListSceneQuery.
Default implementation of AxisAlignedBoxSceneQuery.
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Portal-Connected Zone datastructure for managing scene nodes.
Definition: OgrePCZone.h:82
Default implementation of PlaneBoundedVolumeListSceneQuery.
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
This optional class allows you to receive per-result callbacks from SceneQuery executions instead of ...
void setStartZone(PCZone *startZone)
set the zone to start the scene query
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
void setStartZone(PCZone *startZone)
set the zone to start the scene query