diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNLPACS_1_1UMoveContainer.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNLPACS_1_1UMoveContainer.html | 1073 |
1 files changed, 1073 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLPACS_1_1UMoveContainer.html b/docs/doxygen/nel/classNLPACS_1_1UMoveContainer.html new file mode 100644 index 00000000..d0e57ecb --- /dev/null +++ b/docs/doxygen/nel/classNLPACS_1_1UMoveContainer.html @@ -0,0 +1,1073 @@ +<!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>NLPACS::UMoveContainer Class Reference</h1>A container for movable objects Some constraints: * The move bounding box must be lower than the cell size. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="u__move__container_8h-source.html">u_move_container.h</a>></code> +<p> +<p>Inheritance diagram for NLPACS::UMoveContainer: +<p><center><img src="classNLPACS_1_1UMoveContainer.gif" usemap="#NLPACS::UMoveContainer_map" border="0"></center> +<map name="NLPACS::UMoveContainer_map"> +<area href="classNLPACS_1_1CMoveContainer.html" alt="NLPACS::CMoveContainer" shape="rect" coords="0,56,164,80"> +</map> +<a href="classNLPACS_1_1UMoveContainer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * </td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a0">addCollisionablePrimitive</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> firstWorldImage, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage, const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *copyFrom=NULL)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Add a collisionable primitive in the container.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * </td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a1">addNonCollisionablePrimitive</a> (const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *copyFrom=NULL)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Add a noncollisionable primitive in the container.</em> <a href="#a1">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="classNLPACS_1_1UMoveContainer.html#a2">loadCollisionablePrimitiveBlock</a> (const char *filename, <a class="el" href="memory__common_8h.html#a7">uint8</a> firstWorldImage, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage, std::vector< <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * > *primitives, float orientation, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &position, bool dontSnapToGround=false)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Load a PACS primitive block.</em> <a href="#a2">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="classNLPACS_1_1UMoveContainer.html#a3">addCollisionnablePrimitiveBlock</a> (<a class="el" href="classNLPACS_1_1UPrimitiveBlock.html">UPrimitiveBlock</a> *pb, <a class="el" href="memory__common_8h.html#a7">uint8</a> firstWorldImage, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage, std::vector< <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * > *primitives, float orientation, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &position, bool dontSnapToGround=false)=0</td></tr> +<tr><td> </td><td><font size=-1><em>The same as loadCollisionablePrimitiveBlock, but the primitive block is provided by the caller.</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="classNLPACS_1_1UMoveContainer.html#a4">removePrimitive</a> (<a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *primitive)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Remove a primitive from the container.</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="classNLPACS_1_1UMoveContainer.html#a5">getPrimitives</a> (std::vector< const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * > &dest) const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Get all the primitives in the container.</em> <a href="#a5">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="classNLPACS_1_1UMoveContainer.html#a6">evalCollision</a> (double deltaTime, <a class="el" href="memory__common_8h.html#a7">uint8</a> worldImage)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Evaluation of a worldImage of the collision system.</em> <a href="#a6">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="classNLPACS_1_1UMoveContainer.html#a7">evalNCPrimitiveCollision</a> (double deltaTime, <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *primitive, <a class="el" href="memory__common_8h.html#a7">uint8</a> worldImage)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Evaluation of a single non collisionable primitive.</em> <a href="#a7">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="classNLPACS_1_1UMoveContainer.html#a8">testMove</a> (<a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> *primitive, const <a class="el" href="classNLMISC_1_1CVectorD.html">NLMISC::CVectorD</a> &speed, double deltaTime, <a class="el" href="memory__common_8h.html#a7">uint8</a> worldImage, <a class="el" href="classNLMISC_1_1CVectorD.html">NLMISC::CVectorD</a> *contactNormal)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Test the move of a primitive in a specific world image.</em> <a href="#a8">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="classNLPACS_1_1UMoveContainer.html#a9">setAsStatic</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> worldImage)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Set world image as static world image.</em> <a href="#a9">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="classNLPACS_1_1UMoveContainer.html#a10">duplicateWorldImage</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> source, <a class="el" href="memory__common_8h.html#a7">uint8</a> dest)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Duplicate a world image in another.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a11">getNumTriggerInfo</a> () const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Get number of trigger informations.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual const <a class="el" href="classNLPACS_1_1UTriggerInfo.html">UTriggerInfo</a> & </td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#a12">getTriggerInfo</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>) const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Get the n-th trigger informations.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>UMoveContainer * </td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#d0">createMoveContainer</a> (double xmin, double ymin, double xmax, double ymax, <a class="el" href="memory__common_8h.html#a15">uint</a> widthCellCount, <a class="el" href="memory__common_8h.html#a15">uint</a> heightCellCount, double primitiveMaxSize, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage=NELPACS_DEFAULT_NUM_WORLD_IMAGE, <a class="el" href="memory__common_8h.html#a15">uint</a> maxIteration=NELPACS_DEFAULT_MAX_TEST_ITERATION, <a class="el" href="memory__common_8h.html#a15">uint</a> otSize=NELPACS_DEFAULT_OT_SIZE)</td></tr> +<tr><td nowrap align=right valign=top>UMoveContainer * </td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#d1">createMoveContainer</a> (<a class="el" href="classNLPACS_1_1UGlobalRetriever.html">UGlobalRetriever</a> *retriever, <a class="el" href="memory__common_8h.html#a15">uint</a> widthCellCount, <a class="el" href="memory__common_8h.html#a15">uint</a> heightCellCount, double primitiveMaxSize, <a class="el" href="memory__common_8h.html#a7">uint8</a> numWorldImage=NELPACS_DEFAULT_NUM_WORLD_IMAGE, <a class="el" href="memory__common_8h.html#a15">uint</a> maxIteration=NELPACS_DEFAULT_MAX_TEST_ITERATION, <a class="el" href="memory__common_8h.html#a15">uint</a> otSize=NELPACS_DEFAULT_OT_SIZE)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#d2">deleteMoveContainer</a> (UMoveContainer *container)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLPACS_1_1UMoveContainer.html#d3">getPACSCoordsFromMatrix</a> (<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, float &angle, const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &mat)</td></tr> +<tr><td> </td><td><font size=-1><em>Get a pacs position and an orientation from a matrix.</em> <a href="#d3">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A container for movable objects Some constraints: * The move bounding box must be lower than the cell size. +<p> +<dl compact><dt><b> +Author: </b><dd> +Cyril 'Hulud' Corvazier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="u__move__container_8h-source.html#l00060">60</a> of file <a class="el" href="u__move__container_8h-source.html">u_move_container.h</a>.<hr><h2>Member Function Documentation</h2> +<a name="a0" doxytag="NLPACS::UMoveContainer::addCollisionablePrimitive"></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 <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a>* NLPACS::UMoveContainer::addCollisionablePrimitive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>firstWorldImage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>numWorldImage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * </td> + <td class="mdname" nowrap> <em>copyFrom</em> = NULL</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a collisionable primitive in the container. +<p> +Return the pointer on the primitive. This primitive will generate collisions when the system evaluate other primitives against. +<p> +You must specify the ids of each world image where the primitive can be inserted. Thoses ids are consecutives. If you choose 5 as first id and 3 as id count, this primitive could be inserted in the world image #5, #6 and #7. +<p> +This primtive should be inserted in a world image before use. See <a class="el" href="classNLPACS_1_1UMovePrimitive.html#a28">UMovePrimitive::insertInWorldImage</a>.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>firstWorldImage</em> </td><td> +is the first world image where the primitive can be inserted. </td></tr> +<tr><td valign=top><em>numWorldImage</em> </td><td> +is the count of world image where the primitive can be inserted. </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +a pointer on the new primitive. </dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a5">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NLPACS::UMoveContainer::addCollisionnablePrimitiveBlock"></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 NLPACS::UMoveContainer::addCollisionnablePrimitiveBlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLPACS_1_1UPrimitiveBlock.html">UPrimitiveBlock</a> * </td> + <td class="mdname" nowrap> <em>pb</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>firstWorldImage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>numWorldImage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * > * </td> + <td class="mdname" nowrap> <em>primitives</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>orientation</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname" nowrap> <em>position</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>dontSnapToGround</em> = false</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The same as loadCollisionablePrimitiveBlock, but the primitive block is provided by the caller. +<p> + +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a8">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLPACS::UMoveContainer::addNonCollisionablePrimitive"></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 <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a>* NLPACS::UMoveContainer::addNonCollisionablePrimitive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>copyFrom</em> = NULL </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> +Add a noncollisionable primitive in the container. +<p> +Return the pointer on the primitive. This primitive won't generate collisions when the system evaluate other primitives against. +<p> +This primitive can't be inserted in a world image.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>copyFrom</em> </td><td> +is an optional primitive to copy attributes from (so the primitive is initialised with same values) </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +a pointer on the new primitive. </dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a6">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="d1" doxytag="NLPACS::UMoveContainer::createMoveContainer"></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"> UMoveContainer * NLPACS::UMoveContainer::createMoveContainer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLPACS_1_1UGlobalRetriever.html">UGlobalRetriever</a> * </td> + <td class="mdname" nowrap> <em>retriever</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>widthCellCount</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>heightCellCount</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>primitiveMaxSize</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>numWorldImage</em> = NELPACS_DEFAULT_NUM_WORLD_IMAGE, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>maxIteration</em> = NELPACS_DEFAULT_MAX_TEST_ITERATION, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>otSize</em> = NELPACS_DEFAULT_OT_SIZE</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</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="move__container_8cpp-source.html#l01642">1642</a> of file <a class="el" href="move__container_8cpp-source.html">move_container.cpp</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>. </td> + </tr> +</table> +<a name="d0" doxytag="NLPACS::UMoveContainer::createMoveContainer"></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"> UMoveContainer * NLPACS::UMoveContainer::createMoveContainer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>xmin</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>ymin</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>xmax</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>ymax</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>widthCellCount</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>heightCellCount</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>primitiveMaxSize</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>numWorldImage</em> = NELPACS_DEFAULT_NUM_WORLD_IMAGE, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>maxIteration</em> = NELPACS_DEFAULT_MAX_TEST_ITERATION, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>otSize</em> = NELPACS_DEFAULT_OT_SIZE</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</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="move__container_8cpp-source.html#l01630">1630</a> of file <a class="el" href="move__container_8cpp-source.html">move_container.cpp</a>. </td> + </tr> +</table> +<a name="d2" doxytag="NLPACS::UMoveContainer::deleteMoveContainer"></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 NLPACS::UMoveContainer::deleteMoveContainer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">UMoveContainer * </td> + <td class="mdname1" valign="top" nowrap> <em>container</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [static]</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="move__container_8cpp-source.html#l01267">1267</a> of file <a class="el" href="move__container_8cpp-source.html">move_container.cpp</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NLPACS::UMoveContainer::duplicateWorldImage"></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 NLPACS::UMoveContainer::duplicateWorldImage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>dest</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Duplicate a world image in another. +<p> +All primitive will be removed from the destination world image. Then, the source world image will be copied in the destination world image. +<p> +Warning, only primitives from the source that have been decalared as using the destintation world image will be copied. +<p> +The source world image remain the same.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>source</em> </td><td> +is the id of the source world image for the copy. </td></tr> +<tr><td valign=top><em>dest</em> </td><td> +is the id of the destination world image for the copy. </td></tr> +</table> +</dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a10">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NLPACS::UMoveContainer::evalCollision"></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 NLPACS::UMoveContainer::evalCollision </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>deltaTime</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>worldImage</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Evaluation of a worldImage of the collision system. +<p> +This method will evaluate the move of each modified collisionable primitives inserted in the world image. The method test first collisions against the terrai, then test collisions against primitives inserted in the world images declared as static, then test the collision against the primitives inserted in the world image to evaluate.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>deltaTime</em> </td><td> +is the delta time of the system evaluation. </td></tr> +<tr><td valign=top><em>worldImage</em> </td><td> +is the world image to eval. </td></tr> +</table> +</dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a12">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NLPACS::UMoveContainer::evalNCPrimitiveCollision"></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 NLPACS::UMoveContainer::evalNCPrimitiveCollision </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>deltaTime</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * </td> + <td class="mdname" nowrap> <em>primitive</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>worldImage</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Evaluation of a single non collisionable primitive. +<p> +The method test first collisions against the terrai, then test collisions against primitives inserted in the world images declared as static, then test the collision against the primitives inserted in the world image to evaluate.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>deltaTime</em> </td><td> +is the delta time of the system evaluation. </td></tr> +<tr><td valign=top><em>primitive</em> </td><td> +is the prmitive pointer </td></tr> +<tr><td valign=top><em>worldImage</em> </td><td> +is the world image to eval. </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +false if the primitive is a collisionable primitive. </dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a13">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NLPACS::UMoveContainer::getNumTriggerInfo"></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 <a class="el" href="memory__common_8h.html#a15">uint</a> NLPACS::UMoveContainer::getNumTriggerInfo </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get number of trigger informations. +<p> + +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a18">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="d3" doxytag="NLPACS::UMoveContainer::getPACSCoordsFromMatrix"></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 NLPACS::UMoveContainer::getPACSCoordsFromMatrix </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>angle</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> & </td> + <td class="mdname" nowrap> <em>mat</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a pacs position and an orientation from a matrix. +<p> + +<p> +Definition at line <a class="el" href="move__container_8cpp-source.html#l01814">1814</a> of file <a class="el" href="move__container_8cpp-source.html">move_container.cpp</a>. +<p> +References <a class="el" href="matrix_8h-source.html#l00188">NLMISC::CMatrix::getPos</a>, <a class="el" href="classNLMISC_1_1CVector.html#p1">NLMISC::CVector::I</a>, and <a class="el" href="matrix_8cpp-source.html#l01321">NLMISC::CMatrix::mulVector</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NLPACS::UMoveContainer::getPrimitives"></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 NLPACS::UMoveContainer::getPrimitives </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< const <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * > & </td> + <td class="mdname1" valign="top" nowrap> <em>dest</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get all the primitives in the container. +<p> + +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a20">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NLPACS::UMoveContainer::getTriggerInfo"></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 const <a class="el" href="classNLPACS_1_1UTriggerInfo.html">UTriggerInfo</a>& NLPACS::UMoveContainer::getTriggerInfo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the n-th trigger informations. +<p> + +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a19">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLPACS::UMoveContainer::loadCollisionablePrimitiveBlock"></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 NLPACS::UMoveContainer::loadCollisionablePrimitiveBlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>filename</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>firstWorldImage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>numWorldImage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * > * </td> + <td class="mdname" nowrap> <em>primitives</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>orientation</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname" nowrap> <em>position</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>dontSnapToGround</em> = false</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Load a PACS primitive block. +<p> +(*.pacs_prim) +<p> +Add a set of collisionable primitive in the container. If sucess, fill an array with primitives's pointers. The primitive are inserted in the requested world image of the container. Then a setGlobalPosition is done to place the primitives in the world image. The world images are not evaluated. +<p> +You must specify the ids of each world image where the primitives can be inserted. Thoses ids are consecutives. If you choose 5 as first id and 3 as id count, those primitives could be inserted in the world image #5, #6 and #7. +<p> +Those primtives should be inserted in a world image before use. See <a class="el" href="classNLPACS_1_1UMovePrimitive.html#a28">UMovePrimitive::insertInWorldImage</a>. +<p> +Return false if the world image numbers are not present in the move container. +<p> +Can raise unhandled <a class="el" href="classNLMISC_1_1Exception.html">NLMISC::Exception</a> if trouble during serialisation.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>filename</em> </td><td> +is the file to load. </td></tr> +<tr><td valign=top><em>firstWorldImage</em> </td><td> +is the first world image where the primitive can be inserted. </td></tr> +<tr><td valign=top><em>numWorldImage</em> </td><td> +is the count of world image where the primitive can be inserted. </td></tr> +<tr><td valign=top><em>primitives</em> </td><td> +is a pointer on an array of primitive pointer to fill if success. If NULL, Do return nothing. </td></tr> +<tr><td valign=top><em>orientation</em> </td><td> +is the orientation to give to the primitives. </td></tr> +<tr><td valign=top><em>position</em> </td><td> +is the position to give to the primitives. </td></tr> +<tr><td valign=top><em>primitives</em> </td><td> +is a pointer on an array of primitive pointer to fill if success. If NULL, Do return nothing. </td></tr> +<tr><td valign=top><em>dontSnapToGround</em> </td><td> +force the inserted primitive to be flagged as 'DontSnapToGround' </td></tr> +</table> +</dl><dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNLPACS_1_1UMoveContainer.html#a0">addCollisionablePrimitive</a> , <a class="el" href="classNLPACS_1_1UMoveContainer.html#d3">getPACSCoordsFromMatrix</a> </dl><dl compact><dt><b> +Returns: </b><dd> +true if the file is successfully loaded, else return false. </dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a7">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NLPACS::UMoveContainer::removePrimitive"></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 NLPACS::UMoveContainer::removePrimitive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>primitive</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> +Remove a primitive from the container. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>primitive</em> </td><td> +is the pointer on the primitive to remove. </td></tr> +</table> +</dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a11">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NLPACS::UMoveContainer::setAsStatic"></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 NLPACS::UMoveContainer::setAsStatic </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>worldImage</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> +Set world image as static world image. +<p> +This method set this world image as static. It means that primitives inserted there don't move. Each primitive evaluation methods will first test all the primitives in the world images declared as static. Then, the evalutation test the primtive in the asked worldImage.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>worldImage</em> </td><td> +is the id of the world image to set as static. </td></tr> +</table> +</dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a9">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NLPACS::UMoveContainer::testMove"></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 NLPACS::UMoveContainer::testMove </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLPACS_1_1UMovePrimitive.html">UMovePrimitive</a> * </td> + <td class="mdname" nowrap> <em>primitive</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVectorD.html">NLMISC::CVectorD</a> & </td> + <td class="mdname" nowrap> <em>speed</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>double </td> + <td class="mdname" nowrap> <em>deltaTime</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>worldImage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLMISC_1_1CVectorD.html">NLMISC::CVectorD</a> * </td> + <td class="mdname" nowrap> <em>contactNormal</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Test the move of a primitive in a specific world image. +<p> +This method will test the move of each modified primitives inserted in the world image. The method will test first collisions against primitives inserted in the world images declared as static, then test the collision against the primitives inserted in the world image choosed to test the move of the primitive.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>primitive</em> </td><td> +is a pointer on the primitive </td></tr> +<tr><td valign=top><em>speed</em> </td><td> +is the wanted speed of the primitive </td></tr> +<tr><td valign=top><em>deltaTime</em> </td><td> +is the deltaTime of the move of the primitive. </td></tr> +<tr><td valign=top><em>worldImage</em> </td><td> +is the world image where you want to test the move of the primitive. </td></tr> +<tr><td valign=top><em>contactNormal</em> </td><td> +is a pointer to CVectorD to store contactNormal with terrain, if not NULL </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +true if the move is successful, false else. </dl> +<p> +Implemented in <a class="el" href="classNLPACS_1_1CMoveContainer.html#a14">NLPACS::CMoveContainer</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="u__move__container_8h-source.html">u_move_container.h</a><li><a class="el" href="move__container_8cpp-source.html">move_container.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> |