diff options
Diffstat (limited to 'docs/doxygen/nel/a02947.html')
-rw-r--r-- | docs/doxygen/nel/a02947.html | 1689 |
1 files changed, 1689 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02947.html b/docs/doxygen/nel/a02947.html new file mode 100644 index 00000000..bd2ce75c --- /dev/null +++ b/docs/doxygen/nel/a02947.html @@ -0,0 +1,1689 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLPACS::UMovePrimitive class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLPACS::UMovePrimitive Class Reference</h1><code>#include <<a class="el" href="a06615.html">u_move_primitive.h</a>></code> +<p> +<p>Inheritance diagram for NLPACS::UMovePrimitive: +<p><center><img src="a02947.png" usemap="#NLPACS::UMovePrimitive_map" border="0" alt=""></center> +<map name="NLPACS::UMovePrimitive_map"> +<area href="a02946.html" alt="NLPACS::CMovePrimitive" shape="rect" coords="0,56,157,80"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Description of movables primitives.<p> +This primitive can be a 2d oriented box or a 2d oriented cylinder.<p> +<dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06615.html#l00052">52</a> of file <a class="el" href="a06615.html">u_move_primitive.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Type of the collision mask. <a href="#NLPACS_1_1UMovePrimitivew10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> { <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew2">DoNothing</a> = 0x0, +<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew8">Slide</a> = 0x10, +<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew7">Reflexion</a> = 0x20, +<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew9">Stop</a> = 0x40 + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Reaction mode. <a href="#NLPACS_1_1UMovePrimitivew11">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> { <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew5">NotATrigger</a> = 0x0, +<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew3">EnterTrigger</a> = 0x100, +<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew4">ExitTrigger</a> = 0x200, +<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew6">OverlapTrigger</a> = 0x400 + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Reaction mode. <a href="#NLPACS_1_1UMovePrimitivew12">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> { <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13NLPACS_1_1UMovePrimitivew0">_2DOrientedBox</a> = 0x0, +<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13NLPACS_1_1UMovePrimitivew1">_2DOrientedCylinder</a> = 0x1 + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Primitive mode. <a href="#NLPACS_1_1UMovePrimitivew13">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="a04558.html#a13">uint64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew14">TUserData</a></td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Access the primitive static parts.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_0">getAbsorbtion</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_1">getCollisionMask</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_2">getHeight</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_3">getObstacle</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_4">getOcclusionMask</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_5">getPrimitiveType</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_6">getRadius</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_7">getReactionType</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_8">getSize</a> (float &<a class="el" href="a04223.html#a632">width</a>, float &<a class="el" href="a04223.html#a634">depth</a>) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_9">getTriggerType</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_10">isCollisionable</a> () const=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Setup the primitive static parts.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_0">getDontSnapToGround</a> () const=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Test if snapping to ground is off. <a href="#NLPACS_1_1UMovePrimitivez2123_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_1">setAbsorbtion</a> (float attenuation)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_2">setCollisionMask</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> mask)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_3">setDontSnapToGround</a> (bool dont)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_4">setHeight</a> (float <a class="el" href="a04223.html#a633">height</a>)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_5">setObstacle</a> (bool obstacle)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_6">setOcclusionMask</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> mask)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_7">setPrimitiveType</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> <a class="el" href="a04223.html#a581">type</a>)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_8">setRadius</a> (float radius)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_9">setReactionType</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> <a class="el" href="a04223.html#a581">type</a>)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_10">setSize</a> (float <a class="el" href="a04223.html#a632">width</a>, float <a class="el" href="a04223.html#a634">depth</a>)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_11">setTriggerType</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> <a class="el" href="a04223.html#a581">type</a>)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Access the primitive dynamic parts.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03664.html">NLMISC::CVectorD</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2126_0">getFinalPosition</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2126_1">getGlobalPosition</a> (<a class="el" href="a02591.html">UGlobalPosition</a> &pos, <a class="el" href="a04558.html#a7">uint8</a> worldImage) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual double </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2126_2">getOrientation</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a03664.html">NLMISC::CVectorD</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2126_3">getSpeed</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage) const=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Move the primitive.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_0">getFirstWorldImageV</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_1">getNumWorldImageV</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_2">insertInWorldImage</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_3">move</a> (const <a class="el" href="a03664.html">NLMISC::CVectorD</a> &speed, <a class="el" href="a04558.html#a7">uint8</a> worldImage)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_4">removeFromWorldImage</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_5">setGlobalPosition</a> (const <a class="el" href="a02591.html">UGlobalPosition</a> &pos, <a class="el" href="a04558.html#a7">uint8</a> worldImage)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_6">setGlobalPosition</a> (const <a class="el" href="a03664.html">NLMISC::CVectorD</a> &pos, <a class="el" href="a04558.html#a7">uint8</a> worldImage, <a class="el" href="a02591.html#NLPACS_1_1UGlobalPositionw2">UGlobalPosition::TType</a> <a class="el" href="a04223.html#a581">type</a>=UGlobalPosition::Unspecified)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Setup the primitive dynamic parts.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2125_0">setOrientation</a> (double rot, <a class="el" href="a04558.html#a7">uint8</a> worldImage)=0</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew14">TUserData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitiveo0">UserData</a></td></tr> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NLPACS_1_1UMovePrimitivew10" doxytag="NLPACS::UMovePrimitive::TCollisionMask" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">NLPACS::UMovePrimitive::TCollisionMask</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Type of the collision mask. +<p> + +<p> +Definition at line <a class="el" href="a06615.html#l00057">57</a> of file <a class="el" href="a06615.html">u_move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06138.html#l00278">NLNET::CPacsClient::setCollisionMask()</a>, and <a class="el" href="a06138.html#l00293">NLNET::CPacsClient::setOcclusionMask()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivew14" doxytag="NLPACS::UMovePrimitive::TUserData" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef <a class="el" href="a04558.html#a13">uint64</a> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew14">NLPACS::UMovePrimitive::TUserData</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06615.html#l00058">58</a> of file <a class="el" href="a06615.html">u_move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06138.html#l00149">NLNET::CPacsClient::addPrimitive()</a>, <a class="el" href="a06138.html#l00495">NLNET::cbPacsAnswer()</a>, <a class="el" href="a06138.html#l00433">NLNET::CPacsClient::getPositionSpeed()</a>, <a class="el" href="a06138.html#l00486">NLNET::CPacsClient::getPositionSpeedCallback()</a>, <a class="el" href="a06199.html#l00112">NLPACS::CPrimitiveBlock::getUserData()</a>, <a class="el" href="a06138.html#l00164">NLNET::CPacsClient::removePrimitive()</a>, <a class="el" href="a06138.html#l00215">NLNET::CPacsClient::setCurrentPrimitive()</a>, <a class="el" href="a06138.html#l00197">NLNET::CPacsClient::testMove()</a>, and <a class="el" href="a06138.html#l00476">NLNET::CPacsClient::testMoveCallback()</a>. </td> + </tr> +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLPACS_1_1UMovePrimitivew11" doxytag="NLPACS::UMovePrimitive::TReaction" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">NLPACS::UMovePrimitive::TReaction</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Reaction mode. +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew2" doxytag="DoNothing" ></a>DoNothing</em> </td><td> +No reaction. For static objects or not influanced objects. Default value.</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew8" doxytag="Slide" ></a>Slide</em> </td><td> +This object slids over surfaces.</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew7" doxytag="Reflexion" ></a>Reflexion</em> </td><td> +This object reflects over surfaces.</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew9" doxytag="Stop" ></a>Stop</em> </td><td> +This object stops over surfaces.</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06615.html#l00080">80</a> of file <a class="el" href="a06615.html">u_move_primitive.h</a>. +<p> +<div class="fragment"><pre>00081 { +00085 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew2">DoNothing</a>=0x0, +00086 +00090 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew8">Slide</a>=0x10, +00091 +00095 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew7">Reflexion</a>=0x20, +00096 +00100 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew11NLPACS_1_1UMovePrimitivew9">Stop</a>=0x40, +00101 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivew12" doxytag="NLPACS::UMovePrimitive::TTrigger" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">NLPACS::UMovePrimitive::TTrigger</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Reaction mode. +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew5" doxytag="NotATrigger" ></a>NotATrigger</em> </td><td> +Not a trigger.</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew3" doxytag="EnterTrigger" ></a>EnterTrigger</em> </td><td> +This is a one time trigger. This trigger is actived only when an object enter in its volume.</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew4" doxytag="ExitTrigger" ></a>ExitTrigger</em> </td><td> +This is a one time trigger. This trigger is actived only when an object exit from its volume.</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew6" doxytag="OverlapTrigger" ></a>OverlapTrigger</em> </td><td> +This is an overlap trigger. This trigger is actived each time the object overlap the trigger.</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06615.html#l00104">104</a> of file <a class="el" href="a06615.html">u_move_primitive.h</a>. +<p> +<div class="fragment"><pre>00105 { +00109 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew5">NotATrigger</a>=0x0, +00110 +00114 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew3">EnterTrigger</a>=0x100, +00115 +00119 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew4">ExitTrigger</a>=0x200, +00120 +00124 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew12NLPACS_1_1UMovePrimitivew6">OverlapTrigger</a>=0x400, +00125 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivew13" doxytag="NLPACS::UMovePrimitive::TType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">NLPACS::UMovePrimitive::TType</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Primitive mode. +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew13NLPACS_1_1UMovePrimitivew0" doxytag="_2DOrientedBox" ></a>_2DOrientedBox</em> </td><td> +This is a static 2d oriented bounding box. It can be oriented only on the Z axis. It has a height. Collision can be performed only no its sides but not on its top and bottom planes. It doesn't mode. Default value.</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1UMovePrimitivew13NLPACS_1_1UMovePrimitivew1" doxytag="_2DOrientedCylinder" ></a>_2DOrientedCylinder</em> </td><td> +This is a movable 2d oriented cylinder. It can be oriented only on the Z axis. It has a height. Collision can be performed only no its sides but not on its top and bottom planes. It can move only with 3d translations. </td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06615.html#l00061">61</a> of file <a class="el" href="a06615.html">u_move_primitive.h</a>. +<p> +<div class="fragment"><pre>00062 { +00068 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew13NLPACS_1_1UMovePrimitivew0">_2DOrientedBox</a>=0x0, +00069 +00075 <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew13NLPACS_1_1UMovePrimitivew1">_2DOrientedCylinder</a>=0x1, +00076 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_0" doxytag="NLPACS::UMovePrimitive::getAbsorbtion" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NLPACS::UMovePrimitive::getAbsorbtion </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> +Set the attenuation of collision for this object. Default value is 1. Should be between 0~1. 0, all the enrgy is attenuated by the collision. 1, all the energy stay in the object. Used only with the flag Reflexion.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>attenuation</em> </td><td>is the new attenuation for the primitive.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_1">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_1" doxytag="NLPACS::UMovePrimitive::getCollisionMask" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> NLPACS::UMovePrimitive::getCollisionMask </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> +Set the collision mask for this primitive. Default mask is 0xffffffff.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>mask</em> </td><td>is the new collision mask.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_2">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_0" doxytag="NLPACS::UMovePrimitive::getDontSnapToGround" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NLPACS::UMovePrimitive::getDontSnapToGround </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> +Test if snapping to ground is off. +<p> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea6">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2126_0" doxytag="NLPACS::UMovePrimitive::getFinalPosition" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03664.html">NLMISC::CVectorD</a> NLPACS::UMovePrimitive::getFinalPosition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.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> 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 position of the move primitive at the end of the movement. This method is slow. Just for initilisation and teleportation.<p> +If you modify a noncollisionable primitive with this method, you must evaluate in the world image where you have modify it before modify any other dynamic properties in another world image.<p> +<dl compact><dt><b>Returns:</b></dt><dd>the new position of the primitive.</dd></dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_3">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2127_0" doxytag="NLPACS::UMovePrimitive::getFirstWorldImageV" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a7">uint8</a> NLPACS::UMovePrimitive::getFirstWorldImageV </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> +Return the first world image +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea8">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2126_1" doxytag="NLPACS::UMovePrimitive::getGlobalPosition" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::getGlobalPosition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02591.html">UGlobalPosition</a> & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.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"> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the global position of the move primitive. This method is fast because you must pass the global position of the primitive.<p> +If you modify a noncollisionable primitive with this method, you must evaluate in the world image where you have modify it before modify any other dynamic properties in another world image.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>pos</em> </td><td>is the new global position of the primitive.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_4">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_2" doxytag="NLPACS::UMovePrimitive::getHeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NLPACS::UMovePrimitive::getHeight </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> +Set the height. For boxes or cylinder.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>height</em> </td><td>is the new height size of the box. It the size of the sides aligned on OZ.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_5">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2127_1" doxytag="NLPACS::UMovePrimitive::getNumWorldImageV" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a7">uint8</a> NLPACS::UMovePrimitive::getNumWorldImageV </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> +Return the num of world image +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea12">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_3" doxytag="NLPACS::UMovePrimitive::getObstacle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NLPACS::UMovePrimitive::getObstacle </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> +Set the obstacle flag.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>obstacle</em> </td><td>is true if this primitive is an obstacle, else false.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_7">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_4" doxytag="NLPACS::UMovePrimitive::getOcclusionMask" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> NLPACS::UMovePrimitive::getOcclusionMask </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> +Set the occlusion mask for this primitive. Default mask is 0xffffffff.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>mask</em> </td><td>is the new occlusion mask.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_8">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2126_2" doxytag="NLPACS::UMovePrimitive::getOrientation" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual double NLPACS::UMovePrimitive::getOrientation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.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> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the new orientation of the move primitive. Only for the box primitives.<p> +If you modify a noncollisionable primitive with this method, you must evaluate in the world image where you have modify it before modify any other dynamic properties in another world image.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>rot</em> </td><td>is the new OZ rotation in radian. </td></tr> + <tr><td valign=top><em>worldImage</em> </td><td>is the world image in which the primitive must be oriented.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_9">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_5" doxytag="NLPACS::UMovePrimitive::getPrimitiveType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> NLPACS::UMovePrimitive::getPrimitiveType </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> +Set the primitive type.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>type</em> </td><td>is the new primitive type.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_10">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_6" doxytag="NLPACS::UMovePrimitive::getRadius" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NLPACS::UMovePrimitive::getRadius </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> +Set the cylinder size. Only for cylinder.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>radius</em> </td><td>is the new radius size of the cylinder.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_11">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_7" doxytag="NLPACS::UMovePrimitive::getReactionType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> NLPACS::UMovePrimitive::getReactionType </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> +Set the reaction type.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>type</em> </td><td>is the new reaction type.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_12">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_8" doxytag="NLPACS::UMovePrimitive::getSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::getSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </td> + <td class="mdname" nowrap> <em>width</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>depth</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the box size. Only for boxes.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>width</em> </td><td>is the new width size of the box. It the size of the sides aligned on OX. </td></tr> + <tr><td valign=top><em>depth</em> </td><td>is the new depth size of the box. It the size of the sides aligned on OY.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_13">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2126_3" doxytag="NLPACS::UMovePrimitive::getSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual const <a class="el" href="a03664.html">NLMISC::CVectorD</a>& NLPACS::UMovePrimitive::getSpeed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.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> 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 speed vector for this primitive.<p> +the new speed vector. +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_14">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_9" doxytag="NLPACS::UMovePrimitive::getTriggerType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> NLPACS::UMovePrimitive::getTriggerType </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> +Set the trigger type. Default type is NotATrigger.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>type</em> </td><td>is the new trigger type.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_15">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2127_2" doxytag="NLPACS::UMovePrimitive::insertInWorldImage" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::insertInWorldImage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.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> +Insert the primitive in a world image of the move container.<p> +This primitive must a collisionable primitive.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>worldImage</em> </td><td>is the number of the world image where you want to insert the primitive.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_16">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2124_10" doxytag="NLPACS::UMovePrimitive::isCollisionable" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NLPACS::UMovePrimitive::isCollisionable </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> +Return true if the primitive is collisionable +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea19">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2127_3" doxytag="NLPACS::UMovePrimitive::move" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::move </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03664.html">NLMISC::CVectorD</a> & </td> + <td class="mdname" nowrap> <em>speed</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.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> +Move the primitive. This method is fast. Use it to move primitives.<p> +If you modify a noncollisionable primitive with this method, you must evaluate in the world image where you have modify it before modify any other dynamic properties in another world image.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>speed</em> </td><td>is the speed of the primitive.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_18">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2127_4" doxytag="NLPACS::UMovePrimitive::removeFromWorldImage" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::removeFromWorldImage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.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> +Remove the primitive from a world image of the move container.<p> +This primitive must a collisionable primitive.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>worldImage</em> </td><td>is the number of the world image from where you want to remove the primitive.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_19">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_1" doxytag="NLPACS::UMovePrimitive::setAbsorbtion" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setAbsorbtion </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>attenuation</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 the attenuation of collision for this object. Default value is 1. Should be between 0~1. 0, all the enrgy is attenuated by the collision. 1, all the energy stay in the object. Used only with the flag Reflexion.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>attenuation</em> </td><td>is the new attenuation for the primitive.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_20">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_2" doxytag="NLPACS::UMovePrimitive::setCollisionMask" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setCollisionMask </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td> + <td class="mdname1" valign="top" nowrap> <em>mask</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 the collision mask for this primitive. Default mask is 0xffffffff.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>mask</em> </td><td>is the new collision mask.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea26">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_3" doxytag="NLPACS::UMovePrimitive::setDontSnapToGround" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setDontSnapToGround </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>dont</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> +Tells that the primitive should not be snapped to ground. The default is false +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea27">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2127_5" doxytag="NLPACS::UMovePrimitive::setGlobalPosition" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setGlobalPosition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02591.html">UGlobalPosition</a> & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.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> +Set the global position of the move primitive. This method is fast because you must pass the global position of the primitive.<p> +If you modify a noncollisionable primitive with this method, you must evaluate in the world image where you have modify it before modify any other dynamic properties in another world image.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>pos</em> </td><td>is the new global position of the primitive.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_21">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2127_6" doxytag="NLPACS::UMovePrimitive::setGlobalPosition" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setGlobalPosition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03664.html">NLMISC::CVectorD</a> & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>worldImage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02591.html#NLPACS_1_1UGlobalPositionw2">UGlobalPosition::TType</a> </td> + <td class="mdname" nowrap> <em>type</em> = UGlobalPosition::Unspecified</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> +Set the global position of the move primitive. Setting the global position can take a long time if you use a <a class="el" href="a02589.html">UGlobalRetriever</a>. Set the position with this method only the first time or for teleporting.<p> +If you modify a noncollisionable primitive with this method, you must evaluate in the world image where you have modify it before modify any other dynamic properties in another world image.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>pos</em> </td><td>is the new global position of the primitive.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_22">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_4" doxytag="NLPACS::UMovePrimitive::setHeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setHeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>height</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 the height. For boxes or cylinder.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>height</em> </td><td>is the new height size of the box. It the size of the sides aligned on OZ.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea28">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_5" doxytag="NLPACS::UMovePrimitive::setObstacle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setObstacle </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>obstacle</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 the obstacle flag.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>obstacle</em> </td><td>is true if this primitive is an obstacle, else false.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea30">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_6" doxytag="NLPACS::UMovePrimitive::setOcclusionMask" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setOcclusionMask </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td> + <td class="mdname1" valign="top" nowrap> <em>mask</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 the occlusion mask for this primitive. Default mask is 0xffffffff.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>mask</em> </td><td>is the new occlusion mask.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea31">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2125_0" doxytag="NLPACS::UMovePrimitive::setOrientation" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setOrientation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>rot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.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> +Set the new orientation of the move primitive. Only for the box primitives.<p> +If you modify a noncollisionable primitive with this method, you must evaluate in the world image where you have modify it before modify any other dynamic properties in another world image.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>rot</em> </td><td>is the new OZ rotation in radian. </td></tr> + <tr><td valign=top><em>worldImage</em> </td><td>is the world image in which the primitive must be oriented.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_23">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_7" doxytag="NLPACS::UMovePrimitive::setPrimitiveType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setPrimitiveType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> </td> + <td class="mdname1" valign="top" nowrap> <em>type</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 the primitive type.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>type</em> </td><td>is the new primitive type.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea32">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_8" doxytag="NLPACS::UMovePrimitive::setRadius" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setRadius </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>radius</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 the cylinder size. Only for cylinder.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>radius</em> </td><td>is the new radius size of the cylinder.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea33">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_9" doxytag="NLPACS::UMovePrimitive::setReactionType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setReactionType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> </td> + <td class="mdname1" valign="top" nowrap> <em>type</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 the reaction type.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>type</em> </td><td>is the new reaction type.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea34">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_10" doxytag="NLPACS::UMovePrimitive::setSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>width</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>depth</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> +Set the box size. Only for boxes.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>width</em> </td><td>is the new width size of the box. It the size of the sides aligned on OX. </td></tr> + <tr><td valign=top><em>depth</em> </td><td>is the new depth size of the box. It the size of the sides aligned on OY.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea35">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivez2123_11" doxytag="NLPACS::UMovePrimitive::setTriggerType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLPACS::UMovePrimitive::setTriggerType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> </td> + <td class="mdname1" valign="top" nowrap> <em>type</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 the trigger type. Default type is NotATrigger.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>type</em> </td><td>is the new trigger type.</td></tr> + </table> +</dl> + +<p> +Implemented in <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea36">NLPACS::CMovePrimitive</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLPACS_1_1UMovePrimitiveo0" doxytag="NLPACS::UMovePrimitive::UserData" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew14">TUserData</a> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitiveo0">NLPACS::UMovePrimitive::UserData</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +User data. +<p> +Definition at line <a class="el" href="a06615.html#l00130">130</a> of file <a class="el" href="a06615.html">u_move_primitive.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06615.html">u_move_primitive.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:26:32 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |