<html> <head> <title>Ogre::RaySceneQueryResultEntry struct 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::RaySceneQueryResultEntry Struct Reference</h1>This struct allows a single comparison of result data no matter what the type. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>></code> <p> Collaboration diagram for Ogre::RaySceneQueryResultEntry:<p><center><img src="structOgre_1_1RaySceneQueryResultEntry__coll__graph.png" border="0" usemap="#Ogre_1_1RaySceneQueryResultEntry__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1RaySceneQueryResultEntry__coll__map"> <area href="structOgre_1_1SceneQuery_1_1WorldFragment.html" shape="rect" coords="19,35,235,16" alt=""> <area href="classOgre_1_1MovableObject.html" shape="rect" coords="59,103,195,84" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="structOgre_1_1RaySceneQueryResultEntry-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>bool </td><td valign=bottom><a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntrya0">operator<</a> (const RaySceneQueryResultEntry &rhs) const</td></tr> <tr><td> </td><td><font size=-1><em>Comparison operator for sorting.</em> <a href="#Ogre_1_1RaySceneQueryResultEntrya0"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a> </td><td valign=bottom><a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntrym0">distance</a></td></tr> <tr><td> </td><td><font size=-1><em>Distance along the ray.</em> <a href="#Ogre_1_1RaySceneQueryResultEntrym0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> * </td><td valign=bottom><a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntrym1">movable</a></td></tr> <tr><td> </td><td><font size=-1><em>The movable, or NULL if this is not a movable result.</em> <a href="#Ogre_1_1RaySceneQueryResultEntrym1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> * </td><td valign=bottom><a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntrym2">worldFragment</a></td></tr> <tr><td> </td><td><font size=-1><em>The world fragment, or NULL if this is not a fragment result.</em> <a href="#Ogre_1_1RaySceneQueryResultEntrym2"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This struct allows a single comparison of result data no matter what the type. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00314">314</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>.<hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1RaySceneQueryResultEntrya0" doxytag="Ogre::RaySceneQueryResultEntry::operator<"></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"> bool Ogre::RaySceneQueryResultEntry::operator< </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const RaySceneQueryResultEntry & </td> <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Comparison operator for sorting. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00323">323</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. <p> References <a class="el" href="OgreSceneQuery_8h-source.html#l00317">distance</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1RaySceneQueryResultEntrym0" doxytag="Ogre::RaySceneQueryResultEntry::distance"></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="namespaceOgre.html#a349">Real</a> Ogre::RaySceneQueryResultEntry::distance </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Distance along the ray. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00317">317</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. <p> Referenced by <a class="el" href="OgreSceneQuery_8h-source.html#l00323">operator<</a>(), and <a class="el" href="OgreSceneQuery_8cpp-source.html#l00242">Ogre::RaySceneQuery::queryResult</a>(). </td> </tr> </table> <a name="Ogre_1_1RaySceneQueryResultEntrym1" doxytag="Ogre::RaySceneQueryResultEntry::movable"></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_1MovableObject.html">MovableObject</a>* Ogre::RaySceneQueryResultEntry::movable </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The movable, or NULL if this is not a movable result. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00319">319</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#l00242">Ogre::RaySceneQuery::queryResult</a>(). </td> </tr> </table> <a name="Ogre_1_1RaySceneQueryResultEntrym2" doxytag="Ogre::RaySceneQueryResultEntry::worldFragment"></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="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a>* Ogre::RaySceneQueryResultEntry::worldFragment </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The world fragment, or NULL if this is not a fragment result. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00321">321</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#l00242">Ogre::RaySceneQuery::queryResult</a>(). </td> </tr> </table> <hr>The documentation for this struct 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:27 2004 </p> </body> </html>