diff options
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1IBaseClipObs.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1IBaseClipObs.html | 636 |
1 files changed, 636 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1IBaseClipObs.html b/docs/doxygen/nel/classNL3D_1_1IBaseClipObs.html new file mode 100644 index 00000000..5cf7cdd9 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1IBaseClipObs.html @@ -0,0 +1,636 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<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> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::IBaseClipObs Class Reference</h1>The base interface for clip traversal. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::IBaseClipObs: +<p><center><img src="classNL3D_1_1IBaseClipObs.gif" usemap="#NL3D::IBaseClipObs_map" border="0"></center> +<map name="NL3D::IBaseClipObs_map"> +<area href="classNL3D_1_1IObs.html" alt="NL3D::IObs" shape="rect" coords="590,56,816,80"> +<area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="590,0,816,24"> +<area href="classNL3D_1_1CClusterClipObs.html" alt="NL3D::CClusterClipObs" shape="rect" coords="0,168,226,192"> +<area href="classNL3D_1_1CDefaultClipObs.html" alt="NL3D::CDefaultClipObs" shape="rect" coords="236,168,462,192"> +<area href="classNL3D_1_1CQuadGridClipClusterClipObs.html" alt="NL3D::CQuadGridClipClusterClipObs" shape="rect" coords="472,168,698,192"> +<area href="classNL3D_1_1CRootModelClipObs.html" alt="NL3D::CRootModelClipObs" shape="rect" coords="708,168,934,192"> +<area href="classNL3D_1_1CSkipModelClipObs.html" alt="NL3D::CSkipModelClipObs" shape="rect" coords="944,168,1170,192"> +<area href="classNL3D_1_1CTransformClipObs.html" alt="NL3D::CTransformClipObs" shape="rect" coords="1180,168,1406,192"> +<area href="classNL3D_1_1CCoarseMeshClipObs.html" alt="NL3D::CCoarseMeshClipObs" shape="rect" coords="708,224,934,248"> +<area href="classNL3D_1_1CLandscapeClipObs.html" alt="NL3D::CLandscapeClipObs" shape="rect" coords="944,224,1170,248"> +<area href="classNL3D_1_1CParticleSystemClipObs.html" alt="NL3D::CParticleSystemClipObs" shape="rect" coords="1180,224,1406,248"> +<area href="classNL3D_1_1CTransformShapeClipObs.html" alt="NL3D::CTransformShapeClipObs" shape="rect" coords="1416,224,1642,248"> +<area href="classNL3D_1_1CVegetableBlendLayerClipObs.html" alt="NL3D::CVegetableBlendLayerClipObs" shape="rect" coords="1652,224,1878,248"> +<area href="classNL3D_1_1CMeshMultiLodClipObs.html" alt="NL3D::CMeshMultiLodClipObs" shape="rect" coords="1416,280,1642,304"> +</map> +<a href="classNL3D_1_1IBaseClipObs-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#s3">TClipReason</a> { <a class="el" href="classNL3D_1_1IBaseClipObs.html#s3s0">FrustumClip</a> = 0, +<a class="el" href="classNL3D_1_1IBaseClipObs.html#s3s1">DistMaxClip</a>, +<a class="el" href="classNL3D_1_1IBaseClipObs.html#s3s2">countClip</a> + }</td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#a0">IBaseClipObs</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#a1">~IBaseClipObs</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#a2">init</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Build shortcut to HrcObs and RenderObs.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#a3">clip</a> (IBaseClipObs *caller)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Should return true if object is visible (eg in frustum).</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#a4">traverse</a> (<a class="el" href="classNL3D_1_1IObs.html">IObs</a> *caller)=0</td></tr> +<tr><td> </td><td><font size=-1><em>The base doit method.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#a5">forceClip</a> (<a class="el" href="classNL3D_1_1IBaseClipObs.html#s3">TClipReason</a> clipReason)</td></tr> +<tr><td> </td><td><font size=-1><em>This method is called when a father want to clip all his sons (eg: QuadGridClipCluster) The default behavior is just to call this method on observer sons.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#a6">isTreeNode</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Because the clip traversal is a graph of observer not a hierarchy.</em> <a href="#a6">More...</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="classNL3D_1_1IBaseHrcObs.html">IBaseHrcObs</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#m0">HrcObs</a></td></tr> +<tr><td> </td><td><font size=-1><em>Shortcut to observers.</em> <a href="#m0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1IBaseRenderObs.html">IBaseRenderObs</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#m1">RenderObs</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1IBaseAnimDetailObs.html">IBaseAnimDetailObs</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#m2">AnimDetailObs</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1IBaseLoadBalancingObs.html">IBaseLoadBalancingObs</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#m3">LoadBalancingObs</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#m4">Visible</a></td></tr> +<tr><td> </td><td><font size=-1><em>OUT variable (good after <a class="el" href="classNL3D_1_1IBaseClipObs.html#a4">traverse</a>()).</em> <a href="#m4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#o0">_IndexInVisibleList</a></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classNL3D_1_1IBaseClipObs.html#l0">CClipTrav</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +The base interface for clip traversal. +<p> +Clip observers MUST derive from <a class="el" href="classNL3D_1_1IBaseClipObs.html">IBaseClipObs</a>. This observer:<ul> +<li>leave the notification system to DO NOTHING.<li>implement the <a class="el" href="classNL3D_1_1IBaseClipObs.html#a2">init</a>() method, to set shortcut to neighbor observers.</ul> +<b>DERIVER</b> <b>RULES</b>:<ul> +<li>implement the notification system (see <a class="el" href="classNL3D_1_1IObs.html">IObs</a> and <a class="el" href="classNL3D_1_1IObs.html#a0">IObs</a>() for details).<li>implement the <a class="el" href="classNL3D_1_1IBaseClipObs.html#a3">clip</a>() method.<li>implement the <a class="el" href="classNL3D_1_1IBaseClipObs.html#a4">traverse</a>(), which should call <a class="el" href="classNL3D_1_1IBaseClipObs.html#a3">clip</a>(). see <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> for an implementation.<li>possibly modify/extend the graph methods (such as a graph behavior).</ul> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CClipTrav.html">CClipTrav</a> </dl><dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00062">62</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>.<hr><h2>Member Enumeration Documentation</h2> +<a name="s3" doxytag="NL3D::IBaseClipObs::TClipReason"></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"> enum NL3D::IBaseClipObs::TClipReason + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b> +Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a name="s3s0" doxytag="FrustumClip"></a><em>FrustumClip</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s3s1" doxytag="DistMaxClip"></a><em>DistMaxClip</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s3s2" doxytag="countClip"></a><em>countClip</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00076">76</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::IBaseClipObs::IBaseClipObs"></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"> NL3D::IBaseClipObs::IBaseClipObs </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00082">82</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. +<p> +References <a class="el" href="base__clip__obs_8h-source.html#l00129">_IndexInVisibleList</a>, <a class="el" href="base__clip__obs_8h-source.html#l00066">HrcObs</a>, <a class="el" href="base__clip__obs_8h-source.html#l00067">RenderObs</a>, and <a class="el" href="base__clip__obs_8h-source.html#l00074">Visible</a>. +<p> +Referenced by <a class="el" href="vegetable__blend__layer__model_8h-source.html#l00123">NL3D::CVegetableBlendLayerClipObs::clip</a>, <a class="el" href="transform_8h-source.html#l00645">NL3D::CTransformClipObs::clip</a>, <a class="el" href="skip__model_8h-source.html#l00097">NL3D::CSkipModelClipObs::clip</a>, <a class="el" href="root__model_8h-source.html#l00101">NL3D::CRootModelClipObs::clip</a>, <a class="el" href="quad__grid__clip__cluster_8h-source.html#l00103">NL3D::CQuadGridClipClusterClipObs::clip</a>, <a class="el" href="base__clip__obs_8h-source.html#l00151">NL3D::CDefaultClipObs::clip</a>, <a class="el" href="base__clip__obs_8cpp-source.html#l00082">forceClip</a>, and <a class="el" href="transform_8cpp-source.html#l00709">NL3D::CTransformClipObs::traverse</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::IBaseClipObs::~IBaseClipObs"></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"> NL3D::IBaseClipObs::~IBaseClipObs </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8cpp-source.html#l00052">52</a> of file <a class="el" href="base__clip__obs_8cpp-source.html">base_clip_obs.cpp</a>. +<p> +References <a class="el" href="base__clip__obs_8h-source.html#l00129">_IndexInVisibleList</a>, <a class="el" href="base__clip__obs_8h-source.html#l00126">CClipTrav</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="mot_8h-source.html#l00415">NL3D::IObs::Trav</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a3" doxytag="NL3D::IBaseClipObs::clip"></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"> virtual bool NL3D::IBaseClipObs::clip </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">IBaseClipObs * </td> + <td class="mdname1" valign="top" nowrap> <em>caller</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Should return true if object is visible (eg in frustum). +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>caller</em> </td><td> +the caller obs (may NULL) </td></tr> +</table> +</dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CDefaultClipObs.html#a0">NL3D::CDefaultClipObs</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::IBaseClipObs::forceClip"></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 NL3D::IBaseClipObs::forceClip </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IBaseClipObs.html#s3">TClipReason</a> </td> + <td class="mdname1" valign="top" nowrap> <em>clipReason</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This method is called when a father want to clip all his sons (eg: QuadGridClipCluster) The default behavior is just to call this method on observer sons. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>TClipReason</em> </td><td> +is the reason of the forced clip. either a frustrum clip or a DistMax Clip </td></tr> +</table> +</dl> +<p> +Reimplemented in <a class="el" href="classNL3D_1_1CMeshMultiLodClipObs.html#a1">NL3D::CMeshMultiLodClipObs</a>. +<p> +Definition at line <a class="el" href="base__clip__obs_8cpp-source.html#l00082">82</a> of file <a class="el" href="base__clip__obs_8cpp-source.html">base_clip_obs.cpp</a>. +<p> +References <a class="el" href="mot_8h-source.html#l00465">NL3D::IObs::getFirstChild</a>, <a class="el" href="mot_8h-source.html#l00474">NL3D::IObs::getNextChild</a>, <a class="el" href="base__clip__obs_8h-source.html#l00082">IBaseClipObs</a>, and <a class="el" href="mot_8cpp-source.html#l00584">NL3D::IObs::IObs</a>. +<p> +Referenced by <a class="el" href="quad__grid__clip__cluster_8cpp-source.html#l00082">NL3D::CQuadGridClipClusterClipObs::traverse</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::IBaseClipObs::init"></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 NL3D::IBaseClipObs::init </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build shortcut to HrcObs and RenderObs. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1IObs.html#a2">NL3D::IObs</a>. +<p> +Reimplemented in <a class="el" href="classNL3D_1_1CLandscapeClipObs.html#a0">NL3D::CLandscapeClipObs</a>. +<p> +Definition at line <a class="el" href="base__clip__obs_8cpp-source.html#l00067">67</a> of file <a class="el" href="base__clip__obs_8cpp-source.html">base_clip_obs.cpp</a>. +<p> +References <a class="el" href="base__clip__obs_8h-source.html#l00068">AnimDetailObs</a>, <a class="el" href="anim__detail__trav_8h-source.html#l00050">NL3D::AnimDetailTravId</a>, <a class="el" href="mot_8cpp-source.html#l00626">NL3D::IObs::getObs</a>, <a class="el" href="base__clip__obs_8h-source.html#l00066">HrcObs</a>, <a class="el" href="hrc__trav_8h-source.html#l00050">NL3D::HrcTravId</a>, <a class="el" href="base__clip__obs_8h-source.html#l00069">LoadBalancingObs</a>, <a class="el" href="load__balancing__trav_8h-source.html#l00054">NL3D::LoadBalancingTravId</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="base__clip__obs_8h-source.html#l00067">RenderObs</a>, and <a class="el" href="render__trav_8h-source.html#l00064">NL3D::RenderTravId</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::IBaseClipObs::isTreeNode"></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"> virtual bool NL3D::IBaseClipObs::isTreeNode </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Because the clip traversal is a graph of observer not a hierarchy. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1IObs.html#z617_0">NL3D::IObs</a>. +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00123">123</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::IBaseClipObs::traverse"></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"> virtual void NL3D::IBaseClipObs::traverse </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IObs.html">IObs</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>caller</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The base doit method. +<p> +The default behavior should be:<ul> +<li>test if HrcObs->WorldVis is visible.<li>test if the observer is clipped with <a class="el" href="classNL3D_1_1IBaseClipObs.html#a3">clip</a>()<li>if visible and not clipped, set <code><a class="el" href="classNL3D_1_1IBaseClipObs.html#m4">Visible</a>=true</code> (else false).<li>if Visible==true, add it to the post-clip traversals which need it (if renderable, animDetailable etc...)<li>always <a class="el" href="classNL3D_1_1IObs.html#z620_0">traverseSons</a>(), to clip the sons. </ul> + +<p> +Implements <a class="el" href="classNL3D_1_1IObs.html#z618_0">NL3D::IObs</a>. +<p> +Implemented in <a class="el" href="classNL3D_1_1CDefaultClipObs.html#a1">NL3D::CDefaultClipObs</a>. </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a name="l0" doxytag="NL3D::IBaseClipObs::CClipTrav"></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"> friend class CClipTrav<code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00126">126</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. +<p> +Referenced by <a class="el" href="base__clip__obs_8cpp-source.html#l00052">~IBaseClipObs</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o0" doxytag="NL3D::IBaseClipObs::_IndexInVisibleList"></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="memory__common_8h.html#a14">sint</a> NL3D::IBaseClipObs::_IndexInVisibleList<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00129">129</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. +<p> +Referenced by <a class="el" href="base__clip__obs_8h-source.html#l00082">IBaseClipObs</a>, and <a class="el" href="base__clip__obs_8cpp-source.html#l00052">~IBaseClipObs</a>. </td> + </tr> +</table> +<a name="m2" doxytag="NL3D::IBaseClipObs::AnimDetailObs"></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="classNL3D_1_1IBaseAnimDetailObs.html">IBaseAnimDetailObs</a>* NL3D::IBaseClipObs::AnimDetailObs + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00068">68</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. +<p> +Referenced by <a class="el" href="base__clip__obs_8cpp-source.html#l00067">init</a>, <a class="el" href="particle__system__model_8h-source.html#l00329">NL3D::CParticleSystemClipObs::insertInVisibleList</a>, and <a class="el" href="transform_8cpp-source.html#l00709">NL3D::CTransformClipObs::traverse</a>. </td> + </tr> +</table> +<a name="m0" doxytag="NL3D::IBaseClipObs::HrcObs"></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="classNL3D_1_1IBaseHrcObs.html">IBaseHrcObs</a>* NL3D::IBaseClipObs::HrcObs + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to observers. +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00066">66</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. +<p> +Referenced by <a class="el" href="transform__shape_8cpp-source.html#l00132">NL3D::CTransformShapeClipObs::clip</a>, <a class="el" href="base__clip__obs_8h-source.html#l00082">IBaseClipObs</a>, <a class="el" href="base__clip__obs_8cpp-source.html#l00067">init</a>, <a class="el" href="transform_8cpp-source.html#l00709">NL3D::CTransformClipObs::traverse</a>, and <a class="el" href="particle__system__model_8cpp-source.html#l00553">NL3D::CParticleSystemClipObs::traverse</a>. </td> + </tr> +</table> +<a name="m3" doxytag="NL3D::IBaseClipObs::LoadBalancingObs"></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="classNL3D_1_1IBaseLoadBalancingObs.html">IBaseLoadBalancingObs</a>* NL3D::IBaseClipObs::LoadBalancingObs + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00069">69</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. +<p> +Referenced by <a class="el" href="base__clip__obs_8cpp-source.html#l00067">init</a>, <a class="el" href="particle__system__model_8h-source.html#l00329">NL3D::CParticleSystemClipObs::insertInVisibleList</a>, and <a class="el" href="transform_8cpp-source.html#l00709">NL3D::CTransformClipObs::traverse</a>. </td> + </tr> +</table> +<a name="m1" doxytag="NL3D::IBaseClipObs::RenderObs"></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="classNL3D_1_1IBaseRenderObs.html">IBaseRenderObs</a>* NL3D::IBaseClipObs::RenderObs + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00067">67</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. +<p> +Referenced by <a class="el" href="base__clip__obs_8h-source.html#l00082">IBaseClipObs</a>, <a class="el" href="base__clip__obs_8cpp-source.html#l00067">init</a>, and <a class="el" href="transform_8cpp-source.html#l00709">NL3D::CTransformClipObs::traverse</a>. </td> + </tr> +</table> +<a name="m4" doxytag="NL3D::IBaseClipObs::Visible"></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 NL3D::IBaseClipObs::Visible + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +OUT variable (good after <a class="el" href="classNL3D_1_1IBaseClipObs.html#a4">traverse</a>()). +<p> +set to true is the object is visible (not clipped). +<p> +Definition at line <a class="el" href="base__clip__obs_8h-source.html#l00074">74</a> of file <a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a>. +<p> +Referenced by <a class="el" href="base__clip__obs_8h-source.html#l00082">IBaseClipObs</a>, <a class="el" href="transform_8cpp-source.html#l00709">NL3D::CTransformClipObs::traverse</a>, and <a class="el" href="particle__system__model_8cpp-source.html#l00553">NL3D::CParticleSystemClipObs::traverse</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="base__clip__obs_8h-source.html">base_clip_obs.h</a><li><a class="el" href="base__clip__obs_8cpp-source.html">base_clip_obs.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |