1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::DefaultSphereSceneQuery class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::DefaultSphereSceneQuery Class Reference</h1>Default implementation of <a class="el" href="classOgre_1_1SphereSceneQuery.html">SphereSceneQuery</a>. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreSceneManager_8h-source.html">OgreSceneManager.h</a>></code> |
---|
14 | <p> |
---|
15 | <p>Inheritance diagram for Ogre::DefaultSphereSceneQuery: |
---|
16 | <p><center><img src="classOgre_1_1DefaultSphereSceneQuery.png" usemap="#Ogre::DefaultSphereSceneQuery_map" border="0" alt=""></center> |
---|
17 | <map name="Ogre::DefaultSphereSceneQuery_map"> |
---|
18 | <area href="classOgre_1_1SphereSceneQuery.html" alt="Ogre::SphereSceneQuery" shape="rect" coords="105,112,305,136"> |
---|
19 | <area href="classOgre_1_1RegionSceneQuery.html" alt="Ogre::RegionSceneQuery" shape="rect" coords="105,56,305,80"> |
---|
20 | <area href="classOgre_1_1SceneQuery.html" alt="Ogre::SceneQuery" shape="rect" coords="0,0,200,24"> |
---|
21 | <area href="classOgre_1_1SceneQueryListener.html" alt="Ogre::SceneQueryListener" shape="rect" coords="210,0,410,24"> |
---|
22 | <area href="classOgre_1_1OctreeSphereSceneQuery.html" alt="Ogre::OctreeSphereSceneQuery" shape="rect" coords="105,224,305,248"> |
---|
23 | </map> |
---|
24 | <a href="classOgre_1_1DefaultSphereSceneQuery-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
25 | <tr><td></td></tr> |
---|
26 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr> |
---|
27 | <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> { <br> |
---|
28 | <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw0">WFT_NONE</a>, |
---|
29 | <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw1">WFT_PLANE_BOUNDED_REGION</a>, |
---|
30 | <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw2">WFT_SINGLE_INTERSECTION</a>, |
---|
31 | <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw3">WFT_CUSTOM_GEOMETRY</a>, |
---|
32 | <br> |
---|
33 | <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw4">WFT_RENDER_OPERATION</a> |
---|
34 | <br> |
---|
35 | }</td></tr> |
---|
36 | |
---|
37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This type can be used by collaborating applications & SceneManagers to agree on the type of world geometry to be returned from queries. <a href="#Ogre_1_1TerrainRaySceneQueryw5">More...</a><br><br></td></tr> |
---|
38 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
39 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DefaultSphereSceneQuery.html#Ogre_1_1DefaultSphereSceneQuerya0">DefaultSphereSceneQuery</a> (<a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *creator)</td></tr> |
---|
40 | |
---|
41 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DefaultSphereSceneQuery.html#Ogre_1_1DefaultSphereSceneQuerya1">~DefaultSphereSceneQuery</a> ()</td></tr> |
---|
42 | |
---|
43 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DefaultSphereSceneQuery.html#Ogre_1_1DefaultSphereSceneQuerya2">execute</a> (<a class="el" href="classOgre_1_1SceneQueryListener.html">SceneQueryListener</a> *listener)</td></tr> |
---|
44 | |
---|
45 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classOgre_1_1SceneQuery.html">SceneQuery</a>. <a href="#Ogre_1_1DefaultSphereSceneQuerya2"></a><br><br></td></tr> |
---|
46 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SphereSceneQuery.html#Ogre_1_1SphereSceneQuerya2">setSphere</a> (const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &sphere)</td></tr> |
---|
47 | |
---|
48 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the sphere which is to be used for this query. <a href="#Ogre_1_1SphereSceneQuerya2"></a><br><br></td></tr> |
---|
49 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SphereSceneQuery.html#Ogre_1_1SphereSceneQuerya3">getSphere</a> () const </td></tr> |
---|
50 | |
---|
51 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the sphere which is being used for this query. <a href="#Ogre_1_1SphereSceneQuerya3"></a><br><br></td></tr> |
---|
52 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="structOgre_1_1SceneQueryResult.html">SceneQueryResult</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQuerya4">execute</a> (void)</td></tr> |
---|
53 | |
---|
54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Executes the query, returning the results back in one list. <a href="#Ogre_1_1SphereSceneQuerya4"></a><br><br></td></tr> |
---|
55 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="structOgre_1_1SceneQueryResult.html">SceneQueryResult</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQuerya6">getLastResults</a> (void) const </td></tr> |
---|
56 | |
---|
57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the results of the last query that was run using this object, provided the query was executed using the collection-returning version of execute. <a href="#Ogre_1_1SphereSceneQuerya6"></a><br><br></td></tr> |
---|
58 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQuerya7">clearResults</a> (void)</td></tr> |
---|
59 | |
---|
60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the results of the last query execution. <a href="#Ogre_1_1SphereSceneQuerya7"></a><br><br></td></tr> |
---|
61 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQuerya8">queryResult</a> (<a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> *first)</td></tr> |
---|
62 | |
---|
63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Self-callback in order to deal with execute which returns collection. <a href="#Ogre_1_1SphereSceneQuerya8"></a><br><br></td></tr> |
---|
64 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQuerya9">queryResult</a> (<a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> *fragment)</td></tr> |
---|
65 | |
---|
66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Self-callback in order to deal with execute which returns collection. <a href="#Ogre_1_1SphereSceneQuerya9"></a><br><br></td></tr> |
---|
67 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQuerya13">setQueryMask</a> (<a class="el" href="namespaceOgre.html#a455">uint32</a> mask)</td></tr> |
---|
68 | |
---|
69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the mask for results of this query. <a href="#Ogre_1_1TerrainRaySceneQuerya13"></a><br><br></td></tr> |
---|
70 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a455">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQuerya14">getQueryMask</a> (void) const </td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current mask for this query. <a href="#Ogre_1_1TerrainRaySceneQuerya14"></a><br><br></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQuerya15">setQueryTypeMask</a> (<a class="el" href="namespaceOgre.html#a455">uint32</a> mask)</td></tr> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the type mask for results of this query. <a href="#Ogre_1_1TerrainRaySceneQuerya15"></a><br><br></td></tr> |
---|
76 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a455">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQuerya16">getQueryTypeMask</a> (void) const </td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current mask for this query. <a href="#Ogre_1_1TerrainRaySceneQuerya16"></a><br><br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQuerya17">setWorldFragmentType</a> (enum <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> wft)</td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tells the query what kind of world geometry to return from queries; often the full renderable geometry is not what is needed. <a href="#Ogre_1_1TerrainRaySceneQuerya17"></a><br><br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQuerya18">getWorldFragmentType</a> (void) const </td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current world fragment types to be returned from the query. <a href="#Ogre_1_1TerrainRaySceneQuerya18"></a><br><br></td></tr> |
---|
85 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::set< <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> > * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQuerya19">getSupportedWorldFragmentTypes</a> (void) const </td></tr> |
---|
86 | |
---|
87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the types of world fragments this query supports. <a href="#Ogre_1_1TerrainRaySceneQuerya19"></a><br><br></td></tr> |
---|
88 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Sphere.html">Sphere</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SphereSceneQuery.html#Ogre_1_1SphereSceneQueryp0">mSphere</a></td></tr> |
---|
90 | |
---|
91 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structOgre_1_1SceneQueryResult.html">SceneQueryResult</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQueryp1">mLastResult</a></td></tr> |
---|
92 | |
---|
93 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp5">mParentSceneMgr</a></td></tr> |
---|
94 | |
---|
95 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a455">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp6">mQueryMask</a></td></tr> |
---|
96 | |
---|
97 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a455">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp7">mQueryTypeMask</a></td></tr> |
---|
98 | |
---|
99 | <tr><td class="memItemLeft" nowrap align=right valign=top>std::set< <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp8">mSupportedWorldFragments</a></td></tr> |
---|
100 | |
---|
101 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp9">mWorldFragmentType</a></td></tr> |
---|
102 | |
---|
103 | </table> |
---|
104 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
105 | Default implementation of <a class="el" href="classOgre_1_1SphereSceneQuery.html">SphereSceneQuery</a>. |
---|
106 | <p> |
---|
107 | |
---|
108 | <p> |
---|
109 | Definition at line <a class="el" href="OgreSceneManager_8h-source.html#l02353">2353</a> of file <a class="el" href="OgreSceneManager_8h-source.html">OgreSceneManager.h</a>.<hr><h2>Member Enumeration Documentation</h2> |
---|
110 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQueryw5" doxytag="Ogre::DefaultSphereSceneQuery::WorldFragmentType" ></a><p> |
---|
111 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
112 | <tr> |
---|
113 | <td class="mdRow"> |
---|
114 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
115 | <tr> |
---|
116 | <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">Ogre::SceneQuery::WorldFragmentType</a><code> [inherited]</code> |
---|
117 | </table> |
---|
118 | </td> |
---|
119 | </tr> |
---|
120 | </table> |
---|
121 | <table cellspacing=5 cellpadding=0 border=0> |
---|
122 | <tr> |
---|
123 | <td> |
---|
124 | |
---|
125 | </td> |
---|
126 | <td> |
---|
127 | |
---|
128 | <p> |
---|
129 | This type can be used by collaborating applications & SceneManagers to agree on the type of world geometry to be returned from queries. |
---|
130 | <p> |
---|
131 | Not all these types will be supported by all SceneManagers; once the application has decided which <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> specialisation to use, it is expected that it will know which type of world geometry abstraction is available to it. <dl compact><dt><b>Enumeration values: </b></dt><dd> |
---|
132 | <table border=0 cellspacing=2 cellpadding=0> |
---|
133 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw0" doxytag="WFT_NONE" ></a>WFT_NONE</em> </td><td> |
---|
134 | Return no world geometry hits at all. </td></tr> |
---|
135 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw1" doxytag="WFT_PLANE_BOUNDED_REGION" ></a>WFT_PLANE_BOUNDED_REGION</em> </td><td> |
---|
136 | Return pointers to convex plane-bounded regions. </td></tr> |
---|
137 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw2" doxytag="WFT_SINGLE_INTERSECTION" ></a>WFT_SINGLE_INTERSECTION</em> </td><td> |
---|
138 | Return a single intersection point (typically <a class="el" href="classOgre_1_1RaySceneQuery.html">RaySceneQuery</a> only). </td></tr> |
---|
139 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw3" doxytag="WFT_CUSTOM_GEOMETRY" ></a>WFT_CUSTOM_GEOMETRY</em> </td><td> |
---|
140 | Custom geometry as defined by the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>. </td></tr> |
---|
141 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TerrainRaySceneQueryw5Ogre_1_1TerrainRaySceneQueryw4" doxytag="WFT_RENDER_OPERATION" ></a>WFT_RENDER_OPERATION</em> </td><td> |
---|
142 | General <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure. </td></tr> |
---|
143 | </table> |
---|
144 | </dl> |
---|
145 | |
---|
146 | <p> |
---|
147 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00073">73</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
148 | </tr> |
---|
149 | </table> |
---|
150 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
151 | <a class="anchor" name="Ogre_1_1DefaultSphereSceneQuerya0" doxytag="Ogre::DefaultSphereSceneQuery::DefaultSphereSceneQuery" ></a><p> |
---|
152 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
153 | <tr> |
---|
154 | <td class="mdRow"> |
---|
155 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
156 | <tr> |
---|
157 | <td class="md" nowrap valign="top"> Ogre::DefaultSphereSceneQuery::DefaultSphereSceneQuery </td> |
---|
158 | <td class="md" valign="top">( </td> |
---|
159 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> * </td> |
---|
160 | <td class="mdname1" valign="top" nowrap> <em>creator</em> </td> |
---|
161 | <td class="md" valign="top"> ) </td> |
---|
162 | <td class="md" nowrap></td> |
---|
163 | </tr> |
---|
164 | |
---|
165 | </table> |
---|
166 | </td> |
---|
167 | </tr> |
---|
168 | </table> |
---|
169 | <table cellspacing=5 cellpadding=0 border=0> |
---|
170 | <tr> |
---|
171 | <td> |
---|
172 | |
---|
173 | </td> |
---|
174 | <td> |
---|
175 | |
---|
176 | <p> |
---|
177 | </td> |
---|
178 | </tr> |
---|
179 | </table> |
---|
180 | <a class="anchor" name="Ogre_1_1DefaultSphereSceneQuerya1" doxytag="Ogre::DefaultSphereSceneQuery::~DefaultSphereSceneQuery" ></a><p> |
---|
181 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
182 | <tr> |
---|
183 | <td class="mdRow"> |
---|
184 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
185 | <tr> |
---|
186 | <td class="md" nowrap valign="top"> Ogre::DefaultSphereSceneQuery::~<a class="el" href="classOgre_1_1DefaultSphereSceneQuery.html">DefaultSphereSceneQuery</a> </td> |
---|
187 | <td class="md" valign="top">( </td> |
---|
188 | <td class="mdname1" valign="top" nowrap> </td> |
---|
189 | <td class="md" valign="top"> ) </td> |
---|
190 | <td class="md" nowrap></td> |
---|
191 | </tr> |
---|
192 | |
---|
193 | </table> |
---|
194 | </td> |
---|
195 | </tr> |
---|
196 | </table> |
---|
197 | <table cellspacing=5 cellpadding=0 border=0> |
---|
198 | <tr> |
---|
199 | <td> |
---|
200 | |
---|
201 | </td> |
---|
202 | <td> |
---|
203 | |
---|
204 | <p> |
---|
205 | </td> |
---|
206 | </tr> |
---|
207 | </table> |
---|
208 | <hr><h2>Member Function Documentation</h2> |
---|
209 | <a class="anchor" name="Ogre_1_1SphereSceneQuerya7" doxytag="Ogre::DefaultSphereSceneQuery::clearResults" ></a><p> |
---|
210 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
211 | <tr> |
---|
212 | <td class="mdRow"> |
---|
213 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
214 | <tr> |
---|
215 | <td class="md" nowrap valign="top"> virtual void Ogre::RegionSceneQuery::clearResults </td> |
---|
216 | <td class="md" valign="top">( </td> |
---|
217 | <td class="md" nowrap valign="top">void </td> |
---|
218 | <td class="mdname1" valign="top" nowrap> </td> |
---|
219 | <td class="md" valign="top"> ) </td> |
---|
220 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
221 | </tr> |
---|
222 | |
---|
223 | </table> |
---|
224 | </td> |
---|
225 | </tr> |
---|
226 | </table> |
---|
227 | <table cellspacing=5 cellpadding=0 border=0> |
---|
228 | <tr> |
---|
229 | <td> |
---|
230 | |
---|
231 | </td> |
---|
232 | <td> |
---|
233 | |
---|
234 | <p> |
---|
235 | Clears the results of the last query execution. |
---|
236 | <p> |
---|
237 | <dl compact><dt><b>Remarks:</b></dt><dd>You only need to call this if you specifically want to free up the memory used by this object to hold the last query results. This object clears the results itself when executing and when destroying itself. </dd></dl> |
---|
238 | </td> |
---|
239 | </tr> |
---|
240 | </table> |
---|
241 | <a class="anchor" name="Ogre_1_1SphereSceneQuerya4" doxytag="Ogre::DefaultSphereSceneQuery::execute" ></a><p> |
---|
242 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
243 | <tr> |
---|
244 | <td class="mdRow"> |
---|
245 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
246 | <tr> |
---|
247 | <td class="md" nowrap valign="top"> virtual <a class="el" href="structOgre_1_1SceneQueryResult.html">SceneQueryResult</a>& Ogre::RegionSceneQuery::execute </td> |
---|
248 | <td class="md" valign="top">( </td> |
---|
249 | <td class="md" nowrap valign="top">void </td> |
---|
250 | <td class="mdname1" valign="top" nowrap> </td> |
---|
251 | <td class="md" valign="top"> ) </td> |
---|
252 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
253 | </tr> |
---|
254 | |
---|
255 | </table> |
---|
256 | </td> |
---|
257 | </tr> |
---|
258 | </table> |
---|
259 | <table cellspacing=5 cellpadding=0 border=0> |
---|
260 | <tr> |
---|
261 | <td> |
---|
262 | |
---|
263 | </td> |
---|
264 | <td> |
---|
265 | |
---|
266 | <p> |
---|
267 | Executes the query, returning the results back in one list. |
---|
268 | <p> |
---|
269 | <dl compact><dt><b>Remarks:</b></dt><dd>This method executes the scene query as configured, gathers the results into one structure and returns a reference to that structure. These results will also persist in this query object until the next query is executed, or <a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQuerya7">clearResults()</a> is called. An more lightweight version of this method that returns results through a listener is also available. </dd></dl> |
---|
270 | </td> |
---|
271 | </tr> |
---|
272 | </table> |
---|
273 | <a class="anchor" name="Ogre_1_1DefaultSphereSceneQuerya2" doxytag="Ogre::DefaultSphereSceneQuery::execute" ></a><p> |
---|
274 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
275 | <tr> |
---|
276 | <td class="mdRow"> |
---|
277 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
278 | <tr> |
---|
279 | <td class="md" nowrap valign="top"> void Ogre::DefaultSphereSceneQuery::execute </td> |
---|
280 | <td class="md" valign="top">( </td> |
---|
281 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SceneQueryListener.html">SceneQueryListener</a> * </td> |
---|
282 | <td class="mdname1" valign="top" nowrap> <em>listener</em> </td> |
---|
283 | <td class="md" valign="top"> ) </td> |
---|
284 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
285 | </tr> |
---|
286 | |
---|
287 | </table> |
---|
288 | </td> |
---|
289 | </tr> |
---|
290 | </table> |
---|
291 | <table cellspacing=5 cellpadding=0 border=0> |
---|
292 | <tr> |
---|
293 | <td> |
---|
294 | |
---|
295 | </td> |
---|
296 | <td> |
---|
297 | |
---|
298 | <p> |
---|
299 | See <a class="el" href="classOgre_1_1SceneQuery.html">SceneQuery</a>. |
---|
300 | <p> |
---|
301 | |
---|
302 | <p> |
---|
303 | Implements <a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQuerya5">Ogre::RegionSceneQuery</a>. |
---|
304 | <p> |
---|
305 | Reimplemented in <a class="el" href="classOgre_1_1OctreeSphereSceneQuery.html#Ogre_1_1OctreeSphereSceneQuerya2">Ogre::OctreeSphereSceneQuery</a>. </td> |
---|
306 | </tr> |
---|
307 | </table> |
---|
308 | <a class="anchor" name="Ogre_1_1SphereSceneQuerya6" doxytag="Ogre::DefaultSphereSceneQuery::getLastResults" ></a><p> |
---|
309 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
310 | <tr> |
---|
311 | <td class="mdRow"> |
---|
312 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
313 | <tr> |
---|
314 | <td class="md" nowrap valign="top"> virtual <a class="el" href="structOgre_1_1SceneQueryResult.html">SceneQueryResult</a>& Ogre::RegionSceneQuery::getLastResults </td> |
---|
315 | <td class="md" valign="top">( </td> |
---|
316 | <td class="md" nowrap valign="top">void </td> |
---|
317 | <td class="mdname1" valign="top" nowrap> </td> |
---|
318 | <td class="md" valign="top"> ) </td> |
---|
319 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
320 | </tr> |
---|
321 | |
---|
322 | </table> |
---|
323 | </td> |
---|
324 | </tr> |
---|
325 | </table> |
---|
326 | <table cellspacing=5 cellpadding=0 border=0> |
---|
327 | <tr> |
---|
328 | <td> |
---|
329 | |
---|
330 | </td> |
---|
331 | <td> |
---|
332 | |
---|
333 | <p> |
---|
334 | Gets the results of the last query that was run using this object, provided the query was executed using the collection-returning version of execute. |
---|
335 | <p> |
---|
336 | </td> |
---|
337 | </tr> |
---|
338 | </table> |
---|
339 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQuerya14" doxytag="Ogre::DefaultSphereSceneQuery::getQueryMask" ></a><p> |
---|
340 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
341 | <tr> |
---|
342 | <td class="mdRow"> |
---|
343 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
344 | <tr> |
---|
345 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a455">uint32</a> Ogre::SceneQuery::getQueryMask </td> |
---|
346 | <td class="md" valign="top">( </td> |
---|
347 | <td class="md" nowrap valign="top">void </td> |
---|
348 | <td class="mdname1" valign="top" nowrap> </td> |
---|
349 | <td class="md" valign="top"> ) </td> |
---|
350 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
351 | </tr> |
---|
352 | |
---|
353 | </table> |
---|
354 | </td> |
---|
355 | </tr> |
---|
356 | </table> |
---|
357 | <table cellspacing=5 cellpadding=0 border=0> |
---|
358 | <tr> |
---|
359 | <td> |
---|
360 | |
---|
361 | </td> |
---|
362 | <td> |
---|
363 | |
---|
364 | <p> |
---|
365 | Returns the current mask for this query. |
---|
366 | <p> |
---|
367 | </td> |
---|
368 | </tr> |
---|
369 | </table> |
---|
370 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQuerya16" doxytag="Ogre::DefaultSphereSceneQuery::getQueryTypeMask" ></a><p> |
---|
371 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
372 | <tr> |
---|
373 | <td class="mdRow"> |
---|
374 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
375 | <tr> |
---|
376 | <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a455">uint32</a> Ogre::SceneQuery::getQueryTypeMask </td> |
---|
377 | <td class="md" valign="top">( </td> |
---|
378 | <td class="md" nowrap valign="top">void </td> |
---|
379 | <td class="mdname1" valign="top" nowrap> </td> |
---|
380 | <td class="md" valign="top"> ) </td> |
---|
381 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
382 | </tr> |
---|
383 | |
---|
384 | </table> |
---|
385 | </td> |
---|
386 | </tr> |
---|
387 | </table> |
---|
388 | <table cellspacing=5 cellpadding=0 border=0> |
---|
389 | <tr> |
---|
390 | <td> |
---|
391 | |
---|
392 | </td> |
---|
393 | <td> |
---|
394 | |
---|
395 | <p> |
---|
396 | Returns the current mask for this query. |
---|
397 | <p> |
---|
398 | </td> |
---|
399 | </tr> |
---|
400 | </table> |
---|
401 | <a class="anchor" name="Ogre_1_1SphereSceneQuerya3" doxytag="Ogre::DefaultSphereSceneQuery::getSphere" ></a><p> |
---|
402 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
403 | <tr> |
---|
404 | <td class="mdRow"> |
---|
405 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
406 | <tr> |
---|
407 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a>& Ogre::SphereSceneQuery::getSphere </td> |
---|
408 | <td class="md" valign="top">( </td> |
---|
409 | <td class="mdname1" valign="top" nowrap> </td> |
---|
410 | <td class="md" valign="top"> ) </td> |
---|
411 | <td class="md" nowrap> const<code> [inherited]</code></td> |
---|
412 | </tr> |
---|
413 | |
---|
414 | </table> |
---|
415 | </td> |
---|
416 | </tr> |
---|
417 | </table> |
---|
418 | <table cellspacing=5 cellpadding=0 border=0> |
---|
419 | <tr> |
---|
420 | <td> |
---|
421 | |
---|
422 | </td> |
---|
423 | <td> |
---|
424 | |
---|
425 | <p> |
---|
426 | Gets the sphere which is being used for this query. |
---|
427 | <p> |
---|
428 | </td> |
---|
429 | </tr> |
---|
430 | </table> |
---|
431 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQuerya19" doxytag="Ogre::DefaultSphereSceneQuery::getSupportedWorldFragmentTypes" ></a><p> |
---|
432 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
433 | <tr> |
---|
434 | <td class="mdRow"> |
---|
435 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
436 | <tr> |
---|
437 | <td class="md" nowrap valign="top"> virtual const std::set<<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a>>* Ogre::SceneQuery::getSupportedWorldFragmentTypes </td> |
---|
438 | <td class="md" valign="top">( </td> |
---|
439 | <td class="md" nowrap valign="top">void </td> |
---|
440 | <td class="mdname1" valign="top" nowrap> </td> |
---|
441 | <td class="md" valign="top"> ) </td> |
---|
442 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
443 | </tr> |
---|
444 | |
---|
445 | </table> |
---|
446 | </td> |
---|
447 | </tr> |
---|
448 | </table> |
---|
449 | <table cellspacing=5 cellpadding=0 border=0> |
---|
450 | <tr> |
---|
451 | <td> |
---|
452 | |
---|
453 | </td> |
---|
454 | <td> |
---|
455 | |
---|
456 | <p> |
---|
457 | Returns the types of world fragments this query supports. |
---|
458 | <p> |
---|
459 | |
---|
460 | <p> |
---|
461 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00165">165</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
462 | </tr> |
---|
463 | </table> |
---|
464 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQuerya18" doxytag="Ogre::DefaultSphereSceneQuery::getWorldFragmentType" ></a><p> |
---|
465 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
466 | <tr> |
---|
467 | <td class="mdRow"> |
---|
468 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
469 | <tr> |
---|
470 | <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> Ogre::SceneQuery::getWorldFragmentType </td> |
---|
471 | <td class="md" valign="top">( </td> |
---|
472 | <td class="md" nowrap valign="top">void </td> |
---|
473 | <td class="mdname1" valign="top" nowrap> </td> |
---|
474 | <td class="md" valign="top"> ) </td> |
---|
475 | <td class="md" nowrap> const<code> [virtual, inherited]</code></td> |
---|
476 | </tr> |
---|
477 | |
---|
478 | </table> |
---|
479 | </td> |
---|
480 | </tr> |
---|
481 | </table> |
---|
482 | <table cellspacing=5 cellpadding=0 border=0> |
---|
483 | <tr> |
---|
484 | <td> |
---|
485 | |
---|
486 | </td> |
---|
487 | <td> |
---|
488 | |
---|
489 | <p> |
---|
490 | Gets the current world fragment types to be returned from the query. |
---|
491 | <p> |
---|
492 | </td> |
---|
493 | </tr> |
---|
494 | </table> |
---|
495 | <a class="anchor" name="Ogre_1_1SphereSceneQuerya9" doxytag="Ogre::DefaultSphereSceneQuery::queryResult" ></a><p> |
---|
496 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
497 | <tr> |
---|
498 | <td class="mdRow"> |
---|
499 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
500 | <tr> |
---|
501 | <td class="md" nowrap valign="top"> bool Ogre::RegionSceneQuery::queryResult </td> |
---|
502 | <td class="md" valign="top">( </td> |
---|
503 | <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> * </td> |
---|
504 | <td class="mdname1" valign="top" nowrap> <em>fragment</em> </td> |
---|
505 | <td class="md" valign="top"> ) </td> |
---|
506 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
507 | </tr> |
---|
508 | |
---|
509 | </table> |
---|
510 | </td> |
---|
511 | </tr> |
---|
512 | </table> |
---|
513 | <table cellspacing=5 cellpadding=0 border=0> |
---|
514 | <tr> |
---|
515 | <td> |
---|
516 | |
---|
517 | </td> |
---|
518 | <td> |
---|
519 | |
---|
520 | <p> |
---|
521 | Self-callback in order to deal with execute which returns collection. |
---|
522 | <p> |
---|
523 | |
---|
524 | <p> |
---|
525 | Implements <a class="el" href="classOgre_1_1SceneQueryListener.html#Ogre_1_1SceneQueryListenera2">Ogre::SceneQueryListener</a>. </td> |
---|
526 | </tr> |
---|
527 | </table> |
---|
528 | <a class="anchor" name="Ogre_1_1SphereSceneQuerya8" doxytag="Ogre::DefaultSphereSceneQuery::queryResult" ></a><p> |
---|
529 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
530 | <tr> |
---|
531 | <td class="mdRow"> |
---|
532 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
533 | <tr> |
---|
534 | <td class="md" nowrap valign="top"> bool Ogre::RegionSceneQuery::queryResult </td> |
---|
535 | <td class="md" valign="top">( </td> |
---|
536 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> * </td> |
---|
537 | <td class="mdname1" valign="top" nowrap> <em>first</em> </td> |
---|
538 | <td class="md" valign="top"> ) </td> |
---|
539 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
540 | </tr> |
---|
541 | |
---|
542 | </table> |
---|
543 | </td> |
---|
544 | </tr> |
---|
545 | </table> |
---|
546 | <table cellspacing=5 cellpadding=0 border=0> |
---|
547 | <tr> |
---|
548 | <td> |
---|
549 | |
---|
550 | </td> |
---|
551 | <td> |
---|
552 | |
---|
553 | <p> |
---|
554 | Self-callback in order to deal with execute which returns collection. |
---|
555 | <p> |
---|
556 | |
---|
557 | <p> |
---|
558 | Implements <a class="el" href="classOgre_1_1SceneQueryListener.html#Ogre_1_1SceneQueryListenera1">Ogre::SceneQueryListener</a>. </td> |
---|
559 | </tr> |
---|
560 | </table> |
---|
561 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQuerya13" doxytag="Ogre::DefaultSphereSceneQuery::setQueryMask" ></a><p> |
---|
562 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
563 | <tr> |
---|
564 | <td class="mdRow"> |
---|
565 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
566 | <tr> |
---|
567 | <td class="md" nowrap valign="top"> virtual void Ogre::SceneQuery::setQueryMask </td> |
---|
568 | <td class="md" valign="top">( </td> |
---|
569 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a455">uint32</a> </td> |
---|
570 | <td class="mdname1" valign="top" nowrap> <em>mask</em> </td> |
---|
571 | <td class="md" valign="top"> ) </td> |
---|
572 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
573 | </tr> |
---|
574 | |
---|
575 | </table> |
---|
576 | </td> |
---|
577 | </tr> |
---|
578 | </table> |
---|
579 | <table cellspacing=5 cellpadding=0 border=0> |
---|
580 | <tr> |
---|
581 | <td> |
---|
582 | |
---|
583 | </td> |
---|
584 | <td> |
---|
585 | |
---|
586 | <p> |
---|
587 | Sets the mask for results of this query. |
---|
588 | <p> |
---|
589 | <dl compact><dt><b>Remarks:</b></dt><dd>This method allows you to set a 'mask' to limit the results of this query to certain types of result. The actual meaning of this value is up to the application; basically <a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> instances will only be returned from this query if a bitwise AND operation between this mask value and the <a class="el" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa41">MovableObject::getQueryFlags</a> value is non-zero. The application will have to decide what each of the bits means. </dd></dl> |
---|
590 | </td> |
---|
591 | </tr> |
---|
592 | </table> |
---|
593 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQuerya15" doxytag="Ogre::DefaultSphereSceneQuery::setQueryTypeMask" ></a><p> |
---|
594 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
595 | <tr> |
---|
596 | <td class="mdRow"> |
---|
597 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
598 | <tr> |
---|
599 | <td class="md" nowrap valign="top"> virtual void Ogre::SceneQuery::setQueryTypeMask </td> |
---|
600 | <td class="md" valign="top">( </td> |
---|
601 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a455">uint32</a> </td> |
---|
602 | <td class="mdname1" valign="top" nowrap> <em>mask</em> </td> |
---|
603 | <td class="md" valign="top"> ) </td> |
---|
604 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
605 | </tr> |
---|
606 | |
---|
607 | </table> |
---|
608 | </td> |
---|
609 | </tr> |
---|
610 | </table> |
---|
611 | <table cellspacing=5 cellpadding=0 border=0> |
---|
612 | <tr> |
---|
613 | <td> |
---|
614 | |
---|
615 | </td> |
---|
616 | <td> |
---|
617 | |
---|
618 | <p> |
---|
619 | Sets the type mask for results of this query. |
---|
620 | <p> |
---|
621 | <dl compact><dt><b>Remarks:</b></dt><dd>This method allows you to set a 'type mask' to limit the results of this query to certain types of objects. Whilst setQueryMask deals with flags set per instance of object, this method deals with setting a mask on flags set per type of object. Both may exclude an object from query results. </dd></dl> |
---|
622 | </td> |
---|
623 | </tr> |
---|
624 | </table> |
---|
625 | <a class="anchor" name="Ogre_1_1SphereSceneQuerya2" doxytag="Ogre::DefaultSphereSceneQuery::setSphere" ></a><p> |
---|
626 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
627 | <tr> |
---|
628 | <td class="mdRow"> |
---|
629 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
630 | <tr> |
---|
631 | <td class="md" nowrap valign="top"> void Ogre::SphereSceneQuery::setSphere </td> |
---|
632 | <td class="md" valign="top">( </td> |
---|
633 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> & </td> |
---|
634 | <td class="mdname1" valign="top" nowrap> <em>sphere</em> </td> |
---|
635 | <td class="md" valign="top"> ) </td> |
---|
636 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
637 | </tr> |
---|
638 | |
---|
639 | </table> |
---|
640 | </td> |
---|
641 | </tr> |
---|
642 | </table> |
---|
643 | <table cellspacing=5 cellpadding=0 border=0> |
---|
644 | <tr> |
---|
645 | <td> |
---|
646 | |
---|
647 | </td> |
---|
648 | <td> |
---|
649 | |
---|
650 | <p> |
---|
651 | Sets the sphere which is to be used for this query. |
---|
652 | <p> |
---|
653 | </td> |
---|
654 | </tr> |
---|
655 | </table> |
---|
656 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQuerya17" doxytag="Ogre::DefaultSphereSceneQuery::setWorldFragmentType" ></a><p> |
---|
657 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
658 | <tr> |
---|
659 | <td class="mdRow"> |
---|
660 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
661 | <tr> |
---|
662 | <td class="md" nowrap valign="top"> virtual void Ogre::SceneQuery::setWorldFragmentType </td> |
---|
663 | <td class="md" valign="top">( </td> |
---|
664 | <td class="md" nowrap valign="top">enum <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> </td> |
---|
665 | <td class="mdname1" valign="top" nowrap> <em>wft</em> </td> |
---|
666 | <td class="md" valign="top"> ) </td> |
---|
667 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
668 | </tr> |
---|
669 | |
---|
670 | </table> |
---|
671 | </td> |
---|
672 | </tr> |
---|
673 | </table> |
---|
674 | <table cellspacing=5 cellpadding=0 border=0> |
---|
675 | <tr> |
---|
676 | <td> |
---|
677 | |
---|
678 | </td> |
---|
679 | <td> |
---|
680 | |
---|
681 | <p> |
---|
682 | Tells the query what kind of world geometry to return from queries; often the full renderable geometry is not what is needed. |
---|
683 | <p> |
---|
684 | <dl compact><dt><b>Remarks:</b></dt><dd>The application receiving the world geometry is expected to know what to do with it; inevitably this means that the application must have knowledge of at least some of the structures used by the custom <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>. </dd></dl> |
---|
685 | <dl compact><dt><b></b></dt><dd>The default setting is WFT_NONE. </dd></dl> |
---|
686 | </td> |
---|
687 | </tr> |
---|
688 | </table> |
---|
689 | <hr><h2>Member Data Documentation</h2> |
---|
690 | <a class="anchor" name="Ogre_1_1SphereSceneQueryp1" doxytag="Ogre::DefaultSphereSceneQuery::mLastResult" ></a><p> |
---|
691 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
692 | <tr> |
---|
693 | <td class="mdRow"> |
---|
694 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
695 | <tr> |
---|
696 | <td class="md" nowrap valign="top"> <a class="el" href="structOgre_1_1SceneQueryResult.html">SceneQueryResult</a>* <a class="el" href="classOgre_1_1RegionSceneQuery.html#Ogre_1_1SphereSceneQueryp1">Ogre::RegionSceneQuery::mLastResult</a><code> [protected, inherited]</code> |
---|
697 | </table> |
---|
698 | </td> |
---|
699 | </tr> |
---|
700 | </table> |
---|
701 | <table cellspacing=5 cellpadding=0 border=0> |
---|
702 | <tr> |
---|
703 | <td> |
---|
704 | |
---|
705 | </td> |
---|
706 | <td> |
---|
707 | |
---|
708 | <p> |
---|
709 | |
---|
710 | <p> |
---|
711 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00217">217</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
712 | </tr> |
---|
713 | </table> |
---|
714 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQueryp5" doxytag="Ogre::DefaultSphereSceneQuery::mParentSceneMgr" ></a><p> |
---|
715 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
716 | <tr> |
---|
717 | <td class="mdRow"> |
---|
718 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
719 | <tr> |
---|
720 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>* <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp5">Ogre::SceneQuery::mParentSceneMgr</a><code> [protected, inherited]</code> |
---|
721 | </table> |
---|
722 | </td> |
---|
723 | </tr> |
---|
724 | </table> |
---|
725 | <table cellspacing=5 cellpadding=0 border=0> |
---|
726 | <tr> |
---|
727 | <td> |
---|
728 | |
---|
729 | </td> |
---|
730 | <td> |
---|
731 | |
---|
732 | <p> |
---|
733 | |
---|
734 | <p> |
---|
735 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00113">113</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
736 | </tr> |
---|
737 | </table> |
---|
738 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQueryp6" doxytag="Ogre::DefaultSphereSceneQuery::mQueryMask" ></a><p> |
---|
739 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
740 | <tr> |
---|
741 | <td class="mdRow"> |
---|
742 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
743 | <tr> |
---|
744 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a455">uint32</a> <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp6">Ogre::SceneQuery::mQueryMask</a><code> [protected, inherited]</code> |
---|
745 | </table> |
---|
746 | </td> |
---|
747 | </tr> |
---|
748 | </table> |
---|
749 | <table cellspacing=5 cellpadding=0 border=0> |
---|
750 | <tr> |
---|
751 | <td> |
---|
752 | |
---|
753 | </td> |
---|
754 | <td> |
---|
755 | |
---|
756 | <p> |
---|
757 | |
---|
758 | <p> |
---|
759 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00114">114</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
760 | </tr> |
---|
761 | </table> |
---|
762 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQueryp7" doxytag="Ogre::DefaultSphereSceneQuery::mQueryTypeMask" ></a><p> |
---|
763 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
764 | <tr> |
---|
765 | <td class="mdRow"> |
---|
766 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
767 | <tr> |
---|
768 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a455">uint32</a> <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp7">Ogre::SceneQuery::mQueryTypeMask</a><code> [protected, inherited]</code> |
---|
769 | </table> |
---|
770 | </td> |
---|
771 | </tr> |
---|
772 | </table> |
---|
773 | <table cellspacing=5 cellpadding=0 border=0> |
---|
774 | <tr> |
---|
775 | <td> |
---|
776 | |
---|
777 | </td> |
---|
778 | <td> |
---|
779 | |
---|
780 | <p> |
---|
781 | |
---|
782 | <p> |
---|
783 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00115">115</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
784 | </tr> |
---|
785 | </table> |
---|
786 | <a class="anchor" name="Ogre_1_1SphereSceneQueryp0" doxytag="Ogre::DefaultSphereSceneQuery::mSphere" ></a><p> |
---|
787 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
788 | <tr> |
---|
789 | <td class="mdRow"> |
---|
790 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
791 | <tr> |
---|
792 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> <a class="el" href="classOgre_1_1SphereSceneQuery.html#Ogre_1_1SphereSceneQueryp0">Ogre::SphereSceneQuery::mSphere</a><code> [protected, inherited]</code> |
---|
793 | </table> |
---|
794 | </td> |
---|
795 | </tr> |
---|
796 | </table> |
---|
797 | <table cellspacing=5 cellpadding=0 border=0> |
---|
798 | <tr> |
---|
799 | <td> |
---|
800 | |
---|
801 | </td> |
---|
802 | <td> |
---|
803 | |
---|
804 | <p> |
---|
805 | |
---|
806 | <p> |
---|
807 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00280">280</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
808 | </tr> |
---|
809 | </table> |
---|
810 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQueryp8" doxytag="Ogre::DefaultSphereSceneQuery::mSupportedWorldFragments" ></a><p> |
---|
811 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
812 | <tr> |
---|
813 | <td class="mdRow"> |
---|
814 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
815 | <tr> |
---|
816 | <td class="md" nowrap valign="top"> std::set<<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a>> <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp8">Ogre::SceneQuery::mSupportedWorldFragments</a><code> [protected, inherited]</code> |
---|
817 | </table> |
---|
818 | </td> |
---|
819 | </tr> |
---|
820 | </table> |
---|
821 | <table cellspacing=5 cellpadding=0 border=0> |
---|
822 | <tr> |
---|
823 | <td> |
---|
824 | |
---|
825 | </td> |
---|
826 | <td> |
---|
827 | |
---|
828 | <p> |
---|
829 | |
---|
830 | <p> |
---|
831 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00116">116</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
832 | </tr> |
---|
833 | </table> |
---|
834 | <a class="anchor" name="Ogre_1_1TerrainRaySceneQueryp9" doxytag="Ogre::DefaultSphereSceneQuery::mWorldFragmentType" ></a><p> |
---|
835 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
836 | <tr> |
---|
837 | <td class="mdRow"> |
---|
838 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
839 | <tr> |
---|
840 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryw5">WorldFragmentType</a> <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1TerrainRaySceneQueryp9">Ogre::SceneQuery::mWorldFragmentType</a><code> [protected, inherited]</code> |
---|
841 | </table> |
---|
842 | </td> |
---|
843 | </tr> |
---|
844 | </table> |
---|
845 | <table cellspacing=5 cellpadding=0 border=0> |
---|
846 | <tr> |
---|
847 | <td> |
---|
848 | |
---|
849 | </td> |
---|
850 | <td> |
---|
851 | |
---|
852 | <p> |
---|
853 | |
---|
854 | <p> |
---|
855 | Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00117">117</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> |
---|
856 | </tr> |
---|
857 | </table> |
---|
858 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
859 | <li><a class="el" href="OgreSceneManager_8h-source.html">OgreSceneManager.h</a></ul> |
---|
860 | <hr> |
---|
861 | <p> |
---|
862 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
863 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
864 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
865 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
866 | <Work rdf:about=""> |
---|
867 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
868 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
869 | </Work> |
---|
870 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
871 | |
---|
872 | Last modified Sun Mar 12 14:43:25 2006 |
---|
873 | </p> |
---|
874 | </body> |
---|
875 | </html> |
---|