<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.3.6 --> <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> <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> <a href="structOgre_1_1RaySceneQueryResultEntry-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntrya0">operator<</a> (const <a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html">RaySceneQueryResultEntry</a> &rhs) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Comparison operator for sorting. <a href="#Ogre_1_1RaySceneQueryResultEntrya0"></a><br><br></td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntryo0">distance</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Distance along the ray. <a href="#Ogre_1_1RaySceneQueryResultEntryo0"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntryo1">movable</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The movable, or NULL if this is not a movable result. <a href="#Ogre_1_1RaySceneQueryResultEntryo1"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html">SceneQuery::WorldFragment</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntryo2">worldFragment</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The world fragment, or NULL if this is not a fragment result. <a href="#Ogre_1_1RaySceneQueryResultEntryo2"></a><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#l00333">333</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>.<hr><h2>Member Function Documentation</h2> <a class="anchor" name="Ogre_1_1RaySceneQueryResultEntrya0" doxytag="Ogre::RaySceneQueryResultEntry::operator<" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <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 <a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html">RaySceneQueryResultEntry</a> & </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#l00342">342</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. <p> References <a class="el" href="OgreSceneQuery_8h-source.html#l00336">distance</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="Ogre_1_1RaySceneQueryResultEntryo0" doxytag="Ogre::RaySceneQueryResultEntry::distance" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntryo0">Ogre::RaySceneQueryResultEntry::distance</a> </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#l00336">336</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#l00342">operator<()</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1RaySceneQueryResultEntryo1" doxytag="Ogre::RaySceneQueryResultEntry::movable" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MovableObject.html">MovableObject</a>* <a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntryo1">Ogre::RaySceneQueryResultEntry::movable</a> </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#l00338">338</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1RaySceneQueryResultEntryo2" doxytag="Ogre::RaySceneQueryResultEntry::worldFragment" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <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>* <a class="el" href="structOgre_1_1RaySceneQueryResultEntry.html#Ogre_1_1RaySceneQueryResultEntryo2">Ogre::RaySceneQueryResultEntry::worldFragment</a> </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#l00340">340</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</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 © 2000-2005 by The OGRE Team<br /> Last modified Wed Feb 23 00:23:18 2005 </p> </body> </html>