Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 2955

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::SceneQuery class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::SceneQuery  Class Reference</h1>A class for performing queries on a scene. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>&gt;</code>
<p>
Inheritance diagram for Ogre::SceneQuery:<p><center><img src="classOgre_1_1SceneQuery__inherit__graph.png" border="0" usemap="#Ogre_1_1SceneQuery__inherit__map" alt="Inheritance graph"></center>
<map name="Ogre_1_1SceneQuery__inherit__map">
<area href="classOgre_1_1IntersectionSceneQuery.html" shape="rect" coords="188,24,377,5" alt="">
<area href="classOgre_1_1RaySceneQuery.html" shape="rect" coords="211,67,355,48" alt="">
<area href="classOgre_1_1RegionSceneQuery.html" shape="rect" coords="203,109,363,91" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::SceneQuery:<p><center><img src="classOgre_1_1SceneQuery__coll__graph.png" border="0" usemap="#Ogre_1_1SceneQuery__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1SceneQuery__coll__map">
<area href="classOgre_1_1SceneManager.html" shape="rect" coords="17,35,153,16" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1SceneQuery-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a> { <br>
&nbsp;&nbsp;<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys0">WFT_NONE</a>, 
<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys1">WFT_PLANE_BOUNDED_REGION</a>, 
<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys2">WFT_SINGLE_INTERSECTION</a>, 
<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys3">WFT_CUSTOM_GEOMETRY</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys4">WFT_RENDER_OPERATION</a>
<br>
 }</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>This type can be used by collaborating applications &amp; SceneManagers to agree on the type of world geometry to be returned from queries.</em> <a href="#Ogre_1_1SphereSceneQuerys5">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SceneQuerya0">SceneQuery</a> (<a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *mgr)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Standard constructor, should be called by <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>.</em> <a href="#Ogre_1_1SceneQuerya0"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SceneQuerya1">~SceneQuery</a> ()</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerya10">setQueryMask</a> (unsigned long mask)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the mask for results of this query.</em> <a href="#Ogre_1_1SphereSceneQuerya10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual unsigned long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerya11">getQueryMask</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the current mask for this query.</em> <a href="#Ogre_1_1SphereSceneQuerya11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerya12">setWorldFragmentType</a> (enum <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a> wft)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Tells the query what kind of world geometry to return from queries; often the full renderable geometry is not what is needed.</em> <a href="#Ogre_1_1SphereSceneQuerya12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerya13">getWorldFragmentType</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the current world fragment types to be returned from the query.</em> <a href="#Ogre_1_1SphereSceneQuerya13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual const std::set&lt; <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a> &gt; *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerya14">getSupportedWorldFragmentTypes</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the types of world fragments this query supports.</em> <a href="#Ogre_1_1SphereSceneQuerya14"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQueryn2">mParentSceneMgr</a></td></tr>
<tr><td nowrap align=right valign=top>unsigned long&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQueryn3">mQueryMask</a></td></tr>
<tr><td nowrap align=right valign=top>std::set&lt; <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQueryn4">mSupportedWorldFragments</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQueryn5">mWorldFragmentType</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A class for performing queries on a scene.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This is an abstract class for performing a query on a scene, i.e. to retrieve a list of objects and/or world geometry sections which are potentially intersecting a given region. Note the use of the word 'potentially': the results of a scene query are generated based on bounding volumes, and as such are not correct at a triangle level; the user of the <a class="el" href="classOgre_1_1SceneQuery.html">SceneQuery</a> is expected to filter the results further if greater accuracy is required. 
<p>
 Different SceneManagers will implement these queries in different ways to exploit their particular scene organisation, and thus will provide their own concrete subclasses. In fact, these subclasses will be derived from subclasses of this class rather than directly because there will be region-type classes in between. 
<p>
 These queries could have just been implemented as methods on the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>, however, they are wrapped up as objects to allow 'compilation' of queries if deemed appropriate by the implementation; i.e. each concrete subclass may precalculate information (such as fixed scene partitions involved in the query) to speed up the repeated use of the query. 
<p>
 You should never try to create a <a class="el" href="classOgre_1_1SceneQuery.html">SceneQuery</a> object yourself, they should be created using the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> interfaces for the type of query required, e.g. SceneManager::createSphereSceneQuery. </dl>
<p>

<p>
Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00063">63</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>.<hr><h2>Member Enumeration Documentation</h2>
<a name="Ogre_1_1SphereSceneQuerys5" doxytag="Ogre::SceneQuery::WorldFragmentType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> enum Ogre::SceneQuery::WorldFragmentType
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This type can be used by collaborating applications &amp; SceneManagers to agree on the type of world geometry to be returned from queries.
<p>
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><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys0" doxytag="WFT_NONE"></a><em>WFT_NONE</em></em>&nbsp;</td><td>
Return no world geometry hits at all.</td></tr>
<tr><td valign=top><em><a name="Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys1" doxytag="WFT_PLANE_BOUNDED_REGION"></a><em>WFT_PLANE_BOUNDED_REGION</em></em>&nbsp;</td><td>
Return pointers to convex plane-bounded regions.</td></tr>
<tr><td valign=top><em><a name="Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys2" doxytag="WFT_SINGLE_INTERSECTION"></a><em>WFT_SINGLE_INTERSECTION</em></em>&nbsp;</td><td>
Return a single intersection point (typically <a class="el" href="classOgre_1_1RaySceneQuery.html">RaySceneQuery</a> only).</td></tr>
<tr><td valign=top><em><a name="Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys3" doxytag="WFT_CUSTOM_GEOMETRY"></a><em>WFT_CUSTOM_GEOMETRY</em></em>&nbsp;</td><td>
Custom geometry as defined by the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>.</td></tr>
<tr><td valign=top><em><a name="Ogre_1_1SphereSceneQuerys5Ogre_1_1SphereSceneQuerys4" doxytag="WFT_RENDER_OPERATION"></a><em>WFT_RENDER_OPERATION</em></em>&nbsp;</td><td>
General <a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> structure.</td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00072">72</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>.    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1SceneQuerya0" doxytag="Ogre::SceneQuery::SceneQuery"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::SceneQuery::SceneQuery </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>mgr</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Standard constructor, should be called by <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>.
<p>

<p>
Definition at line <a class="el" href="OgreSceneQuery_8cpp-source.html#l00032">32</a> of file <a class="el" href="OgreSceneQuery_8cpp-source.html">OgreSceneQuery.cpp</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SceneQuerya1" doxytag="Ogre::SceneQuery::~SceneQuery"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::SceneQuery::~SceneQuery </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSceneQuery_8cpp-source.html#l00037">37</a> of file <a class="el" href="OgreSceneQuery_8cpp-source.html">OgreSceneQuery.cpp</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1SphereSceneQuerya11" doxytag="Ogre::SceneQuery::getQueryMask"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned long Ogre::SceneQuery::getQueryMask </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the current mask for this query.
<p>

<p>
Definition at line <a class="el" href="OgreSceneQuery_8cpp-source.html#l00046">46</a> of file <a class="el" href="OgreSceneQuery_8cpp-source.html">OgreSceneQuery.cpp</a>.
<p>
References <a class="el" href="OgreSceneQuery_8h-source.html#l00113">mQueryMask</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SphereSceneQuerya14" doxytag="Ogre::SceneQuery::getSupportedWorldFragmentTypes"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual const std::set&lt;<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a>&gt;* Ogre::SceneQuery::getSupportedWorldFragmentTypes </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the types of world fragments this query supports.
<p>

<p>
Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00151">151</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SphereSceneQuerya13" doxytag="Ogre::SceneQuery::getWorldFragmentType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">SceneQuery::WorldFragmentType</a> Ogre::SceneQuery::getWorldFragmentType </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the current world fragment types to be returned from the query.
<p>

<p>
Definition at line <a class="el" href="OgreSceneQuery_8cpp-source.html#l00063">63</a> of file <a class="el" href="OgreSceneQuery_8cpp-source.html">OgreSceneQuery.cpp</a>.
<p>
References <a class="el" href="OgreSceneQuery_8h-source.html#l00115">mWorldFragmentType</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SphereSceneQuerya10" doxytag="Ogre::SceneQuery::setQueryMask"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::SceneQuery::setQueryMask </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned long&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>mask</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the mask for results of this query.
<p>
<dl compact><dt><b>
Remarks: </b><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_1WireBoundingBoxa32">MovableObject::getQueryFlags</a> value is non-zero. The application will have to decide what each of the bits means. </dl>
<p>
Definition at line <a class="el" href="OgreSceneQuery_8cpp-source.html#l00041">41</a> of file <a class="el" href="OgreSceneQuery_8cpp-source.html">OgreSceneQuery.cpp</a>.
<p>
References <a class="el" href="OgreSceneQuery_8h-source.html#l00113">mQueryMask</a>.
<p>
Referenced by <a class="el" href="OgreSceneManager_8cpp-source.html#l01874">Ogre::SceneManager::createAABBQuery</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01898">Ogre::SceneManager::createIntersectionQuery</a>(), <a class="el" href="OgreBspSceneManager_8cpp-source.html#l00554">Ogre::BspSceneManager::createIntersectionQuery</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01890">Ogre::SceneManager::createRayQuery</a>(), and <a class="el" href="OgreSceneManager_8cpp-source.html#l01882">Ogre::SceneManager::createSphereQuery</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SphereSceneQuerya12" doxytag="Ogre::SceneQuery::setWorldFragmentType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::SceneQuery::setWorldFragmentType </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">enum <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>wft</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Tells the query what kind of world geometry to return from queries; often the full renderable geometry is not what is needed.
<p>
<dl compact><dt><b>
Remarks: </b><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>. 
<p>
 The default setting is WFT_NONE. </dl>
<p>
Definition at line <a class="el" href="OgreSceneQuery_8cpp-source.html#l00051">51</a> of file <a class="el" href="OgreSceneQuery_8cpp-source.html">OgreSceneQuery.cpp</a>.
<p>
References <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, <a class="el" href="OgreSceneQuery_8h-source.html#l00114">mSupportedWorldFragments</a>, and <a class="el" href="OgreSceneQuery_8h-source.html#l00115">mWorldFragmentType</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1SphereSceneQueryn2" doxytag="Ogre::SceneQuery::mParentSceneMgr"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>* Ogre::SceneQuery::mParentSceneMgr<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00112">112</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>.
<p>
Referenced by <a class="el" href="OgreSceneManager_8cpp-source.html#l02033">Ogre::DefaultSphereSceneQuery::execute</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01996">Ogre::DefaultRaySceneQuery::execute</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01970">Ogre::DefaultAxisAlignedBoxSceneQuery::execute</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01922">Ogre::DefaultIntersectionSceneQuery::execute</a>(), and <a class="el" href="OgreBspSceneManager_8cpp-source.html#l00569">Ogre::BspIntersectionSceneQuery::execute</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SphereSceneQueryn3" doxytag="Ogre::SceneQuery::mQueryMask"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned long Ogre::SceneQuery::mQueryMask<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="OgreSceneManager_8cpp-source.html#l01922">Ogre::DefaultIntersectionSceneQuery::execute</a>(), <a class="el" href="OgreBspSceneManager_8cpp-source.html#l00569">Ogre::BspIntersectionSceneQuery::execute</a>(), <a class="el" href="OgreSceneQuery_8cpp-source.html#l00046">getQueryMask</a>(), and <a class="el" href="OgreSceneQuery_8cpp-source.html#l00041">setQueryMask</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SphereSceneQueryn4" doxytag="Ogre::SceneQuery::mSupportedWorldFragments"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::set&lt;<a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a>&gt; Ogre::SceneQuery::mSupportedWorldFragments<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="OgreBspSceneManager_8cpp-source.html#l00562">Ogre::BspIntersectionSceneQuery::BspIntersectionSceneQuery</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01959">Ogre::DefaultAxisAlignedBoxSceneQuery::DefaultAxisAlignedBoxSceneQuery</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01911">Ogre::DefaultIntersectionSceneQuery::DefaultIntersectionSceneQuery</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01986">Ogre::DefaultRaySceneQuery::DefaultRaySceneQuery</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l02023">Ogre::DefaultSphereSceneQuery::DefaultSphereSceneQuery</a>(), and <a class="el" href="OgreSceneQuery_8cpp-source.html#l00051">setWorldFragmentType</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SphereSceneQueryn5" doxytag="Ogre::SceneQuery::mWorldFragmentType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a> Ogre::SceneQuery::mWorldFragmentType<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="OgreSceneQuery_8cpp-source.html#l00063">getWorldFragmentType</a>(), and <a class="el" href="OgreSceneQuery_8cpp-source.html#l00051">setWorldFragmentType</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a><li><a class="el" href="OgreSceneQuery_8cpp-source.html">OgreSceneQuery.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:20:18 2004
</p>
</body>
</html>