<html> <head> <title>Ogre::IntersectionSceneQueryListener 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> <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">Compound 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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::IntersectionSceneQueryListener Class Reference</h1>Alternative listener class for dealing with <a class="el" href="classOgre_1_1IntersectionSceneQuery.html">IntersectionSceneQuery</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>></code> <p> Inheritance diagram for Ogre::IntersectionSceneQueryListener:<p><center><img src="classOgre_1_1IntersectionSceneQueryListener__inherit__graph.png" border="0" usemap="#Ogre_1_1IntersectionSceneQueryListener__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1IntersectionSceneQueryListener__inherit__map"> <area href="classOgre_1_1IntersectionSceneQuery.html" shape="rect" coords="31,105,220,86" alt=""> <area href="classOgre_1_1DefaultIntersectionSceneQuery.html" shape="rect" coords="11,174,240,155" alt=""> <area href="classOgre_1_1BspIntersectionSceneQuery.html" shape="rect" coords="19,243,232,225" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1IntersectionSceneQueryListener-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classOgre_1_1IntersectionSceneQueryListener.html#Ogre_1_1IntersectionSceneQueryListenera0">queryResult</a> (<a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> *first, <a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> *second)=0</td></tr> <tr><td> </td><td><font size=-1><em>Called when 2 movable objects intersect one another.</em> <a href="#Ogre_1_1IntersectionSceneQueryListenera0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classOgre_1_1IntersectionSceneQueryListener.html#Ogre_1_1IntersectionSceneQueryListenera1">queryResult</a> (<a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> *movable, <a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> *fragment)=0</td></tr> <tr><td> </td><td><font size=-1><em>Called when a movable intersects a world fragment.</em> <a href="#Ogre_1_1IntersectionSceneQueryListenera1"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Alternative listener class for dealing with <a class="el" href="classOgre_1_1IntersectionSceneQuery.html">IntersectionSceneQuery</a>. <p> <dl compact><dt><b> Remarks: </b><dd> Because the <a class="el" href="classOgre_1_1IntersectionSceneQuery.html">IntersectionSceneQuery</a> returns results in pairs, rather than singularly, the listener interface must be customised from the standard <a class="el" href="classOgre_1_1SceneQueryListener.html">SceneQueryListener</a>. </dl> <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00417">417</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>.<hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1IntersectionSceneQueryListenera1" doxytag="Ogre::IntersectionSceneQueryListener::queryResult"></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 bool Ogre::IntersectionSceneQueryListener::queryResult </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> * </td> <td class="mdname" nowrap> <em>movable</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> * </td> <td class="mdname" nowrap> <em>fragment</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Called when a movable intersects a world fragment. <p> <dl compact><dt><b> Remarks: </b><dd> As with <a class="el" href="classOgre_1_1SceneQueryListener.html">SceneQueryListener</a>, the implementor of this method should return 'true' if further results are required, or 'false' to abandon any further results from the current query. </dl> <p> Implemented in <a class="el" href="classOgre_1_1IntersectionSceneQuery.html#Ogre_1_1IntersectionSceneQuerya7">Ogre::IntersectionSceneQuery</a>. </td> </tr> </table> <a name="Ogre_1_1IntersectionSceneQueryListenera0" doxytag="Ogre::IntersectionSceneQueryListener::queryResult"></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 bool Ogre::IntersectionSceneQueryListener::queryResult </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> * </td> <td class="mdname" nowrap> <em>first</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> * </td> <td class="mdname" nowrap> <em>second</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Called when 2 movable objects intersect one another. <p> <dl compact><dt><b> Remarks: </b><dd> As with <a class="el" href="classOgre_1_1SceneQueryListener.html">SceneQueryListener</a>, the implementor of this method should return 'true' if further results are required, or 'false' to abandon any further results from the current query. </dl> <p> Implemented in <a class="el" href="classOgre_1_1IntersectionSceneQuery.html#Ogre_1_1IntersectionSceneQuerya6">Ogre::IntersectionSceneQuery</a>. <p> Referenced by <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> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:16:16 2004 </p> </body> </html>