<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: imesh/thing.h File Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>imesh/thing.h File Reference</h1>Thing mesh interfaces. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="scf_8h-source.html">csutil/scf.h</a>"</code><br> <code>#include "<a class="el" href="image_8h-source.html">igraphic/image.h</a>"</code><br> <p> <a href="thing_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsPolygonRange.html">csPolygonRange</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A range structure for specifing polygon ranges. <a href="structcsPolygonRange.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonHandle.html">iPolygonHandle</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This is an interface that can be used to represent a polygon in situations where a SCF object is required. <a href="structiPolygonHandle.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiThingEnvironment.html">iThingEnvironment</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This interface is implemented by the iObjectType for things. <a href="structiThingEnvironment.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiThingFactoryState.html">iThingFactoryState</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This is the state interface to access the internals of a thing mesh factory. <a href="structiThingFactoryState.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiThingState.html">iThingState</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This is the state interface to access the internals of a thing mesh object. <a href="structiThingState.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#g0b86ff5b7f9397c3a2308047822da46c">CS_POLYINDEX_LAST</a> -1</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Last created polygon index (used where a single polygon index is required). <a href="group__meshplugins.html#g0b86ff5b7f9397c3a2308047822da46c"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader">Polygon flags</div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#ga94c4f64d2258575754e840df308754c">CS_POLY_COLLDET</a> 0x00000002</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this polygon is used for collision detection. <a href="group__meshplugins.html#ga94c4f64d2258575754e840df308754c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#g785e76fb2bbd8af48c4919d315d1d936">CS_POLY_LIGHTING</a> 0x00000001</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If CS_POLY_LIGHTING is set for a polygon then the polygon will be lit. <a href="group__meshplugins.html#g785e76fb2bbd8af48c4919d315d1d936"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#ga443a016d9a4c6e1f6c4d2409cabf58f">CS_POLY_VISCULL</a> 0x00000004</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If this flag is set then this polygon is used for visibility culling. <a href="group__meshplugins.html#ga443a016d9a4c6e1f6c4d2409cabf58f"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader">Polygon ranges</div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#g4fa7d91777e87a686154a08faba7d304">CS_POLYRANGE</a>(s1, s2) <a class="el" href="structcsPolygonRange.html">csPolygonRange</a> (s1, s2)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A general range of polygons (inclusive). <a href="group__meshplugins.html#g4fa7d91777e87a686154a08faba7d304"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#g40261d7889d8046cd9ef1869e1a1fca3">CS_POLYRANGE_ALL</a> <a class="el" href="structcsPolygonRange.html">csPolygonRange</a> (0, 2000000000)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">All polygons. <a href="group__meshplugins.html#g40261d7889d8046cd9ef1869e1a1fca3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#ge88034c04fb44285f1d003617e2580e1">CS_POLYRANGE_LAST</a> <a class="el" href="structcsPolygonRange.html">csPolygonRange</a> (-1, -1)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The last created polygon or series of polygons (in case it was a box). <a href="group__meshplugins.html#ge88034c04fb44285f1d003617e2580e1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#ga615294f72135020101807d8b8631311">CS_POLYRANGE_SINGLE</a>(idx) <a class="el" href="structcsPolygonRange.html">csPolygonRange</a> (idx, idx)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A single polygon. <a href="group__meshplugins.html#ga615294f72135020101807d8b8631311"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader">Move option flags</div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#gc5f2b661887fad9b8c86b4a11e4a451e">CS_THING_MOVE_NEVER</a> 0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The following flags affect movement options for a thing. <a href="group__meshplugins.html#gc5f2b661887fad9b8c86b4a11e4a451e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#g657c1d04bda160221a9b0f06c7637757">CS_THING_MOVE_OCCASIONAL</a> 2</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The following flags affect movement options for a thing. <a href="group__meshplugins.html#g657c1d04bda160221a9b0f06c7637757"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader">Thing flags</div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__meshplugins.html#g8406796c090505e26463aed79c333aeb">CS_THING_NOCOMPRESS</a> 0x00010000</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If CS_THING_NOCOMPRESS is set then vertices of this thing factory will not be compressed. <a href="group__meshplugins.html#g8406796c090505e26463aed79c333aeb"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Thing mesh interfaces. <p> <p>Definition in file <a class="el" href="thing_8h-source.html">thing.h</a>.</p> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>