<!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: iVisibilityCullerListener Struct 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 class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>iVisibilityCullerListener Struct Reference<br> <small> [<a class="el" href="group__engine3d__vis.html">Visibility</a>]</small> </h1><!-- doxytag: class="iVisibilityCullerListener" --><!-- doxytag: inherits="iBase" -->Implement this interface when you want to get notified about visible objects detected by the visibility cullers. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="viscull_8h-source.html">iengine/viscull.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for iVisibilityCullerListener:</div> <div class="dynsection"> <p><center><img src="structiVisibilityCullerListener__inherit__graph.png" border="0" usemap="#iVisibilityCullerListener__inherit__map" alt="Inheritance graph"></center> <map name="iVisibilityCullerListener__inherit__map"> <area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="59,7,115,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="structiVisibilityCullerListener-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">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiVisibilityCullerListener.html#d662139cfaa77dcfe6dfd1f90d957cca">ObjectVisible</a> (<a class="el" href="structiVisibilityObject.html">iVisibilityObject</a> *visobject, <a class="el" href="structiMeshWrapper.html">iMeshWrapper</a> *mesh, <a class="el" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e">uint32</a> frustum_mask)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This function is called whenever the visibilty culler discovers a new visible mesh. <a href="#d662139cfaa77dcfe6dfd1f90d957cca"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Implement this interface when you want to get notified about visible objects detected by the visibility cullers. <p> This callback is used by:<ul> <li><a class="el" href="structiVisibilityCuller.html" title="This interface represents a visibility culling system.">iVisibilityCuller</a> </li></ul> <p>Definition at line <a class="el" href="viscull_8h-source.html#l00070">70</a> of file <a class="el" href="viscull_8h-source.html">viscull.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="d662139cfaa77dcfe6dfd1f90d957cca"></a><!-- doxytag: member="iVisibilityCullerListener::ObjectVisible" ref="d662139cfaa77dcfe6dfd1f90d957cca" args="(iVisibilityObject *visobject, iMeshWrapper *mesh, uint32 frustum_mask)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iVisibilityCullerListener::ObjectVisible </td> <td>(</td> <td class="paramtype"><a class="el" href="structiVisibilityObject.html">iVisibilityObject</a> * </td> <td class="paramname"> <em>visobject</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structiMeshWrapper.html">iMeshWrapper</a> * </td> <td class="paramname"> <em>mesh</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e">uint32</a> </td> <td class="paramname"> <em>frustum_mask</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> This function is called whenever the visibilty culler discovers a new visible mesh. <p> The frustum_mask is a mask that is compatible with the current set of clip planes in the <a class="el" href="structiRenderView.html" title="This interface represents all information needed to render some object in a current...">iRenderView</a>. The mask will be true for every relevant plane. This can be used to further optimize clipping testing. </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>iengine/<a class="el" href="viscull_8h-source.html">viscull.h</a></ul> <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>