diff options
Diffstat (limited to 'docs/doxygen/nel/a02946.html')
-rw-r--r-- | docs/doxygen/nel/a02946.html | 3455 |
1 files changed, 3455 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02946.html b/docs/doxygen/nel/a02946.html new file mode 100644 index 00000000..34dd5792 --- /dev/null +++ b/docs/doxygen/nel/a02946.html @@ -0,0 +1,3455 @@ +<!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::CMovePrimitive 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::CMovePrimitive Class Reference</h1><code>#include <<a class="el" href="a06054.html">move_primitive.h</a>></code> +<p> +<p>Inheritance diagram for NLPACS::CMovePrimitive: +<p><center><img src="a02946.png" usemap="#NLPACS::CMovePrimitive_map" border="0" alt=""></center> +<map name="NLPACS::CMovePrimitive_map"> +<area href="a02947.html" alt="NLPACS::UMovePrimitive" shape="rect" coords="0,0,157,24"> +</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="a06054.html#l00052">52</a> of file <a class="el" href="a06054.html">move_primitive.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>From UMovePrimitive</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_0">checkTestTime</a> (<a class="el" href="a04558.html#a11">uint32</a> testTime, <a class="el" href="a04558.html#a11">uint32</a> maxTestIteration)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_1">getAbsorbtion</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_2">getCollisionMask</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03664.html">NLMISC::CVectorD</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_3">getFinalPosition</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_4">getGlobalPosition</a> (<a class="el" href="a02591.html">UGlobalPosition</a> &pos, <a class="el" href="a04558.html#a7">uint8</a> worldImage) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_5">getHeight</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_6">getMass</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_7">getObstacle</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_8">getOcclusionMask</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>double </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_9">getOrientation</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_10">getPrimitiveType</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_11">getRadius</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_12">getReactionType</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_13">getSize</a> (float &<a class="el" href="a04223.html#a632">width</a>, float &<a class="el" href="a04223.html#a634">depth</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03664.html">NLMISC::CVectorD</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_14">getSpeed</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_15">getTriggerType</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_16">insertInWorldImage</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_17">isInCollision</a> (<a class="el" href="a02946.html">CMovePrimitive</a> *primitive)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_18">move</a> (const <a class="el" href="a03664.html">NLMISC::CVectorD</a> &speed, <a class="el" href="a04558.html#a7">uint8</a> worldImage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_19">removeFromWorldImage</a> (<a class="el" href="a04558.html#a7">uint8</a> worldImage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_20">setAbsorbtion</a> (float attenuation)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_21">setGlobalPosition</a> (const <a class="el" href="a02591.html">UGlobalPosition</a> &pos, <a class="el" href="a04558.html#a7">uint8</a> worldImage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_22">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)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_23">setOrientation</a> (double rot, <a class="el" href="a04558.html#a7">uint8</a> worldImage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_24">_Attenuation</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_25">_CollisionMask</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02943.html">CMoveContainer</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_26">_Container</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_27">_FirstWorldImage</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_28">_Height</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_29">_IterationCount</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_30">_LastTestTime</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">_Length</a> [2]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_32">_NumWorldImage</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_33">_OcclusionMask</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02384.html">CCollisionOTInfo</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_34">_RootOTInfo</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03118.html">CPrimitiveWorldImage</a> ** </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_36">_WorldImages</a></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 class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea0">addCollisionOTInfo</a> (<a class="el" href="a02384.html">CCollisionOTInfo</a> *info)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a collision time ordered table element. <a href="#NLPACS_1_1CMovePrimitivea0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea1">checkSortedList</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check sorted lists. <a href="#NLPACS_1_1CMovePrimitivea1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea2">CMovePrimitive</a> (<a class="el" href="a02943.html">CMoveContainer</a> *container, <a class="el" href="a04558.html#a7">uint8</a> firstWorldImage, <a class="el" href="a04558.html#a7">uint8</a> numWorldImage)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NLPACS_1_1CMovePrimitivea2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea3">dirtAllPos</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea4">getAttenuation</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get attenuation. <a href="#NLPACS_1_1CMovePrimitivea4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea5">getCollisionMaskInternal</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get collision mask. <a href="#NLPACS_1_1CMovePrimitivea5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea6">getDontSnapToGround</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Test if snapping to ground is off. <a href="#NLPACS_1_1CMovePrimitivea6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea7">getFirstWorldImage</a> () const </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="a02946.html#NLPACS_1_1CMovePrimitivea8">getFirstWorldImageV</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea9">getHeightInternal</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get height. <a href="#NLPACS_1_1CMovePrimitivea9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea10">getLength</a> (<a class="el" href="a04558.html#a15">uint</a> where) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get length. <a href="#NLPACS_1_1CMovePrimitivea10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea11">getNumWorldImage</a> () const </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="a02946.html#NLPACS_1_1CMovePrimitivea12">getNumWorldImageV</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea13">getOcclusionMaskInternal</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get occlusion mask. <a href="#NLPACS_1_1CMovePrimitivea13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea14">getPrimitiveTypeInternal</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get primitive type. <a href="#NLPACS_1_1CMovePrimitivea14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea15">getRadiusInternal</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get length. <a href="#NLPACS_1_1CMovePrimitivea15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea16">getReactionTypeInternal</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get reaction type. <a href="#NLPACS_1_1CMovePrimitivea16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea17">getTriggerTypeInternal</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get reaction type. <a href="#NLPACS_1_1CMovePrimitivea17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03118.html">CPrimitiveWorldImage</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea18">getWorldImage</a> (<a class="el" href="a04558.html#a15">uint</a> i) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea19">isCollisionable</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Is collisionable. <a href="#NLPACS_1_1CMovePrimitivea19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea20">isInserted</a> (<a class="el" href="a04558.html#a15">uint</a> i) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea21">isNonCollisionable</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea22">isObstacle</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Is an obstacle ? <a href="#NLPACS_1_1CMovePrimitivea22"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea23">isTriggered</a> (<a class="el" href="a02946.html">CMovePrimitive</a> &second, bool enter, bool exit)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check trigger flag. <a href="#NLPACS_1_1CMovePrimitivea23"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea24">removeCollisionOTInfo</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all collision time ordered table element. <a href="#NLPACS_1_1CMovePrimitivea24"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea25">removeCollisionOTInfo</a> (<a class="el" href="a02384.html">CCollisionOTInfo</a> *toRemove)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove one collision time ordered table element. <a href="#NLPACS_1_1CMovePrimitivea25"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea26">setCollisionMask</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> mask)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea27">setDontSnapToGround</a> (bool dont)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea28">setHeight</a> (float <a class="el" href="a04223.html#a633">height</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea29">setNonCollisionable</a> (bool nonCollisionable)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea30">setObstacle</a> (bool obstacle)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea31">setOcclusionMask</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> mask)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea32">setPrimitiveType</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea33">setRadius</a> (float radius)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea34">setReactionType</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea35">setSize</a> (float <a class="el" href="a04223.html#a632">width</a>, float <a class="el" href="a04223.html#a634">depth</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea36">setTriggerType</a> (<a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivea37">~CMovePrimitive</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#NLPACS_1_1CMovePrimitivea37"></a><br><br></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> + +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7">TStaticFlags</a> { <br> + <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a> = 0x000f, +<a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey5">ReactionMask</a> = 0x00f0, +<a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey6">TriggerMask</a> = 0x0f00, +<a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey3">ObstacleFlag</a> = 0x1000, +<br> + <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey2">NonCollisionableFlag</a> = 0x2000, +<a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey0">DontSnapToGroundFlag</a> = 0x4000, +<a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey1">ForceSize</a> = 0xffff +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02946.html#NLPACS_1_1CMovePrimitiven0">CMoveContainer</a></td></tr> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NLPACS_1_1UMovePrimitivew10" doxytag="NLPACS::CMovePrimitive::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><code> [inherited]</code> + </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::CMovePrimitive::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><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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::CMovePrimitive::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><code> [inherited]</code> + </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_1CMovePrimitivey7" doxytag="NLPACS::CMovePrimitive::TStaticFlags" ></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="a02946.html#NLPACS_1_1CMovePrimitivey7">NLPACS::CMovePrimitive::TStaticFlags</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<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_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4" doxytag="PrimitiveMask" ></a>PrimitiveMask</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey5" doxytag="ReactionMask" ></a>ReactionMask</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey6" doxytag="TriggerMask" ></a>TriggerMask</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey3" doxytag="ObstacleFlag" ></a>ObstacleFlag</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey2" doxytag="NonCollisionableFlag" ></a>NonCollisionableFlag</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey0" doxytag="DontSnapToGroundFlag" ></a>DontSnapToGroundFlag</em> </td><td> +The primitive shoudln't be snapped to ground. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey1" doxytag="ForceSize" ></a>ForceSize</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06054.html#l00058">58</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +<div class="fragment"><pre>00059 { +00060 <span class="comment">// Mask for the primitive type</span> +00061 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a> =0x000f, +00062 +00063 <span class="comment">// Mask for the primitive type</span> +00064 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey5">ReactionMask</a> =0x00f0, +00065 +00066 <span class="comment">// Mask for the trigger type</span> +00067 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey6">TriggerMask</a> =0x0f00, +00068 +00069 <span class="comment">// Obstacle flag. This flag tells that this object is an obstacle for others objects.</span> +00070 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey3">ObstacleFlag</a> =0x1000, +00071 +00072 <span class="comment">// Ghost flag. This flag tells that this object is a ghost object or not.</span> +00073 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey2">NonCollisionableFlag</a> =0x2000, +00074 +00076 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey0">DontSnapToGroundFlag</a> = 0x4000, +00077 +00078 <span class="comment">// Force the size to uint16.</span> +00079 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey1">ForceSize</a> =0xffff +00080 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitivew12" doxytag="NLPACS::CMovePrimitive::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><code> [inherited]</code> + </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::CMovePrimitive::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><code> [inherited]</code> + </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>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea2" doxytag="NLPACS::CMovePrimitive::CMovePrimitive" ></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"> NLPACS::CMovePrimitive::CMovePrimitive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02943.html">CMoveContainer</a> * </td> + <td class="mdname" nowrap> <em>container</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>firstWorldImage</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>numWorldImage</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea37" doxytag="NLPACS::CMovePrimitive::~CMovePrimitive" ></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 NLPACS::CMovePrimitive::~<a class="el" href="a02946.html">CMovePrimitive</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Destructor. +<p> + </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea0" doxytag="NLPACS::CMovePrimitive::addCollisionOTInfo" ></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"> void NLPACS::CMovePrimitive::addCollisionOTInfo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02384.html">CCollisionOTInfo</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>info</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a collision time ordered table element. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00349">349</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00468">_RootOTInfo</a>, and <a class="el" href="a02384.html#NLPACS_1_1CCollisionOTInfoa11">NLPACS::CCollisionOTInfo::primitiveLink()</a>. +<p> +<div class="fragment"><pre>00350 { +00351 <span class="comment">// Link to the list</span> +00352 info->primitiveLink (<span class="keyword">this</span>, _RootOTInfo); +00353 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_34">_RootOTInfo</a>=info; +00354 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea1" doxytag="NLPACS::CMovePrimitive::checkSortedList" ></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"> void NLPACS::CMovePrimitive::checkSortedList </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check sorted lists. +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_0" doxytag="NLPACS::CMovePrimitive::checkTestTime" ></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"> bool NLPACS::CMovePrimitive::checkTestTime </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>testTime</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>maxTestIteration</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</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="a06054.html#l00393">393</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00477">_IterationCount</a>, <a class="el" href="a06054.html#l00474">_LastTestTime</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06207.html#l00081">NLPACS::CPrimitiveWorldImage::evalCollision()</a>. +<p> +<div class="fragment"><pre>00394 { +00395 <span class="comment">// Already checked for this test time ?</span> +00396 <span class="keywordflow">if</span> (testTime!=<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_30">_LastTestTime</a>) +00397 { +00398 <span class="comment">// First time this primitive is visited at this test</span> +00399 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_30">_LastTestTime</a>=testTime; +00400 +00401 <span class="comment">// Test counter</span> +00402 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_29">_IterationCount</a>=maxTestIteration; +00403 } +00404 <span class="keywordflow">else</span> +00405 { +00406 <span class="comment">// Too many test this primitive ?</span> +00407 <span class="keywordflow">if</span> (<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_29">_IterationCount</a><=0) +00408 { +00409 <span class="comment">// nlwarning("in checkTestTime(): Get to the max iteration count");</span> +00410 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00411 } +00412 <span class="keywordflow">else</span> +00413 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_29">_IterationCount</a>--; +00414 } +00415 <span class="comment">// Ok, test can be performed</span> +00416 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00417 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea3" doxytag="NLPACS::CMovePrimitive::dirtAllPos" ></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"> void NLPACS::CMovePrimitive::dirtAllPos </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00154">154</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00465">_Container</a>, <a class="el" href="a06054.html#l00453">_NumWorldImage</a>, <a class="el" href="a06054.html#l00471">_WorldImages</a>, <a class="el" href="a06208.html#l00270">NLPACS::CPrimitiveWorldImage::dirtPos()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00155 { +00156 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i<<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_32">_NumWorldImage</a>; i++) +00157 { +00158 <span class="comment">// Get world image and check if it exist</span> +00159 CPrimitiveWorldImage *worldImage=<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_36">_WorldImages</a>[i]; +00160 +00161 <span class="comment">// Dirt its pos</span> +00162 worldImage->dirtPos (_Container, <span class="keyword">this</span>, i+_FirstWorldImage); +00163 } +00164 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_1" doxytag="NLPACS::CMovePrimitive::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"> float NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_0">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea4" doxytag="NLPACS::CMovePrimitive::getAttenuation" ></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"> float NLPACS::CMovePrimitive::getAttenuation </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get attenuation. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00313">313</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00447">_Attenuation</a>. +<p> +Referenced by <a class="el" href="a06207.html#l01167">NLPACS::CPrimitiveWorldImage::reaction()</a>. +<p> +<div class="fragment"><pre>00314 { +00315 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_24">_Attenuation</a>; +00316 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_2" doxytag="NLPACS::CMovePrimitive::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"> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_1">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea5" doxytag="NLPACS::CMovePrimitive::getCollisionMaskInternal" ></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_1UMovePrimitivew10">TCollisionMask</a> NLPACS::CMovePrimitive::getCollisionMaskInternal </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get collision mask. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00299">299</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00462">_CollisionMask</a>. +<p> +Referenced by <a class="el" href="a06207.html#l00081">NLPACS::CPrimitiveWorldImage::evalCollision()</a>. +<p> +<div class="fragment"><pre>00300 { +00301 <span class="comment">// New position</span> +00302 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_25">_CollisionMask</a>; +00303 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea6" doxytag="NLPACS::CMovePrimitive::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"> bool NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_0">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00096">96</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, and <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey0">DontSnapToGroundFlag</a>. +<p> +<div class="fragment"><pre>00097 { +00098 <span class="keywordflow">return</span> (<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a> & <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey0">DontSnapToGroundFlag</a>) != 0; +00099 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_3" doxytag="NLPACS::CMovePrimitive::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"> <a class="el" href="a03664.html">NLMISC::CVectorD</a> NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2126_0">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea7" doxytag="NLPACS::CMovePrimitive::getFirstWorldImage" ></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="a04558.html#a7">uint8</a> NLPACS::CMovePrimitive::getFirstWorldImage </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> [inline]</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="a06054.html#l00142">142</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00143 { +00144 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_27">_FirstWorldImage</a>; +00145 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea8" doxytag="NLPACS::CMovePrimitive::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::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_0">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_4" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2126_1">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_5" doxytag="NLPACS::CMovePrimitive::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"> float NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_2">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea9" doxytag="NLPACS::CMovePrimitive::getHeightInternal" ></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"> float NLPACS::CMovePrimitive::getHeightInternal </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get height. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00325">325</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06207.html#l00780">NLPACS::CPrimitiveWorldImage::evalCollisionOCoverOC()</a>, <a class="el" href="a06207.html#l00573">NLPACS::CPrimitiveWorldImage::evalCollisionPoverOC()</a>, <a class="el" href="a06207.html#l00455">NLPACS::CPrimitiveWorldImage::evalCollisionPoverS()</a>, and <a class="el" href="a06207.html#l00689">NLPACS::CPrimitiveWorldImage::evalCollisionSoverOC()</a>. +<p> +<div class="fragment"><pre>00326 { +00327 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_28">_Height</a>; +00328 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea10" doxytag="NLPACS::CMovePrimitive::getLength" ></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"> float NLPACS::CMovePrimitive::getLength </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>where</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get length. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00319">319</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06207.html#l00166">NLPACS::CPrimitiveWorldImage::evalCollision()</a>, <a class="el" href="a06207.html#l00455">NLPACS::CPrimitiveWorldImage::evalCollisionPoverS()</a>, <a class="el" href="a06207.html#l00689">NLPACS::CPrimitiveWorldImage::evalCollisionSoverOC()</a>, and <a class="el" href="a06207.html#l00912">NLPACS::CPrimitiveWorldImage::precalcPos()</a>. +<p> +<div class="fragment"><pre>00320 { +00321 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">_Length</a>[where]; +00322 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_6" doxytag="NLPACS::CMovePrimitive::getMass" ></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"> float NLPACS::CMovePrimitive::getMass </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> [inline]</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="a06054.html#l00421">421</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a>. +<p> +Referenced by <a class="el" href="a06207.html#l01167">NLPACS::CPrimitiveWorldImage::reaction()</a>. +<p> +<div class="fragment"><pre>00422 { +00423 <span class="comment">// Box ?</span> +00424 <span class="keywordflow">if</span> ( (<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a>) == <a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew13NLPACS_1_1UMovePrimitivew0">_2DOrientedBox</a> ) +00425 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">_Length</a>[0]*<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">_Length</a>[1]*<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_28">_Height</a>; +00426 <span class="comment">// Cylinder ?</span> +00427 <span class="keywordflow">else</span> +00428 { +00429 <a class="code" href="a04199.html#a6">nlassert</a> ( (_StaticFlags&PrimitiveMask) == _2DOrientedCylinder ); +00430 <span class="keywordflow">return</span> _Length[0]*(<span class="keywordtype">float</span>)NLMISC::Pi*_Height; +00431 } +00432 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea11" doxytag="NLPACS::CMovePrimitive::getNumWorldImage" ></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="a04558.html#a7">uint8</a> NLPACS::CMovePrimitive::getNumWorldImage </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> [inline]</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="a06054.html#l00148">148</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00453">_NumWorldImage</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00149 { +00150 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_32">_NumWorldImage</a>; +00151 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea12" doxytag="NLPACS::CMovePrimitive::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::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_1">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_7" doxytag="NLPACS::CMovePrimitive::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"> bool NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_3">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_8" doxytag="NLPACS::CMovePrimitive::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"> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew10">TCollisionMask</a> NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_4">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea13" doxytag="NLPACS::CMovePrimitive::getOcclusionMaskInternal" ></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_1UMovePrimitivew10">TCollisionMask</a> NLPACS::CMovePrimitive::getOcclusionMaskInternal </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get occlusion mask. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00306">306</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00459">_OcclusionMask</a>. +<p> +Referenced by <a class="el" href="a06207.html#l00081">NLPACS::CPrimitiveWorldImage::evalCollision()</a>. +<p> +<div class="fragment"><pre>00307 { +00308 <span class="comment">// New position</span> +00309 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_33">_OcclusionMask</a>; +00310 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_9" doxytag="NLPACS::CMovePrimitive::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"> double NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2126_2">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_10" doxytag="NLPACS::CMovePrimitive::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"> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a> NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_5">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea14" doxytag="NLPACS::CMovePrimitive::getPrimitiveTypeInternal" ></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_1UMovePrimitivew13">TType</a> NLPACS::CMovePrimitive::getPrimitiveTypeInternal </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get primitive type. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00278">278</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06207.html#l00081">NLPACS::CPrimitiveWorldImage::evalCollision()</a>, <a class="el" href="a06207.html#l00243">NLPACS::CPrimitiveWorldImage::evalCollisionOBoverOB()</a>, <a class="el" href="a06207.html#l00349">NLPACS::CPrimitiveWorldImage::evalCollisionOBoverOC()</a>, <a class="el" href="a06207.html#l00780">NLPACS::CPrimitiveWorldImage::evalCollisionOCoverOC()</a>, <a class="el" href="a06207.html#l00573">NLPACS::CPrimitiveWorldImage::evalCollisionPoverOC()</a>, <a class="el" href="a06207.html#l00455">NLPACS::CPrimitiveWorldImage::evalCollisionPoverS()</a>, <a class="el" href="a06207.html#l00689">NLPACS::CPrimitiveWorldImage::evalCollisionSoverOC()</a>, <a class="el" href="a06207.html#l00971">NLPACS::CPrimitiveWorldImage::precalcBB()</a>, and <a class="el" href="a06207.html#l00912">NLPACS::CPrimitiveWorldImage::precalcPos()</a>. +<p> +<div class="fragment"><pre>00279 { +00280 <span class="comment">// New position</span> +00281 <span class="keywordflow">return</span> (<a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew13">TType</a>)(<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a>); +00282 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_11" doxytag="NLPACS::CMovePrimitive::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"> float NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_6">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea15" doxytag="NLPACS::CMovePrimitive::getRadiusInternal" ></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"> float NLPACS::CMovePrimitive::getRadiusInternal </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get length. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00331">331</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06207.html#l00166">NLPACS::CPrimitiveWorldImage::evalCollision()</a>, <a class="el" href="a06207.html#l00780">NLPACS::CPrimitiveWorldImage::evalCollisionOCoverOC()</a>, <a class="el" href="a06207.html#l00573">NLPACS::CPrimitiveWorldImage::evalCollisionPoverOC()</a>, <a class="el" href="a06207.html#l00689">NLPACS::CPrimitiveWorldImage::evalCollisionSoverOC()</a>, and <a class="el" href="a06207.html#l00971">NLPACS::CPrimitiveWorldImage::precalcBB()</a>. +<p> +<div class="fragment"><pre>00332 { +00333 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">_Length</a>[0]; +00334 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_12" doxytag="NLPACS::CMovePrimitive::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"> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a> NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_7">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea16" doxytag="NLPACS::CMovePrimitive::getReactionTypeInternal" ></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_1UMovePrimitivew11">TReaction</a> NLPACS::CMovePrimitive::getReactionTypeInternal </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get reaction type. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00285">285</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey5">ReactionMask</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06207.html#l01167">NLPACS::CPrimitiveWorldImage::reaction()</a>. +<p> +<div class="fragment"><pre>00286 { +00287 <span class="comment">// New position</span> +00288 <span class="keywordflow">return</span> (<a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew11">TReaction</a>)(<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey5">ReactionMask</a>); +00289 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_13" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_8">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_14" doxytag="NLPACS::CMovePrimitive::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"> const <a class="el" href="a03664.html">NLMISC::CVectorD</a>& NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2126_3">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_15" doxytag="NLPACS::CMovePrimitive::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"> <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a> NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_9">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea17" doxytag="NLPACS::CMovePrimitive::getTriggerTypeInternal" ></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_1UMovePrimitivew12">TTrigger</a> NLPACS::CMovePrimitive::getTriggerTypeInternal </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get reaction type. +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00292">292</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey6">TriggerMask</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00293 { +00294 <span class="comment">// New position</span> +00295 <span class="keywordflow">return</span> (<a class="code" href="a02947.html#NLPACS_1_1UMovePrimitivew12">TTrigger</a>)(<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey6">TriggerMask</a>); +00296 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea18" doxytag="NLPACS::CMovePrimitive::getWorldImage" ></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="a03118.html">CPrimitiveWorldImage</a>* NLPACS::CMovePrimitive::getWorldImage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>i</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</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="a06054.html#l00116">116</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00453">_NumWorldImage</a>, <a class="el" href="a06054.html#l00471">_WorldImages</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06049.html#l00036">NLPACS::CMoveContainer::changed()</a>, <a class="el" href="a06207.html#l01149">NLPACS::CPrimitiveWorldImage::checkSortedList()</a>, <a class="el" href="a06054.html#l00126">isInserted()</a>, and <a class="el" href="a06045.html#l00124">NLPACS::CMoveCell::updateSortedLists()</a>. +<p> +<div class="fragment"><pre>00117 { +00118 <span class="comment">// Checks this primitive belong of the requested world image.</span> +00119 <a class="code" href="a04199.html#a6">nlassert</a> ((i>=(<a class="code" href="a04558.html#a15">uint</a>)_FirstWorldImage)&&(i<(uint)_FirstWorldImage+(uint)_NumWorldImage)); +00120 +00121 <span class="comment">// Return the good one</span> +00122 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_36">_WorldImages</a>[i-_FirstWorldImage]; +00123 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_16" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_2">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea19" doxytag="NLPACS::CMovePrimitive::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"> bool NLPACS::CMovePrimitive::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Is collisionable. +<p> + +<p> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2124_10">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00343">343</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00101">isNonCollisionable()</a>. +<p> +Referenced by <a class="el" href="a06049.html#l00036">NLPACS::CMoveContainer::changed()</a>. +<p> +<div class="fragment"><pre>00344 { +00345 <span class="keywordflow">return</span> !<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivea21">isNonCollisionable</a>(); +00346 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_17" doxytag="NLPACS::CMovePrimitive::isInCollision" ></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"> bool NLPACS::CMovePrimitive::isInCollision </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02946.html">CMovePrimitive</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>primitive</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea20" doxytag="NLPACS::CMovePrimitive::isInserted" ></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"> bool NLPACS::CMovePrimitive::isInserted </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>i</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</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="a06054.html#l00126">126</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00453">_NumWorldImage</a>, <a class="el" href="a06054.html#l00116">getWorldImage()</a>, <a class="el" href="a06208.html#l00153">NLPACS::CPrimitiveWorldImage::isInWorldImageFlag()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00127 { +00128 <span class="comment">// Checks</span> +00129 <span class="keywordflow">if</span> ((i>=(<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_27">_FirstWorldImage</a>)&&(i<(<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_27">_FirstWorldImage</a>+(<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_32">_NumWorldImage</a>)) +00130 { +00131 <span class="comment">// Get world image</span> +00132 <span class="keywordflow">return</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivea18">getWorldImage</a> (i)->isInWorldImageFlag (); +00133 } +00134 <span class="keywordflow">else</span> +00135 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00136 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea21" doxytag="NLPACS::CMovePrimitive::isNonCollisionable" ></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"> bool NLPACS::CMovePrimitive::isNonCollisionable </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> [inline]</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="a06054.html#l00101">101</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, and <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey2">NonCollisionableFlag</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00343">isCollisionable()</a>. +<p> +<div class="fragment"><pre>00102 { +00103 <span class="keywordflow">return</span> (<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey2">NonCollisionableFlag</a>)!=0; +00104 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea22" doxytag="NLPACS::CMovePrimitive::isObstacle" ></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"> bool NLPACS::CMovePrimitive::isObstacle </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Is an obstacle ? +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00337">337</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, and <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey3">ObstacleFlag</a>. +<p> +Referenced by <a class="el" href="a06207.html#l01167">NLPACS::CPrimitiveWorldImage::reaction()</a>. +<p> +<div class="fragment"><pre>00338 { +00339 <span class="keywordflow">return</span> (<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey3">ObstacleFlag</a>)!=0; +00340 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea23" doxytag="NLPACS::CMovePrimitive::isTriggered" ></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"> bool NLPACS::CMovePrimitive::isTriggered </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02946.html">CMovePrimitive</a> & </td> + <td class="mdname" nowrap> <em>second</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>enter</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>exit</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check trigger flag. +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_18" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_3">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea24" doxytag="NLPACS::CMovePrimitive::removeCollisionOTInfo" ></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"> void NLPACS::CMovePrimitive::removeCollisionOTInfo </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Remove all collision time ordered table element. +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea25" doxytag="NLPACS::CMovePrimitive::removeCollisionOTInfo" ></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"> void NLPACS::CMovePrimitive::removeCollisionOTInfo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02384.html">CCollisionOTInfo</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>toRemove</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Remove one collision time ordered table element. +<p> + +<p> +Referenced by <a class="el" href="a05580.html#l00047">NLPACS::CCollisionOTStaticInfo::removeFromPrimitives()</a>, and <a class="el" href="a05580.html#l00038">NLPACS::CCollisionOTDynamicInfo::removeFromPrimitives()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_19" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_4">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_20" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_1">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea26" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_2">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00207">207</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00462">_CollisionMask</a>. +<p> +<div class="fragment"><pre>00208 { +00209 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_25">_CollisionMask</a>=mask; +00210 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea27" doxytag="NLPACS::CMovePrimitive::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::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_3">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00090">90</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, and <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey0">DontSnapToGroundFlag</a>. +<p> +<div class="fragment"><pre>00091 { +00092 <span class="keywordflow">if</span> (dont) <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a> |= <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey0">DontSnapToGroundFlag</a>; +00093 <span class="keywordflow">else</span> <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a> &= ~<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey0">DontSnapToGroundFlag</a>; +00094 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_21" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_5">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_22" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2127_6">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea28" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_4">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00257">257</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a05646.html#l01013">height</a>. +<p> +<div class="fragment"><pre>00258 { +00259 <span class="comment">// New size</span> +00260 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_28">_Height</a>=<a class="code" href="a04223.html#a633">height</a>; +00261 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea29" doxytag="NLPACS::CMovePrimitive::setNonCollisionable" ></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"> void NLPACS::CMovePrimitive::setNonCollisionable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>nonCollisionable</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00107">107</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, and <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey2">NonCollisionableFlag</a>. +<p> +<div class="fragment"><pre>00108 { +00109 <span class="keywordflow">if</span> (nonCollisionable) +00110 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>|=<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey2">NonCollisionableFlag</a>; +00111 <span class="keywordflow">else</span> +00112 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&=~<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey2">NonCollisionableFlag</a>; +00113 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea30" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_5">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00227">227</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey3">ObstacleFlag</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00228 { +00229 <span class="comment">// New flag</span> +00230 <span class="keywordflow">if</span> (obstacle) +00231 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>|=<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey3">ObstacleFlag</a>; +00232 <span class="keywordflow">else</span> +00233 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&=~(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey3">ObstacleFlag</a>; +00234 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea31" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_6">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00217">217</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00459">_OcclusionMask</a>. +<p> +<div class="fragment"><pre>00218 { +00219 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_33">_OcclusionMask</a>=mask; +00220 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_23" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2125_0">NLPACS::UMovePrimitive</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea32" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_7">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00171">171</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00172 { +00173 <span class="comment">// New position</span> +00174 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&=~(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a>; +00175 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>|=<a class="code" href="a04223.html#a581">type</a>; +00176 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea33" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_8">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00268">268</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00269 { +00270 <span class="comment">// Checks</span> +00271 <a class="code" href="a04199.html#a6">nlassert</a> ((((<a class="code" href="a04558.html#a11">uint32</a>)_StaticFlags)&PrimitiveMask)==_2DOrientedCylinder); +00272 +00273 <span class="comment">// New position</span> +00274 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">_Length</a>[0]=radius; +00275 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea34" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_9">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00183">183</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey5">ReactionMask</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00184 { +00185 <span class="comment">// New position</span> +00186 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&=~(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey5">ReactionMask</a>; +00187 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>|=<a class="code" href="a04223.html#a581">type</a>; +00188 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea35" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_10">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00242">242</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a05646.html#l01013">depth</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey4">PrimitiveMask</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01013">width</a>. +<p> +<div class="fragment"><pre>00243 { +00244 <span class="comment">// Checks</span> +00245 <a class="code" href="a04199.html#a6">nlassert</a> ((((<a class="code" href="a04558.html#a11">uint32</a>)_StaticFlags)&PrimitiveMask)==_2DOrientedBox); +00246 +00247 <span class="comment">// New position</span> +00248 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">_Length</a>[0]=<a class="code" href="a04223.html#a632">width</a>; +00249 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">_Length</a>[1]=<a class="code" href="a04223.html#a634">depth</a>; +00250 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivea36" doxytag="NLPACS::CMovePrimitive::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"> void NLPACS::CMovePrimitive::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> [inline, 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> +Implements <a class="el" href="a02947.html#NLPACS_1_1UMovePrimitivez2123_11">NLPACS::UMovePrimitive</a>. +<p> +Definition at line <a class="el" href="a06054.html#l00195">195</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +References <a class="el" href="a06054.html#l00450">_StaticFlags</a>, <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey6">TriggerMask</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00196 { +00197 <span class="comment">// New position</span> +00198 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>&=~(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivey7NLPACS_1_1CMovePrimitivey6">TriggerMask</a>; +00199 <a class="code" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">_StaticFlags</a>|=<a class="code" href="a04223.html#a581">type</a>; +00200 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NLPACS_1_1CMovePrimitiven0" doxytag="NLPACS::CMovePrimitive::CMoveContainer" ></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"> friend class <a class="el" href="a02943.html">CMoveContainer</a><code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00055">55</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_24" doxytag="NLPACS::CMovePrimitive::_Attenuation" ></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"> float <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_24">NLPACS::CMovePrimitive::_Attenuation</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00447">447</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00313">getAttenuation()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_25" doxytag="NLPACS::CMovePrimitive::_CollisionMask" ></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_1UMovePrimitivew10">TCollisionMask</a> <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_25">NLPACS::CMovePrimitive::_CollisionMask</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00462">462</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00299">getCollisionMaskInternal()</a>, and <a class="el" href="a06054.html#l00207">setCollisionMask()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_26" doxytag="NLPACS::CMovePrimitive::_Container" ></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="a02943.html">CMoveContainer</a>* <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_26">NLPACS::CMovePrimitive::_Container</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00465">465</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00154">dirtAllPos()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_27" doxytag="NLPACS::CMovePrimitive::_FirstWorldImage" ></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="a04558.html#a7">uint8</a> <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_27">NLPACS::CMovePrimitive::_FirstWorldImage</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00456">456</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_28" doxytag="NLPACS::CMovePrimitive::_Height" ></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"> float <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_28">NLPACS::CMovePrimitive::_Height</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00444">444</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_29" doxytag="NLPACS::CMovePrimitive::_IterationCount" ></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="a04558.html#a10">sint32</a> <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_29">NLPACS::CMovePrimitive::_IterationCount</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00477">477</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00393">checkTestTime()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_30" doxytag="NLPACS::CMovePrimitive::_LastTestTime" ></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="a04558.html#a11">uint32</a> <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_30">NLPACS::CMovePrimitive::_LastTestTime</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00474">474</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00393">checkTestTime()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_31" doxytag="NLPACS::CMovePrimitive::_Length" ></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"> float <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_31">NLPACS::CMovePrimitive::_Length</a>[2]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00441">441</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_32" doxytag="NLPACS::CMovePrimitive::_NumWorldImage" ></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="a04558.html#a7">uint8</a> <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_32">NLPACS::CMovePrimitive::_NumWorldImage</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00453">453</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00154">dirtAllPos()</a>, <a class="el" href="a06054.html#l00148">getNumWorldImage()</a>, <a class="el" href="a06054.html#l00116">getWorldImage()</a>, and <a class="el" href="a06054.html#l00126">isInserted()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_33" doxytag="NLPACS::CMovePrimitive::_OcclusionMask" ></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_1UMovePrimitivew10">TCollisionMask</a> <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_33">NLPACS::CMovePrimitive::_OcclusionMask</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00459">459</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00306">getOcclusionMaskInternal()</a>, and <a class="el" href="a06054.html#l00217">setOcclusionMask()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_34" doxytag="NLPACS::CMovePrimitive::_RootOTInfo" ></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="a02384.html">CCollisionOTInfo</a>* <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_34">NLPACS::CMovePrimitive::_RootOTInfo</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00468">468</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00349">addCollisionOTInfo()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_35" doxytag="NLPACS::CMovePrimitive::_StaticFlags" ></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="a04558.html#a9">uint16</a> <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_35">NLPACS::CMovePrimitive::_StaticFlags</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00450">450</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00096">getDontSnapToGround()</a>, <a class="el" href="a06054.html#l00421">getMass()</a>, <a class="el" href="a06054.html#l00278">getPrimitiveTypeInternal()</a>, <a class="el" href="a06054.html#l00285">getReactionTypeInternal()</a>, <a class="el" href="a06054.html#l00292">getTriggerTypeInternal()</a>, <a class="el" href="a06054.html#l00101">isNonCollisionable()</a>, <a class="el" href="a06054.html#l00337">isObstacle()</a>, <a class="el" href="a06054.html#l00090">setDontSnapToGround()</a>, <a class="el" href="a06054.html#l00107">setNonCollisionable()</a>, <a class="el" href="a06054.html#l00227">setObstacle()</a>, <a class="el" href="a06054.html#l00171">setPrimitiveType()</a>, <a class="el" href="a06054.html#l00268">setRadius()</a>, <a class="el" href="a06054.html#l00183">setReactionType()</a>, <a class="el" href="a06054.html#l00242">setSize()</a>, and <a class="el" href="a06054.html#l00195">setTriggerType()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CMovePrimitivez1262_36" doxytag="NLPACS::CMovePrimitive::_WorldImages" ></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="a03118.html">CPrimitiveWorldImage</a>** <a class="el" href="a02946.html#NLPACS_1_1CMovePrimitivez1262_36">NLPACS::CMovePrimitive::_WorldImages</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06054.html#l00471">471</a> of file <a class="el" href="a06054.html">move_primitive.h</a>. +<p> +Referenced by <a class="el" href="a06054.html#l00154">dirtAllPos()</a>, and <a class="el" href="a06054.html#l00116">getWorldImage()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1UMovePrimitiveo0" doxytag="NLPACS::CMovePrimitive::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><code> [inherited]</code> + </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="a06054.html">move_primitive.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:18:58 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> |