diff options
| author | git perforce import user <a@b> | 2016-10-25 12:29:14 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees> | 2016-10-25 18:56:37 -0500 |
| commit | 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch) | |
| tree | fa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Documentation/PhysXAPI/files/PxD6Joint_8h-source.html | |
| download | physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip | |
Initial commit:
PhysX 3.4.0 Update @ 21294896
APEX 1.4.0 Update @ 21275617
[CL 21300167]
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/PxD6Joint_8h-source.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/PxD6Joint_8h-source.html | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxD6Joint_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxD6Joint_8h-source.html new file mode 100644 index 00000000..741c6714 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxD6Joint_8h-source.html @@ -0,0 +1,235 @@ +<html> + <head> + <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxD6Joint.h Source File</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css"> + </head> + + <body bgcolor="#FFFFFF"> + <div id="header"> + <hr class="first"> + <img alt="" src="images/PhysXlogo.png" align="middle"> <br> + <center> + <a class="qindex" href="main.html">Main Page</a> + <a class="qindex" href="hierarchy.html">Class Hierarchy</a> + <a class="qindex" href="annotated.html">Compound List</a> + <a class="qindex" href="functions.html">Compound Members</a> + </center> + <hr class="second"> + </div> +<!-- Generated by Doxygen 1.5.8 --> +<h1>PxD6Joint.h</h1><a href="PxD6Joint_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// This code contains NVIDIA Confidential Information and is disclosed to you</span> +<a name="l00002"></a>00002 <span class="comment">// under a form of NVIDIA software license agreement provided separately to you.</span> +<a name="l00003"></a>00003 <span class="comment">//</span> +<a name="l00004"></a>00004 <span class="comment">// Notice</span> +<a name="l00005"></a>00005 <span class="comment">// NVIDIA Corporation and its licensors retain all intellectual property and</span> +<a name="l00006"></a>00006 <span class="comment">// proprietary rights in and to this software and related documentation and</span> +<a name="l00007"></a>00007 <span class="comment">// any modifications thereto. Any use, reproduction, disclosure, or</span> +<a name="l00008"></a>00008 <span class="comment">// distribution of this software and related documentation without an express</span> +<a name="l00009"></a>00009 <span class="comment">// license agreement from NVIDIA Corporation is strictly prohibited.</span> +<a name="l00010"></a>00010 <span class="comment">//</span> +<a name="l00011"></a>00011 <span class="comment">// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES</span> +<a name="l00012"></a>00012 <span class="comment">// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO</span> +<a name="l00013"></a>00013 <span class="comment">// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,</span> +<a name="l00014"></a>00014 <span class="comment">// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.</span> +<a name="l00015"></a>00015 <span class="comment">//</span> +<a name="l00016"></a>00016 <span class="comment">// Information and code furnished is believed to be accurate and reliable.</span> +<a name="l00017"></a>00017 <span class="comment">// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such</span> +<a name="l00018"></a>00018 <span class="comment">// information or for any infringement of patents or other rights of third parties that may</span> +<a name="l00019"></a>00019 <span class="comment">// result from its use. No license is granted by implication or otherwise under any patent</span> +<a name="l00020"></a>00020 <span class="comment">// or patent rights of NVIDIA Corporation. Details are subject to change without notice.</span> +<a name="l00021"></a>00021 <span class="comment">// This code supersedes and replaces all information previously supplied.</span> +<a name="l00022"></a>00022 <span class="comment">// NVIDIA Corporation products are not authorized for use as critical</span> +<a name="l00023"></a>00023 <span class="comment">// components in life support devices or systems without express written approval of</span> +<a name="l00024"></a>00024 <span class="comment">// NVIDIA Corporation.</span> +<a name="l00025"></a>00025 <span class="comment">//</span> +<a name="l00026"></a>00026 <span class="comment">// Copyright (c) 2008-2016 NVIDIA Corporation. All rights reserved.</span> +<a name="l00027"></a>00027 <span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span> +<a name="l00028"></a>00028 <span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved. </span> +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef PX_D6JOINT_H</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define PX_D6JOINT_H</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="PxJoint_8h.html">extensions/PxJoint.h</a>"</span> +<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="PxJointLimit_8h.html">extensions/PxJointLimit.h</a>"</span> +<a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="PxFlags_8h.html">foundation/PxFlags.h</a>"</span> +<a name="l00040"></a>00040 +<a name="l00041"></a>00041 <span class="preprocessor">#if !PX_DOXYGEN</span> +<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="keyword">namespace </span>physx +<a name="l00043"></a>00043 { +<a name="l00044"></a>00044 <span class="preprocessor">#endif</span> +<a name="l00045"></a>00045 <span class="preprocessor"></span> +<a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="classPxD6Joint.html" title="A D6 joint is a general constraint between two actors.">PxD6Joint</a>; +<a name="l00047"></a>00047 +<a name="l00060"></a>00060 <a class="code" href="classPxD6Joint.html" title="A D6 joint is a general constraint between two actors.">PxD6Joint</a>* <a class="code" href="group__extensions.html#g5d942bf8c3069024e50a8dd2254c390c" title="Create a D6 joint.">PxD6JointCreate</a>(<a class="code" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a>& physics, +<a name="l00061"></a>00061 <a class="code" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies...">PxRigidActor</a>* actor0, <span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& localFrame0, +<a name="l00062"></a>00062 <a class="code" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies...">PxRigidActor</a>* actor1, <span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& localFrame1); +<a name="l00063"></a>00063 +<a name="l00064"></a>00064 +<a name="l00065"></a>00065 +<a name="l00066"></a>00066 +<a name="l00073"></a><a class="code" href="structPxD6Axis.html">00073</a> <span class="keyword">struct </span><a class="code" href="structPxD6Axis.html" title="Used to specify one of the degrees of freedom of a D6 joint.">PxD6Axis</a> +<a name="l00074"></a>00074 { +<a name="l00075"></a><a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880">00075</a> <span class="keyword">enum</span> <a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880">Enum</a> +<a name="l00076"></a>00076 { +<a name="l00077"></a><a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880bf4908a96affb5d3f4e3707080129037">00077</a> eX = 0, +<a name="l00078"></a><a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca1288807144140f700244dba9170ee763384fb0">00078</a> eY = 1, +<a name="l00079"></a><a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880851746e413bc3669ac4fa0c2b9e91dee">00079</a> eZ = 2, +<a name="l00080"></a><a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca1288807854f35a1d4518d556eee64c2cfcec10">00080</a> eTWIST = 3, +<a name="l00081"></a><a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880e9f4bbfb50eaf463e7b1dd406ed1957b">00081</a> eSWING1 = 4, +<a name="l00082"></a><a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880c6058852beed87da5e9e10f153358f60">00082</a> eSWING2 = 5, +<a name="l00083"></a><a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880394081db4388f452aac02d7ff1d8c34a">00083</a> eCOUNT = 6 +<a name="l00084"></a>00084 }; +<a name="l00085"></a>00085 }; +<a name="l00086"></a>00086 +<a name="l00087"></a>00087 +<a name="l00093"></a><a class="code" href="structPxD6Motion.html">00093</a> <span class="keyword">struct </span><a class="code" href="structPxD6Motion.html" title="Used to specify the range of motions allowed for a degree of freedom in a D6 joint...">PxD6Motion</a> +<a name="l00094"></a>00094 { +<a name="l00095"></a><a class="code" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc">00095</a> <span class="keyword">enum</span> <a class="code" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc">Enum</a> +<a name="l00096"></a>00096 { +<a name="l00097"></a><a class="code" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc1677440f096980eb6662b52f7a56ee43">00097</a> eLOCKED, +<a name="l00098"></a><a class="code" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc309552869b971c8ac6894140d405db4a">00098</a> eLIMITED, +<a name="l00099"></a><a class="code" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc7be788a2340d8c13c3829c28ce9f1887">00099</a> eFREE +<a name="l00100"></a>00100 }; +<a name="l00101"></a>00101 }; +<a name="l00102"></a>00102 +<a name="l00103"></a>00103 +<a name="l00120"></a><a class="code" href="structPxD6Drive.html">00120</a> <span class="keyword">struct </span><a class="code" href="structPxD6Drive.html" title="Used to specify which axes of a D6 joint are driven.">PxD6Drive</a> +<a name="l00121"></a>00121 { +<a name="l00122"></a><a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">00122</a> <span class="keyword">enum</span> <a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">Enum</a> +<a name="l00123"></a>00123 { +<a name="l00124"></a><a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e95835773297afb7302224724d84c5f22">00124</a> eX = 0, +<a name="l00125"></a><a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240ef26b1c44e8bd4c6b02fcf347596df579">00125</a> eY = 1, +<a name="l00126"></a><a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240eccdb709aed183ca9f24e8862e352b932">00126</a> eZ = 2, +<a name="l00127"></a><a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e143677ab99bd57647c8e26516bc506a1">00127</a> eSWING = 3, +<a name="l00128"></a><a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240ec8a4639b2d4b210c6c7cf1911a51f695">00128</a> eTWIST = 4, +<a name="l00129"></a><a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240eef5c3032b47761d1567a410150ebb9ad">00129</a> eSLERP = 5, +<a name="l00130"></a><a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240ecfe841117d042bce0bf625b3e22e80cc">00130</a> eCOUNT = 6 +<a name="l00131"></a>00131 }; +<a name="l00132"></a>00132 }; +<a name="l00133"></a>00133 +<a name="l00140"></a><a class="code" href="structPxD6JointDriveFlag.html">00140</a> <span class="keyword">struct </span><a class="code" href="structPxD6JointDriveFlag.html" title="flags for configuring the drive model of a PxD6Joint">PxD6JointDriveFlag</a> +<a name="l00141"></a>00141 { +<a name="l00142"></a><a class="code" href="structPxD6JointDriveFlag.html#0560fd8c87c7004eb8c52a17a549e42e">00142</a> <span class="keyword">enum</span> <a class="code" href="structPxD6JointDriveFlag.html#0560fd8c87c7004eb8c52a17a549e42e">Enum</a> +<a name="l00143"></a>00143 { +<a name="l00144"></a><a class="code" href="structPxD6JointDriveFlag.html#0560fd8c87c7004eb8c52a17a549e42e55d5cf212231a628bbee55ef3888e8a8">00144</a> eACCELERATION = 1 +<a name="l00145"></a>00145 }; +<a name="l00146"></a>00146 }; +<a name="l00147"></a><a class="code" href="group__extensions.html#gdabf6cf5b61c51816897119d793d16b7">00147</a> <span class="keyword">typedef</span> <a class="code" href="classPxFlags.html">PxFlags<PxD6JointDriveFlag::Enum, PxU32></a> <a class="code" href="classPxFlags.html">PxD6JointDriveFlags</a>; +<a name="l00148"></a>00148 <a class="code" href="group__foundation.html#g092f922a63fdc7a95ae4f4e24b3768c1">PX_FLAGS_OPERATORS</a>(<a class="code" href="structPxD6JointDriveFlag.html#0560fd8c87c7004eb8c52a17a549e42e">PxD6JointDriveFlag::Enum</a>, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>) +<a name="l00149"></a>00149 +<a name="l00150"></a>00150 +<a name="l00151"></a>00151 +<a name="l00157"></a><a class="code" href="classPxD6JointDrive.html">00157</a> class <a class="code" href="classPxD6JointDrive.html" title="parameters for configuring the drive model of a PxD6Joint">PxD6JointDrive</a> : public <a class="code" href="classPxSpring.html">PxSpring</a> +<a name="l00158"></a>00158 { +<a name="l00159"></a>00159 <span class="comment">//= ATTENTION! =====================================================================================</span> +<a name="l00160"></a>00160 <span class="comment">// Changing the data layout of this class breaks the binary serialization format. See comments for </span> +<a name="l00161"></a>00161 <span class="comment">// PX_BINARY_SERIAL_VERSION. If a modification is required, please adjust the getBinaryMetaData </span> +<a name="l00162"></a>00162 <span class="comment">// function. If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span> +<a name="l00163"></a>00163 <span class="comment">// accordingly.</span> +<a name="l00164"></a>00164 <span class="comment">//==================================================================================================</span> +<a name="l00165"></a>00165 +<a name="l00166"></a>00166 <span class="keyword">public</span>: +<a name="l00167"></a><a class="code" href="classPxD6JointDrive.html#419e8a0f6bbf4cafd708e7a8279a5c83">00167</a> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> forceLimit; +<a name="l00168"></a><a class="code" href="classPxD6JointDrive.html#fb4c9ee49ac7713aad8aaf33646f336a">00168</a> <a class="code" href="classPxFlags.html">PxD6JointDriveFlags</a> flags; +<a name="l00169"></a>00169 +<a name="l00170"></a>00170 +<a name="l00175"></a><a class="code" href="classPxD6JointDrive.html#fc858c65b698a54bcdbe8036de4ff82b">00175</a> <a class="code" href="classPxD6JointDrive.html#fc858c65b698a54bcdbe8036de4ff82b" title="default constructor for PxD6JointDrive.">PxD6JointDrive</a>(): PxSpring(0,0), forceLimit(<a class="code" href="group__foundation.html#g7539e08056ea09ff1c341b866b7103f4">PX_MAX_F32</a>), flags(0) {} +<a name="l00176"></a>00176 +<a name="l00187"></a><a class="code" href="classPxD6JointDrive.html#81fd6955014f2472d93db04f6362dcc4">00187</a> <a class="code" href="classPxD6JointDrive.html" title="parameters for configuring the drive model of a PxD6Joint">PxD6JointDrive</a>(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> driveStiffness, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> driveDamping, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> driveForceLimit, <span class="keywordtype">bool</span> isAcceleration = <span class="keyword">false</span>) +<a name="l00188"></a>00188 : PxSpring(driveStiffness, driveDamping) +<a name="l00189"></a>00189 , forceLimit(driveForceLimit) +<a name="l00190"></a>00190 , flags(isAcceleration?<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>(<a class="code" href="structPxD6JointDriveFlag.html" title="flags for configuring the drive model of a PxD6Joint">PxD6JointDriveFlag</a>::eACCELERATION) : 0) +<a name="l00191"></a>00191 {} +<a name="l00192"></a>00192 +<a name="l00197"></a><a class="code" href="classPxD6JointDrive.html#1e9fd368cabd36f929133a8f380aed77">00197</a> <span class="keywordtype">bool</span> isValid()<span class="keyword"> const</span> +<a name="l00198"></a>00198 <span class="keyword"> </span>{ +<a name="l00199"></a>00199 <span class="keywordflow">return</span> <a class="code" href="group__foundation.html#gd6de0f4af98c5c5280b8fe695dc87318" title="returns true if the passed number is a finite floating point number as opposed to...">PxIsFinite</a>(stiffness) && stiffness>=0 && +<a name="l00200"></a>00200 <a class="code" href="group__foundation.html#gd6de0f4af98c5c5280b8fe695dc87318" title="returns true if the passed number is a finite floating point number as opposed to...">PxIsFinite</a>(damping) && damping >=0 && +<a name="l00201"></a>00201 <a class="code" href="group__foundation.html#gd6de0f4af98c5c5280b8fe695dc87318" title="returns true if the passed number is a finite floating point number as opposed to...">PxIsFinite</a>(forceLimit) && forceLimit >=0; +<a name="l00202"></a>00202 } +<a name="l00203"></a>00203 }; +<a name="l00204"></a>00204 +<a name="l00205"></a>00205 +<a name="l00238"></a><a class="code" href="classPxD6Joint.html">00238</a> <span class="keyword">class </span><a class="code" href="classPxD6Joint.html" title="A D6 joint is a general constraint between two actors.">PxD6Joint</a> : <span class="keyword">public</span> <a class="code" href="classPxJoint.html" title="a base interface providing common functionality for PhysX joints">PxJoint</a> +<a name="l00239"></a>00239 { +<a name="l00240"></a>00240 <span class="keyword">public</span>: +<a name="l00241"></a>00241 +<a name="l00256"></a>00256 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMotion(<a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880">PxD6Axis::Enum</a> axis, <a class="code" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc">PxD6Motion::Enum</a> type) = 0; +<a name="l00257"></a>00257 +<a name="l00268"></a>00268 <span class="keyword">virtual</span> <a class="code" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc">PxD6Motion::Enum</a> getMotion(<a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880">PxD6Axis::Enum</a> axis) <span class="keyword">const</span> = 0; +<a name="l00269"></a>00269 +<a name="l00274"></a>00274 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getTwist() <span class="keyword">const</span> = 0; +<a name="l00275"></a>00275 +<a name="l00280"></a>00280 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getSwingYAngle() <span class="keyword">const</span> = 0; +<a name="l00281"></a>00281 +<a name="l00286"></a>00286 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getSwingZAngle() <span class="keyword">const</span> = 0; +<a name="l00287"></a>00287 +<a name="l00288"></a>00288 +<a name="l00299"></a>00299 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setLinearLimit(<span class="keyword">const</span> <a class="code" href="classPxJointLinearLimit.html" title="Describes a one-sided linear limit.">PxJointLinearLimit</a>& limit) = 0; +<a name="l00300"></a>00300 +<a name="l00309"></a>00309 <span class="keyword">virtual</span> <a class="code" href="classPxJointLinearLimit.html" title="Describes a one-sided linear limit.">PxJointLinearLimit</a> getLinearLimit() <span class="keyword">const</span> = 0; +<a name="l00310"></a>00310 +<a name="l00311"></a>00311 +<a name="l00323"></a>00323 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTwistLimit(<span class="keyword">const</span> <a class="code" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a>& limit) = 0; +<a name="l00324"></a>00324 +<a name="l00325"></a>00325 +<a name="l00333"></a>00333 <span class="keyword">virtual</span> <a class="code" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a> getTwistLimit() <span class="keyword">const</span> = 0; +<a name="l00334"></a>00334 +<a name="l00346"></a>00346 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setSwingLimit(<span class="keyword">const</span> <a class="code" href="classPxJointLimitCone.html" title="Describes an elliptical conical joint limit. Note that very small or highly elliptical...">PxJointLimitCone</a>& limit) = 0; +<a name="l00347"></a>00347 +<a name="l00355"></a>00355 <span class="keyword">virtual</span> <a class="code" href="classPxJointLimitCone.html" title="Describes an elliptical conical joint limit. Note that very small or highly elliptical...">PxJointLimitCone</a> getSwingLimit() <span class="keyword">const</span> = 0; +<a name="l00356"></a>00356 +<a name="l00368"></a>00368 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDrive(<a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">PxD6Drive::Enum</a> index, <span class="keyword">const</span> <a class="code" href="classPxD6JointDrive.html" title="parameters for configuring the drive model of a PxD6Joint">PxD6JointDrive</a>& drive) = 0; +<a name="l00369"></a>00369 +<a name="l00377"></a>00377 <span class="keyword">virtual</span> <a class="code" href="classPxD6JointDrive.html" title="parameters for configuring the drive model of a PxD6Joint">PxD6JointDrive</a> getDrive(<a class="code" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">PxD6Drive::Enum</a> index) <span class="keyword">const</span> = 0; +<a name="l00378"></a>00378 +<a name="l00390"></a>00390 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDrivePosition(<span class="keyword">const</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>& pose) = 0; +<a name="l00391"></a>00391 +<a name="l00398"></a>00398 <span class="keyword">virtual</span> <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a> getDrivePosition() <span class="keyword">const</span> = 0; +<a name="l00399"></a>00399 +<a name="l00400"></a>00400 +<a name="l00412"></a>00412 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDriveVelocity(<span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& linear, +<a name="l00413"></a>00413 <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& angular) = 0; +<a name="l00414"></a>00414 +<a name="l00424"></a>00424 <span class="keyword">virtual</span> <span class="keywordtype">void</span> getDriveVelocity(<a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& linear, +<a name="l00425"></a>00425 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& angular) <span class="keyword">const</span> = 0; +<a name="l00426"></a>00426 +<a name="l00427"></a>00427 +<a name="l00447"></a>00447 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setProjectionLinearTolerance(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> tolerance) = 0; +<a name="l00448"></a>00448 +<a name="l00449"></a>00449 +<a name="l00458"></a>00458 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getProjectionLinearTolerance() <span class="keyword">const</span> = 0; +<a name="l00459"></a>00459 +<a name="l00482"></a>00482 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setProjectionAngularTolerance(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> tolerance) = 0; +<a name="l00483"></a>00483 +<a name="l00492"></a>00492 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getProjectionAngularTolerance() <span class="keyword">const</span> = 0; +<a name="l00493"></a>00493 +<a name="l00497"></a><a class="code" href="classPxD6Joint.html#2fc045aaccd034b0cc8654b3f6848767">00497</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classPxD6Joint.html#2fc045aaccd034b0cc8654b3f6848767" title="Returns string name of PxD6Joint, used for serialization.">getConcreteTypeName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"PxD6Joint"</span>; } +<a name="l00498"></a>00498 +<a name="l00499"></a>00499 +<a name="l00500"></a>00500 <span class="keyword">protected</span>: +<a name="l00501"></a>00501 +<a name="l00502"></a>00502 <span class="comment">//serialization</span> +<a name="l00503"></a>00503 +<a name="l00507"></a><a class="code" href="classPxD6Joint.html#aa40f40276764b205e795befd10d1a50">00507</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="classPxD6Joint.html#aa40f40276764b205e795befd10d1a50" title="Constructor.">PxD6Joint</a>(<a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxJoint.html" title="a base interface providing common functionality for PhysX joints">PxJoint</a>(concreteType, baseFlags) {} +<a name="l00508"></a>00508 +<a name="l00512"></a><a class="code" href="classPxD6Joint.html#06fb77acc64f320b039e1aa14129db1c">00512</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="classPxD6Joint.html#06fb77acc64f320b039e1aa14129db1c" title="Deserialization constructor.">PxD6Joint</a>(<a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxJoint.html" title="a base interface providing common functionality for PhysX joints">PxJoint</a>(baseFlags) {} +<a name="l00513"></a>00513 +<a name="l00517"></a><a class="code" href="classPxD6Joint.html#6beea386f0d7451ab3ba94148a5da298">00517</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classPxD6Joint.html#6beea386f0d7451ab3ba94148a5da298" title="Returns whether a given type name matches with the type of this instance.">isKindOf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !::strcmp(<span class="stringliteral">"PxD6Joint"</span>, name) || <a class="code" href="classPxJoint.html#bf37afb8ce63b5402cf69ab6e9344b28" title="Returns whether a given type name matches with the type of this instance.">PxJoint::isKindOf</a>(name); } +<a name="l00518"></a>00518 +<a name="l00519"></a>00519 <span class="comment">//~serialization</span> +<a name="l00520"></a>00520 }; +<a name="l00521"></a>00521 +<a name="l00522"></a>00522 <span class="preprocessor">#if !PX_DOXYGEN</span> +<a name="l00523"></a>00523 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span> +<a name="l00524"></a>00524 <span class="preprocessor">#endif</span> +<a name="l00525"></a>00525 <span class="preprocessor"></span> +<a name="l00527"></a>00527 <span class="preprocessor">#endif</span> +</pre></div></div> + +<hr style="width: 100%; height: 2px;"><br> +Copyright © 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a> +</body> +</html> |