<html> <head> <title>Ogre::SceneQuery::WorldFragment 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::SceneQuery::WorldFragment Struct Reference</h1>Represents part of the world geometry that is a result of a <a class="el" href="classOgre_1_1SceneQuery.html">SceneQuery</a>. <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::SceneQuery::WorldFragment:<p><center><img src="structOgre_1_1SceneQuery_1_1WorldFragment__coll__graph.png" border="0" usemap="#Ogre_1_1SceneQuery_1_1WorldFragment__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1SceneQuery_1_1WorldFragment__coll__map"> <area href="classOgre_1_1Vector3.html" shape="rect" coords="7,127,100,108" alt=""> <area href="classOgre_1_1RenderOperation.html" shape="rect" coords="240,127,389,108" alt=""> <area href="classOgre_1_1IndexData.html" shape="rect" coords="127,36,233,17" alt=""> <area href="classOgre_1_1VertexData.html" shape="rect" coords="257,36,372,17" alt=""> <area href="classOgre_1_1Renderable.html" shape="rect" coords="396,36,511,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="structOgre_1_1SceneQuery_1_1WorldFragment-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerys5">WorldFragmentType</a> </td><td valign=bottom><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html#Ogre_1_1SceneQuery_1_1WorldFragmentm0">fragmentType</a></td></tr> <tr><td> </td><td><font size=-1><em>The type of this world fragment.</em> <a href="#Ogre_1_1SceneQuery_1_1WorldFragmentm0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> </td><td valign=bottom><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html#Ogre_1_1SceneQuery_1_1WorldFragmentm1">singleIntersection</a></td></tr> <tr><td> </td><td><font size=-1><em>Single intersection point, only applicable for WFT_SINGLE_INTERSECTION.</em> <a href="#Ogre_1_1SceneQuery_1_1WorldFragmentm1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>std::list< <a class="el" href="classOgre_1_1Plane.html">Plane</a> > * </td><td valign=bottom><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html#Ogre_1_1SceneQuery_1_1WorldFragmentm2">planes</a></td></tr> <tr><td> </td><td><font size=-1><em>Planes bounding a convex region, only applicable for WFT_PLANE_BOUNDED_REGION.</em> <a href="#Ogre_1_1SceneQuery_1_1WorldFragmentm2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html#Ogre_1_1SceneQuery_1_1WorldFragmentm3">geometry</a></td></tr> <tr><td> </td><td><font size=-1><em>Custom geometry block, only applicable for WFT_CUSTOM_GEOMETRY.</em> <a href="#Ogre_1_1SceneQuery_1_1WorldFragmentm3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1RenderOperation.html">RenderOperation</a> * </td><td valign=bottom><a class="el" href="structOgre_1_1SceneQuery_1_1WorldFragment.html#Ogre_1_1SceneQuery_1_1WorldFragmentm4">renderOp</a></td></tr> <tr><td> </td><td><font size=-1><em>General render operation structure, fallback if nothing else is available.</em> <a href="#Ogre_1_1SceneQuery_1_1WorldFragmentm4"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Represents part of the world geometry that is a result of a <a class="el" href="classOgre_1_1SceneQuery.html">SceneQuery</a>. <p> <dl compact><dt><b> Remarks: </b><dd> Since world geometry is normally vast and sprawling, we need a way of retrieving parts of it based on a query. That is what this struct is for; note there are potentially as many data structures for world geometry as there are SceneManagers, however this structure includes a few common abstractions as well as a more general format. <p> The type of world fragment that is returned from a query depends on the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>, and the option set using <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerya12">SceneQuery::setWorldFragmentType</a>. You can see what fragment types are supported on the query in question by calling <a class="el" href="classOgre_1_1SceneQuery.html#Ogre_1_1SphereSceneQuerya14">SceneQuery::getSupportedWorldFragmentTypes</a>(). </dl> <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00098">98</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>.<hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1SceneQuery_1_1WorldFragmentm0" doxytag="Ogre::SceneQuery::WorldFragment::fragmentType"></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::WorldFragment::fragmentType </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The type of this world fragment. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00100">100</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. <p> Referenced by <a class="el" href="OgreBspLevel_8cpp-source.html#l00113">Ogre::BspLevel::loadQuake3Level</a>(). </td> </tr> </table> <a name="Ogre_1_1SceneQuery_1_1WorldFragmentm3" doxytag="Ogre::SceneQuery::WorldFragment::geometry"></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::WorldFragment::geometry </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Custom geometry block, only applicable for WFT_CUSTOM_GEOMETRY. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00106">106</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> </tr> </table> <a name="Ogre_1_1SceneQuery_1_1WorldFragmentm2" doxytag="Ogre::SceneQuery::WorldFragment::planes"></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::list<<a class="el" href="classOgre_1_1Plane.html">Plane</a>>* Ogre::SceneQuery::WorldFragment::planes </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Planes bounding a convex region, only applicable for WFT_PLANE_BOUNDED_REGION. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00104">104</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. <p> Referenced by <a class="el" href="OgreBspLevel_8cpp-source.html#l00113">Ogre::BspLevel::loadQuake3Level</a>(). </td> </tr> </table> <a name="Ogre_1_1SceneQuery_1_1WorldFragmentm4" doxytag="Ogre::SceneQuery::WorldFragment::renderOp"></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_1RenderOperation.html">RenderOperation</a>* Ogre::SceneQuery::WorldFragment::renderOp </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> General render operation structure, fallback if nothing else is available. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00108">108</a> of file <a class="el" href="OgreSceneQuery_8h-source.html">OgreSceneQuery.h</a>. </td> </tr> </table> <a name="Ogre_1_1SceneQuery_1_1WorldFragmentm1" doxytag="Ogre::SceneQuery::WorldFragment::singleIntersection"></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_1Vector3.html">Vector3</a> Ogre::SceneQuery::WorldFragment::singleIntersection </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Single intersection point, only applicable for WFT_SINGLE_INTERSECTION. <p> <p> Definition at line <a class="el" href="OgreSceneQuery_8h-source.html#l00102">102</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 © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:21:19 2004 </p> </body> </html>