Files
PhysX4.1/physx/documentation/PhysXAPI/files/classPxShape.html
2025-11-28 23:13:44 +05:30

1801 lines
114 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxShape Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxShape.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classPxShape-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">PxShape Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__physics.html">Physics</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Abstract class for collision shapes.
<a href="classPxShape.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="PxShape_8h_source.html">PxShape.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PxShape:</div>
<div class="dyncontent">
<div class="center"><img src="classPxShape__inherit__graph.png" border="0" usemap="#PxShape_inherit__map" alt="Inheritance graph"/></div>
<map name="PxShape_inherit__map" id="PxShape_inherit__map">
<area shape="rect" id="node2" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="9,5,77,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for PxShape:</div>
<div class="dyncontent">
<div class="center"><img src="classPxShape__coll__graph.png" border="0" usemap="#PxShape_coll__map" alt="Collaboration graph"/></div>
<map name="PxShape_coll__map" id="PxShape_coll__map">
<area shape="rect" id="node2" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="48,109,116,136"/>
<area shape="rect" id="node3" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag\l::Enum, PxU16 \&gt;" alt="" coords="5,5,159,47"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a165dc6eaf5c58997b90b06176220be37"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a165dc6eaf5c58997b90b06176220be37">release</a> ()=0</td></tr>
<tr class="memdesc:a165dc6eaf5c58997b90b06176220be37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrements the reference count of a shape and releases it if the new reference count is zero. <a href="#a165dc6eaf5c58997b90b06176220be37">More...</a><br /></td></tr>
<tr class="separator:a165dc6eaf5c58997b90b06176220be37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5dfb6682fb55f085a642fcfc22270bf"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#ae5dfb6682fb55f085a642fcfc22270bf">getReferenceCount</a> () const =0</td></tr>
<tr class="memdesc:ae5dfb6682fb55f085a642fcfc22270bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the reference count of the shape. <a href="#ae5dfb6682fb55f085a642fcfc22270bf">More...</a><br /></td></tr>
<tr class="separator:ae5dfb6682fb55f085a642fcfc22270bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46a4aa44d34de7625129c5d449c26e5d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a46a4aa44d34de7625129c5d449c26e5d">acquireReference</a> ()=0</td></tr>
<tr class="memdesc:a46a4aa44d34de7625129c5d449c26e5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acquires a counted reference to a shape. <a href="#a46a4aa44d34de7625129c5d449c26e5d">More...</a><br /></td></tr>
<tr class="separator:a46a4aa44d34de7625129c5d449c26e5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8365c22a5780649bd890703b3ebc1f20"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structPxGeometryType.html#aefc79f72c4c479192ac19d41a6f30ed5">PxGeometryType::Enum</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20">getGeometryType</a> () const =0</td></tr>
<tr class="memdesc:a8365c22a5780649bd890703b3ebc1f20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the geometry type of the shape. <a href="#a8365c22a5780649bd890703b3ebc1f20">More...</a><br /></td></tr>
<tr class="separator:a8365c22a5780649bd890703b3ebc1f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6112e8c0ee9803eb3436bbaf673d98a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#ac6112e8c0ee9803eb3436bbaf673d98a">setGeometry</a> (const <a class="el" href="classPxGeometry.html">PxGeometry</a> &amp;<a class="el" href="PxGeometryHelpers_8h.html#aa55209c75b105f03f459417b08801e69">geometry</a>)=0</td></tr>
<tr class="memdesc:ac6112e8c0ee9803eb3436bbaf673d98a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the geometry of the shape. <a href="#ac6112e8c0ee9803eb3436bbaf673d98a">More...</a><br /></td></tr>
<tr class="separator:ac6112e8c0ee9803eb3436bbaf673d98a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a531b866a02c9dc59131bc9887c065ff8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classPxGeometryHolder.html">PxGeometryHolder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a531b866a02c9dc59131bc9887c065ff8">getGeometry</a> () const =0</td></tr>
<tr class="memdesc:a531b866a02c9dc59131bc9887c065ff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the geometry from the shape in a <a class="el" href="classPxGeometryHolder.html" title="Geometry holder class. ">PxGeometryHolder</a> wrapper class. <a href="#a531b866a02c9dc59131bc9887c065ff8">More...</a><br /></td></tr>
<tr class="separator:a531b866a02c9dc59131bc9887c065ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4fe68bfc7be057dae8d0c3eac5a725c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#ae4fe68bfc7be057dae8d0c3eac5a725c">getBoxGeometry</a> (<a class="el" href="classPxBoxGeometry.html">PxBoxGeometry</a> &amp;<a class="el" href="PxGeometryHelpers_8h.html#aa55209c75b105f03f459417b08801e69">geometry</a>) const =0</td></tr>
<tr class="memdesc:ae4fe68bfc7be057dae8d0c3eac5a725c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the geometry of the shape. <a href="#ae4fe68bfc7be057dae8d0c3eac5a725c">More...</a><br /></td></tr>
<tr class="separator:ae4fe68bfc7be057dae8d0c3eac5a725c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad36c41170461ca897fa70433d23268fa"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#ad36c41170461ca897fa70433d23268fa">getSphereGeometry</a> (<a class="el" href="classPxSphereGeometry.html">PxSphereGeometry</a> &amp;<a class="el" href="PxGeometryHelpers_8h.html#aa55209c75b105f03f459417b08801e69">geometry</a>) const =0</td></tr>
<tr class="memdesc:ad36c41170461ca897fa70433d23268fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the geometry of the shape. <a href="#ad36c41170461ca897fa70433d23268fa">More...</a><br /></td></tr>
<tr class="separator:ad36c41170461ca897fa70433d23268fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8515335ab379ef0709b083ea09ce0a00"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a8515335ab379ef0709b083ea09ce0a00">getCapsuleGeometry</a> (<a class="el" href="classPxCapsuleGeometry.html">PxCapsuleGeometry</a> &amp;<a class="el" href="PxGeometryHelpers_8h.html#aa55209c75b105f03f459417b08801e69">geometry</a>) const =0</td></tr>
<tr class="memdesc:a8515335ab379ef0709b083ea09ce0a00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the geometry of the shape. <a href="#a8515335ab379ef0709b083ea09ce0a00">More...</a><br /></td></tr>
<tr class="separator:a8515335ab379ef0709b083ea09ce0a00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe05ad6f093d762abaf03e3e0c1de704"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#afe05ad6f093d762abaf03e3e0c1de704">getPlaneGeometry</a> (<a class="el" href="classPxPlaneGeometry.html">PxPlaneGeometry</a> &amp;<a class="el" href="PxGeometryHelpers_8h.html#aa55209c75b105f03f459417b08801e69">geometry</a>) const =0</td></tr>
<tr class="memdesc:afe05ad6f093d762abaf03e3e0c1de704"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the geometry of the shape. <a href="#afe05ad6f093d762abaf03e3e0c1de704">More...</a><br /></td></tr>
<tr class="separator:afe05ad6f093d762abaf03e3e0c1de704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80bed1030a3740c7d033f65d97ee2ec4"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a80bed1030a3740c7d033f65d97ee2ec4">getConvexMeshGeometry</a> (<a class="el" href="classPxConvexMeshGeometry.html">PxConvexMeshGeometry</a> &amp;<a class="el" href="PxGeometryHelpers_8h.html#aa55209c75b105f03f459417b08801e69">geometry</a>) const =0</td></tr>
<tr class="memdesc:a80bed1030a3740c7d033f65d97ee2ec4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the geometry of the shape. <a href="#a80bed1030a3740c7d033f65d97ee2ec4">More...</a><br /></td></tr>
<tr class="separator:a80bed1030a3740c7d033f65d97ee2ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae10e641c3e5d77993440abe64c1446ea"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#ae10e641c3e5d77993440abe64c1446ea">getTriangleMeshGeometry</a> (<a class="el" href="classPxTriangleMeshGeometry.html">PxTriangleMeshGeometry</a> &amp;<a class="el" href="PxGeometryHelpers_8h.html#aa55209c75b105f03f459417b08801e69">geometry</a>) const =0</td></tr>
<tr class="memdesc:ae10e641c3e5d77993440abe64c1446ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the geometry of the shape. <a href="#ae10e641c3e5d77993440abe64c1446ea">More...</a><br /></td></tr>
<tr class="separator:ae10e641c3e5d77993440abe64c1446ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3709d51079c4c809415d31087ebac65b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a3709d51079c4c809415d31087ebac65b">getHeightFieldGeometry</a> (<a class="el" href="classPxHeightFieldGeometry.html">PxHeightFieldGeometry</a> &amp;<a class="el" href="PxGeometryHelpers_8h.html#aa55209c75b105f03f459417b08801e69">geometry</a>) const =0</td></tr>
<tr class="memdesc:a3709d51079c4c809415d31087ebac65b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the geometry of the shape. <a href="#a3709d51079c4c809415d31087ebac65b">More...</a><br /></td></tr>
<tr class="separator:a3709d51079c4c809415d31087ebac65b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b66c8a3e1de304cc0a98df14ac2cdb3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classPxRigidActor.html">PxRigidActor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a4b66c8a3e1de304cc0a98df14ac2cdb3">getActor</a> () const =0</td></tr>
<tr class="memdesc:a4b66c8a3e1de304cc0a98df14ac2cdb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the actor which this shape is associated with. <a href="#a4b66c8a3e1de304cc0a98df14ac2cdb3">More...</a><br /></td></tr>
<tr class="separator:a4b66c8a3e1de304cc0a98df14ac2cdb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14fbf4de00134d17b85194487d68ff30"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a14fbf4de00134d17b85194487d68ff30">setMaterials</a> (<a class="el" href="classPxMaterial.html">PxMaterial</a> *const *materials, PxU16 materialCount)=0</td></tr>
<tr class="memdesc:a14fbf4de00134d17b85194487d68ff30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns material(s) to the shape. <a href="#a14fbf4de00134d17b85194487d68ff30">More...</a><br /></td></tr>
<tr class="separator:a14fbf4de00134d17b85194487d68ff30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0166cefbe1d120da68db5f68ddd6ebbc"><td class="memItemLeft" align="right" valign="top">virtual PxU16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a0166cefbe1d120da68db5f68ddd6ebbc">getNbMaterials</a> () const =0</td></tr>
<tr class="memdesc:a0166cefbe1d120da68db5f68ddd6ebbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of materials assigned to the shape. <a href="#a0166cefbe1d120da68db5f68ddd6ebbc">More...</a><br /></td></tr>
<tr class="separator:a0166cefbe1d120da68db5f68ddd6ebbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbaf4b32d62babcbab918fc64d4fcae9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#adbaf4b32d62babcbab918fc64d4fcae9">getMaterials</a> (<a class="el" href="classPxMaterial.html">PxMaterial</a> **userBuffer, <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> bufferSize, <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> startIndex=0) const =0</td></tr>
<tr class="memdesc:adbaf4b32d62babcbab918fc64d4fcae9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve all the material pointers associated with the shape. <a href="#adbaf4b32d62babcbab918fc64d4fcae9">More...</a><br /></td></tr>
<tr class="separator:adbaf4b32d62babcbab918fc64d4fcae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77dcd61c00720726ffcce1fe370f0042"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classPxMaterial.html">PxMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a77dcd61c00720726ffcce1fe370f0042">getMaterialFromInternalFaceIndex</a> (<a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> faceIndex) const =0</td></tr>
<tr class="memdesc:a77dcd61c00720726ffcce1fe370f0042"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve material from given triangle index. <a href="#a77dcd61c00720726ffcce1fe370f0042">More...</a><br /></td></tr>
<tr class="separator:a77dcd61c00720726ffcce1fe370f0042"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07c638b68e14de5e284a03dbcc128d27"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a07c638b68e14de5e284a03dbcc128d27">setContactOffset</a> (PxReal contactOffset)=0</td></tr>
<tr class="memdesc:a07c638b68e14de5e284a03dbcc128d27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the contact offset. <a href="#a07c638b68e14de5e284a03dbcc128d27">More...</a><br /></td></tr>
<tr class="separator:a07c638b68e14de5e284a03dbcc128d27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f0686821f3f8fe92103e31c293f118b"><td class="memItemLeft" align="right" valign="top">virtual PxReal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a3f0686821f3f8fe92103e31c293f118b">getContactOffset</a> () const =0</td></tr>
<tr class="memdesc:a3f0686821f3f8fe92103e31c293f118b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the contact offset. <a href="#a3f0686821f3f8fe92103e31c293f118b">More...</a><br /></td></tr>
<tr class="separator:a3f0686821f3f8fe92103e31c293f118b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a413afb25b39a7a0cf0981aa01c6d7f8b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a413afb25b39a7a0cf0981aa01c6d7f8b">setRestOffset</a> (PxReal restOffset)=0</td></tr>
<tr class="memdesc:a413afb25b39a7a0cf0981aa01c6d7f8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the rest offset. <a href="#a413afb25b39a7a0cf0981aa01c6d7f8b">More...</a><br /></td></tr>
<tr class="separator:a413afb25b39a7a0cf0981aa01c6d7f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a060ff01d827d559fc8b11385a161eca0"><td class="memItemLeft" align="right" valign="top">virtual PxReal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a060ff01d827d559fc8b11385a161eca0">getRestOffset</a> () const =0</td></tr>
<tr class="memdesc:a060ff01d827d559fc8b11385a161eca0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the rest offset. <a href="#a060ff01d827d559fc8b11385a161eca0">More...</a><br /></td></tr>
<tr class="separator:a060ff01d827d559fc8b11385a161eca0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21faab5134bd944a5056c51158e6c60c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a21faab5134bd944a5056c51158e6c60c">setTorsionalPatchRadius</a> (PxReal radius)=0</td></tr>
<tr class="memdesc:a21faab5134bd944a5056c51158e6c60c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets torsional patch radius. <a href="#a21faab5134bd944a5056c51158e6c60c">More...</a><br /></td></tr>
<tr class="separator:a21faab5134bd944a5056c51158e6c60c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3b7dd28df7cad842e33a96775f6a351"><td class="memItemLeft" align="right" valign="top">virtual PxReal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#ac3b7dd28df7cad842e33a96775f6a351">getTorsionalPatchRadius</a> () const =0</td></tr>
<tr class="memdesc:ac3b7dd28df7cad842e33a96775f6a351"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets torsional patch radius. <a href="#ac3b7dd28df7cad842e33a96775f6a351">More...</a><br /></td></tr>
<tr class="separator:ac3b7dd28df7cad842e33a96775f6a351"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a034f5e45e01796a60c77382bc4db3627"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a034f5e45e01796a60c77382bc4db3627">setMinTorsionalPatchRadius</a> (PxReal radius)=0</td></tr>
<tr class="memdesc:a034f5e45e01796a60c77382bc4db3627"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets minimum torsional patch radius. <a href="#a034f5e45e01796a60c77382bc4db3627">More...</a><br /></td></tr>
<tr class="separator:a034f5e45e01796a60c77382bc4db3627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ab51c8e6ac18603a668d8135d6a3cfb"><td class="memItemLeft" align="right" valign="top">virtual PxReal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a6ab51c8e6ac18603a668d8135d6a3cfb">getMinTorsionalPatchRadius</a> () const =0</td></tr>
<tr class="memdesc:a6ab51c8e6ac18603a668d8135d6a3cfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets minimum torsional patch radius. <a href="#a6ab51c8e6ac18603a668d8135d6a3cfb">More...</a><br /></td></tr>
<tr class="separator:a6ab51c8e6ac18603a668d8135d6a3cfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c879df184ef40514589c5aa3d1f2a33"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a3c879df184ef40514589c5aa3d1f2a33">setFlag</a> (<a class="el" href="structPxShapeFlag.html#a6edb481aaa3a998c5d6dd3fc4ad87f1a">PxShapeFlag::Enum</a> flag, bool value)=0</td></tr>
<tr class="memdesc:a3c879df184ef40514589c5aa3d1f2a33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets shape flags. <a href="#a3c879df184ef40514589c5aa3d1f2a33">More...</a><br /></td></tr>
<tr class="separator:a3c879df184ef40514589c5aa3d1f2a33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc179cb4b2146af98c76623d2fc0db6e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#afc179cb4b2146af98c76623d2fc0db6e">setFlags</a> (<a class="el" href="group__physics.html#ga18053d8127ddb5ed5609e4c748b6ad0d">PxShapeFlags</a> inFlags)=0</td></tr>
<tr class="memdesc:afc179cb4b2146af98c76623d2fc0db6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets shape flags. <a href="#afc179cb4b2146af98c76623d2fc0db6e">More...</a><br /></td></tr>
<tr class="separator:afc179cb4b2146af98c76623d2fc0db6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd44b1c761c14e6319475797ec4f9715"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__physics.html#ga18053d8127ddb5ed5609e4c748b6ad0d">PxShapeFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#acd44b1c761c14e6319475797ec4f9715">getFlags</a> () const =0</td></tr>
<tr class="memdesc:acd44b1c761c14e6319475797ec4f9715"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves shape flags. <a href="#acd44b1c761c14e6319475797ec4f9715">More...</a><br /></td></tr>
<tr class="separator:acd44b1c761c14e6319475797ec4f9715"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9797f4bf85e72881b3cb90d303a22b91"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a9797f4bf85e72881b3cb90d303a22b91">isExclusive</a> () const =0</td></tr>
<tr class="memdesc:a9797f4bf85e72881b3cb90d303a22b91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the shape is exclusive to an actor. <a href="#a9797f4bf85e72881b3cb90d303a22b91">More...</a><br /></td></tr>
<tr class="separator:a9797f4bf85e72881b3cb90d303a22b91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51a289ac174c48ccc8d0b09d3fd90508"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a51a289ac174c48ccc8d0b09d3fd90508">setName</a> (const char *name)=0</td></tr>
<tr class="memdesc:a51a289ac174c48ccc8d0b09d3fd90508"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a name string for the object that can be retrieved with <a class="el" href="classPxShape.html#a800c362a0a6c6c120525876f56378959" title="retrieves the name string set with setName(). ">getName()</a>. <a href="#a51a289ac174c48ccc8d0b09d3fd90508">More...</a><br /></td></tr>
<tr class="separator:a51a289ac174c48ccc8d0b09d3fd90508"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a800c362a0a6c6c120525876f56378959"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a800c362a0a6c6c120525876f56378959">getName</a> () const =0</td></tr>
<tr class="memdesc:a800c362a0a6c6c120525876f56378959"><td class="mdescLeft">&#160;</td><td class="mdescRight">retrieves the name string set with <a class="el" href="classPxShape.html#a51a289ac174c48ccc8d0b09d3fd90508" title="Sets a name string for the object that can be retrieved with getName(). ">setName()</a>. <a href="#a800c362a0a6c6c120525876f56378959">More...</a><br /></td></tr>
<tr class="separator:a800c362a0a6c6c120525876f56378959"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee685c949f0bd884717dabead384ac6c"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#aee685c949f0bd884717dabead384ac6c">getConcreteTypeName</a> () const</td></tr>
<tr class="memdesc:aee685c949f0bd884717dabead384ac6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns string name of dynamic type. <a href="#aee685c949f0bd884717dabead384ac6c">More...</a><br /></td></tr>
<tr class="separator:aee685c949f0bd884717dabead384ac6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Pose Manipulation</div></td></tr>
<tr class="memitem:a9f32c7cea3b5701de3f815cd64c978df"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a9f32c7cea3b5701de3f815cd64c978df">setLocalPose</a> (const <a class="el" href="classPxTransform.html">PxTransform</a> &amp;pose)=0</td></tr>
<tr class="memdesc:a9f32c7cea3b5701de3f815cd64c978df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the pose of the shape in actor space, i.e. relative to the actors to which they are attached. <a href="#a9f32c7cea3b5701de3f815cd64c978df">More...</a><br /></td></tr>
<tr class="separator:a9f32c7cea3b5701de3f815cd64c978df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af455638230d515adbfb561f1064e70a1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classPxTransform.html">PxTransform</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#af455638230d515adbfb561f1064e70a1">getLocalPose</a> () const =0</td></tr>
<tr class="memdesc:af455638230d515adbfb561f1064e70a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the pose of the shape in actor space, i.e. relative to the actor they are owned by. <a href="#af455638230d515adbfb561f1064e70a1">More...</a><br /></td></tr>
<tr class="separator:af455638230d515adbfb561f1064e70a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Collision Filtering</div></td></tr>
<tr class="memitem:aa0c62176ed01c9fb14c26ad7c393963c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#aa0c62176ed01c9fb14c26ad7c393963c">setSimulationFilterData</a> (const <a class="el" href="structPxFilterData.html">PxFilterData</a> &amp;data)=0</td></tr>
<tr class="memdesc:aa0c62176ed01c9fb14c26ad7c393963c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the user definable collision filter data. <a href="#aa0c62176ed01c9fb14c26ad7c393963c">More...</a><br /></td></tr>
<tr class="separator:aa0c62176ed01c9fb14c26ad7c393963c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfa95e009f300060ba648637fb685686"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structPxFilterData.html">PxFilterData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#abfa95e009f300060ba648637fb685686">getSimulationFilterData</a> () const =0</td></tr>
<tr class="memdesc:abfa95e009f300060ba648637fb685686"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the shape's collision filter data. <a href="#abfa95e009f300060ba648637fb685686">More...</a><br /></td></tr>
<tr class="separator:abfa95e009f300060ba648637fb685686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac98191c26e55ecebfd9eb4553c969fab"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#ac98191c26e55ecebfd9eb4553c969fab">setQueryFilterData</a> (const <a class="el" href="structPxFilterData.html">PxFilterData</a> &amp;data)=0</td></tr>
<tr class="memdesc:ac98191c26e55ecebfd9eb4553c969fab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the user definable query filter data. <a href="#ac98191c26e55ecebfd9eb4553c969fab">More...</a><br /></td></tr>
<tr class="separator:ac98191c26e55ecebfd9eb4553c969fab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6cbdfa3d01aa384f4d0109a591d1f12"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structPxFilterData.html">PxFilterData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#ab6cbdfa3d01aa384f4d0109a591d1f12">getQueryFilterData</a> () const =0</td></tr>
<tr class="memdesc:ab6cbdfa3d01aa384f4d0109a591d1f12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the shape's Query filter data. <a href="#ab6cbdfa3d01aa384f4d0109a591d1f12">More...</a><br /></td></tr>
<tr class="separator:ab6cbdfa3d01aa384f4d0109a591d1f12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classPxBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a4bc720adef86ea68bfb5845f0e104d23">is</a> ()</td></tr>
<tr class="separator:a4bc720adef86ea68bfb5845f0e104d23 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">const T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a85aa50ac0e5670a2be64411fea62b5e3">is</a> () const</td></tr>
<tr class="separator:a85aa50ac0e5670a2be64411fea62b5e3 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#ab4e0691a08e49631dc60014d49c7585f">getConcreteType</a> () const</td></tr>
<tr class="memdesc:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns concrete type of object. <a href="classPxBase.html#ab4e0691a08e49631dc60014d49c7585f">More...</a><br /></td></tr>
<tr class="separator:ab4e0691a08e49631dc60014d49c7585f inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a1dd20bb574075df904e1878f2e771ef9">setBaseFlag</a> (<a class="el" href="structPxBaseFlag.html#ac258de0c7adaa37f81b6ab1b0c86a6ee">PxBaseFlag::Enum</a> flag, bool value)</td></tr>
<tr class="memdesc:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set <a class="el" href="structPxBaseFlag.html" title="Flags for PxBase. ">PxBaseFlag</a>. <a href="classPxBase.html#a1dd20bb574075df904e1878f2e771ef9">More...</a><br /></td></tr>
<tr class="separator:a1dd20bb574075df904e1878f2e771ef9 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#afb391b692c561df0a54c413785e4ebd0">setBaseFlags</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> inFlags)</td></tr>
<tr class="memdesc:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set PxBaseFlags. <a href="classPxBase.html#afb391b692c561df0a54c413785e4ebd0">More...</a><br /></td></tr>
<tr class="separator:afb391b692c561df0a54c413785e4ebd0 inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#ad9b10efae7733ff9c8b8d3b7d90a9a5f">getBaseFlags</a> () const</td></tr>
<tr class="memdesc:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns PxBaseFlags. <a href="classPxBase.html#ad9b10efae7733ff9c8b8d3b7d90a9a5f">More...</a><br /></td></tr>
<tr class="separator:ad9b10efae7733ff9c8b8d3b7d90a9a5f inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a38952fcb80e99f1f5dbf774a75ac2c3d">isReleasable</a> () const</td></tr>
<tr class="memdesc:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the object is subordinate. <a href="classPxBase.html#a38952fcb80e99f1f5dbf774a75ac2c3d">More...</a><br /></td></tr>
<tr class="separator:a38952fcb80e99f1f5dbf774a75ac2c3d inherit pub_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a557b80df942f039122b0ee750d29c552"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a557b80df942f039122b0ee750d29c552">userData</a></td></tr>
<tr class="memdesc:a557b80df942f039122b0ee750d29c552"><td class="mdescLeft">&#160;</td><td class="mdescRight">user can assign this to whatever, usually to create a 1:1 relationship with a user object. <a href="#a557b80df942f039122b0ee750d29c552">More...</a><br /></td></tr>
<tr class="separator:a557b80df942f039122b0ee750d29c552"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a74ff05bd6c8ac9db9fcae9be23c08d82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a74ff05bd6c8ac9db9fcae9be23c08d82">PxShape</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="separator:a74ff05bd6c8ac9db9fcae9be23c08d82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7a1ba5182584faa6bddb15e4b3465c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#aa7a1ba5182584faa6bddb15e4b3465c3">PxShape</a> (<a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="separator:aa7a1ba5182584faa6bddb15e4b3465c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d037f8803d4dff457564e9903452e94"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a7d037f8803d4dff457564e9903452e94">~PxShape</a> ()</td></tr>
<tr class="separator:a7d037f8803d4dff457564e9903452e94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6794af0658d89f3774fd00af259637b9"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxShape.html#a6794af0658d89f3774fd00af259637b9">isKindOf</a> (const char *name) const</td></tr>
<tr class="memdesc:a6794af0658d89f3774fd00af259637b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether a given type name matches with the type of this instance. <a href="#a6794af0658d89f3774fd00af259637b9">More...</a><br /></td></tr>
<tr class="separator:a6794af0658d89f3774fd00af259637b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classPxBase')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a263f1ef821c74058ce9335e06cb842a4">PxBase</a> (<a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="memdesc:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor setting concrete type and base flags. <a href="classPxBase.html#a263f1ef821c74058ce9335e06cb842a4">More...</a><br /></td></tr>
<tr class="separator:a263f1ef821c74058ce9335e06cb842a4 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a58b979202e7382701f74977fe3dd5c6f">PxBase</a> (<a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a> baseFlags)</td></tr>
<tr class="memdesc:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deserialization constructor setting base flags. <a href="classPxBase.html#a58b979202e7382701f74977fe3dd5c6f">More...</a><br /></td></tr>
<tr class="separator:a58b979202e7382701f74977fe3dd5c6f inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#adfbf62dc32775b068db1c74c7fd3d982">~PxBase</a> ()</td></tr>
<tr class="memdesc:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="classPxBase.html#adfbf62dc32775b068db1c74c7fd3d982">More...</a><br /></td></tr>
<tr class="separator:adfbf62dc32775b068db1c74c7fd3d982 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPxBase.html#a3782ca64c8f12c41443f604e300fc207">typeMatch</a> () const</td></tr>
<tr class="separator:a3782ca64c8f12c41443f604e300fc207 inherit pro_methods_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classPxBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classPxBase')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classPxBase.html">PxBase</a></td></tr>
<tr class="memitem:a1abe9d19726e1f8f8e56abeb2269b5d4 inherit pro_attribs_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#a1abe9d19726e1f8f8e56abeb2269b5d4">mConcreteType</a></td></tr>
<tr class="separator:a1abe9d19726e1f8f8e56abeb2269b5d4 inherit pro_attribs_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff7105f65905ecb9f6f7993ba28b712d inherit pro_attribs_classPxBase"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxBase.html#aff7105f65905ecb9f6f7993ba28b712d">mBaseFlags</a></td></tr>
<tr class="separator:aff7105f65905ecb9f6f7993ba28b712d inherit pro_attribs_classPxBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Abstract class for collision shapes. </p>
<p>Shapes are shared, reference counted objects.</p>
<p>An instance can be created by calling the createShape() method of the <a class="el" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...">PxRigidActor</a> class, or the createShape() method of the <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK. ">PxPhysics</a> class.</p>
<h3>Visualizations</h3>
<ul>
<li><a class="el" href="structPxVisualizationParameter.html#adce8e8a77c144356b0968d2b9f79eb10a714f24bab39d1bbe8b131bd10ef5552b" title="Visualize bounds (AABBs in world space) ">PxVisualizationParameter::eCOLLISION_AABBS</a> </li>
<li><a class="el" href="structPxVisualizationParameter.html#adce8e8a77c144356b0968d2b9f79eb10a515f4c3c72ee88d7507b52d6ccd14eab" title="Shape visualization. ">PxVisualizationParameter::eCOLLISION_SHAPES</a> </li>
<li><a class="el" href="structPxVisualizationParameter.html#adce8e8a77c144356b0968d2b9f79eb10a0ad9dcb10f5f3d6ded3baecfc1e387d3" title="Shape axis visualization. ">PxVisualizationParameter::eCOLLISION_AXES</a></li>
</ul>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxPhysics.html#abc564607f208cbc1944880172a3d62fe" title="Creates a shape which may be attached to multiple actors. ">PxPhysics.createShape()</a> PxRigidActor.createShape() <a class="el" href="classPxBoxGeometry.html" title="Class representing the geometry of a box. ">PxBoxGeometry</a> <a class="el" href="classPxSphereGeometry.html" title="A class representing the geometry of a sphere. ">PxSphereGeometry</a> <a class="el" href="classPxCapsuleGeometry.html" title="Class representing the geometry of a capsule. ">PxCapsuleGeometry</a> <a class="el" href="classPxPlaneGeometry.html" title="Class describing a plane geometry. ">PxPlaneGeometry</a> <a class="el" href="classPxConvexMeshGeometry.html" title="Convex mesh geometry class. ">PxConvexMeshGeometry</a> <a class="el" href="classPxTriangleMeshGeometry.html" title="Triangle mesh geometry class. ">PxTriangleMeshGeometry</a> <a class="el" href="classPxHeightFieldGeometry.html" title="Height field geometry class. ">PxHeightFieldGeometry</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a74ff05bd6c8ac9db9fcae9be23c08d82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74ff05bd6c8ac9db9fcae9be23c08d82">&#9670;&nbsp;</a></span>PxShape() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxShape::PxShape </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td>
<td class="paramname"><em>baseFlags</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa7a1ba5182584faa6bddb15e4b3465c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7a1ba5182584faa6bddb15e4b3465c3">&#9670;&nbsp;</a></span>PxShape() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> PxShape::PxShape </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a>&#160;</td>
<td class="paramname"><em>concreteType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__common.html#ga1e3721588799f5fbb18d76e4aab7d018">PxBaseFlags</a>&#160;</td>
<td class="paramname"><em>baseFlags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a7d037f8803d4dff457564e9903452e94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d037f8803d4dff457564e9903452e94">&#9670;&nbsp;</a></span>~PxShape()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual PxShape::~PxShape </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a46a4aa44d34de7625129c5d449c26e5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46a4aa44d34de7625129c5d449c26e5d">&#9670;&nbsp;</a></span>acquireReference()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::acquireReference </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Acquires a counted reference to a shape. </p>
<p>This method increases the reference count of the shape by 1. Decrement the reference count by calling <a class="el" href="classPxShape.html#a165dc6eaf5c58997b90b06176220be37" title="Decrements the reference count of a shape and releases it if the new reference count is zero...">release()</a> </p>
</div>
</div>
<a id="a4b66c8a3e1de304cc0a98df14ac2cdb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b66c8a3e1de304cc0a98df14ac2cdb3">&#9670;&nbsp;</a></span>getActor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classPxRigidActor.html">PxRigidActor</a>* PxShape::getActor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves the actor which this shape is associated with. </p>
<dl class="section return"><dt>Returns</dt><dd>The actor this shape is associated with, if it is an exclusive shape, else NULL</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxRigidStatic.html" title="PxRigidStatic represents a static rigid body simulation object in the physics SDK. ">PxRigidStatic</a>, <a class="el" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK. ">PxRigidDynamic</a>, <a class="el" href="classPxArticulationLink.html" title="a component of an articulation that represents a rigid body ">PxArticulationLink</a> </dd></dl>
</div>
</div>
<a id="ae4fe68bfc7be057dae8d0c3eac5a725c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4fe68bfc7be057dae8d0c3eac5a725c">&#9670;&nbsp;</a></span>getBoxGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::getBoxGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxBoxGeometry.html">PxBoxGeometry</a> &amp;&#160;</td>
<td class="paramname"><em>geometry</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetch the geometry of the shape. </p>
<dl class="section note"><dt>Note</dt><dd>If the type of geometry to extract does not match the geometry type of the shape then the method will return false and the passed in geometry descriptor is not modified.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geometry</td><td>The descriptor to save the shape's geometry data to. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True on success else false</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> </dd></dl>
</div>
</div>
<a id="a8515335ab379ef0709b083ea09ce0a00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8515335ab379ef0709b083ea09ce0a00">&#9670;&nbsp;</a></span>getCapsuleGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::getCapsuleGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxCapsuleGeometry.html">PxCapsuleGeometry</a> &amp;&#160;</td>
<td class="paramname"><em>geometry</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetch the geometry of the shape. </p>
<dl class="section note"><dt>Note</dt><dd>If the type of geometry to extract does not match the geometry type of the shape then the method will return false and the passed in geometry descriptor is not modified.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geometry</td><td>The descriptor to save the shape's geometry data to. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True on success else false</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> </dd></dl>
</div>
</div>
<a id="aee685c949f0bd884717dabead384ac6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee685c949f0bd884717dabead384ac6c">&#9670;&nbsp;</a></span>getConcreteTypeName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual const char* PxShape::getConcreteTypeName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns string name of dynamic type. </p>
<dl class="section return"><dt>Returns</dt><dd>Class name of most derived type of this object. </dd></dl>
<p>Implements <a class="el" href="classPxBase.html#a67fe206d8897ddce896c371ac8d789a9">PxBase</a>.</p>
</div>
</div>
<a id="a3f0686821f3f8fe92103e31c293f118b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f0686821f3f8fe92103e31c293f118b">&#9670;&nbsp;</a></span>getContactOffset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual PxReal PxShape::getContactOffset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves the contact offset. </p>
<dl class="section return"><dt>Returns</dt><dd>The contact offset of the shape.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#a07c638b68e14de5e284a03dbcc128d27" title="Sets the contact offset. ">setContactOffset()</a> </dd></dl>
</div>
</div>
<a id="a80bed1030a3740c7d033f65d97ee2ec4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80bed1030a3740c7d033f65d97ee2ec4">&#9670;&nbsp;</a></span>getConvexMeshGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::getConvexMeshGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxConvexMeshGeometry.html">PxConvexMeshGeometry</a> &amp;&#160;</td>
<td class="paramname"><em>geometry</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetch the geometry of the shape. </p>
<dl class="section note"><dt>Note</dt><dd>If the type of geometry to extract does not match the geometry type of the shape then the method will return false and the passed in geometry descriptor is not modified.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geometry</td><td>The descriptor to save the shape's geometry data to. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True on success else false</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> </dd></dl>
</div>
</div>
<a id="acd44b1c761c14e6319475797ec4f9715"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd44b1c761c14e6319475797ec4f9715">&#9670;&nbsp;</a></span>getFlags()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="group__physics.html#ga18053d8127ddb5ed5609e4c748b6ad0d">PxShapeFlags</a> PxShape::getFlags </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves shape flags. </p>
<dl class="section return"><dt>Returns</dt><dd>The values of the shape flags.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxShapeFlag.html" title="Flags which affect the behavior of PxShapes. ">PxShapeFlag</a> <a class="el" href="classPxShape.html#a3c879df184ef40514589c5aa3d1f2a33" title="Sets shape flags. ">setFlag()</a> </dd></dl>
</div>
</div>
<a id="a531b866a02c9dc59131bc9887c065ff8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a531b866a02c9dc59131bc9887c065ff8">&#9670;&nbsp;</a></span>getGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classPxGeometryHolder.html">PxGeometryHolder</a> PxShape::getGeometry </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve the geometry from the shape in a <a class="el" href="classPxGeometryHolder.html" title="Geometry holder class. ">PxGeometryHolder</a> wrapper class. </p>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classPxGeometryHolder.html" title="Geometry holder class. ">PxGeometryHolder</a> object containing the geometry;</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> <a class="el" href="classPxShape.html#ac6112e8c0ee9803eb3436bbaf673d98a" title="Adjust the geometry of the shape. ">setGeometry()</a> </dd></dl>
<p class="reference">Referenced by <a class="el" href="classPxShapeExt.html#a71b7808c2c0623fe264f7973be837897">PxShapeExt::getWorldBounds()</a>, <a class="el" href="classPxShapeExt.html#affe9828effe773b79ab836691b72d62a">PxShapeExt::overlap()</a>, <a class="el" href="classPxShapeExt.html#aa96a6b923cccd8bf680d4bf9fb8aee2d">PxShapeExt::raycast()</a>, and <a class="el" href="classPxShapeExt.html#a9fb19195f3ac80b6ab55fd0aa7a41cf3">PxShapeExt::sweep()</a>.</p>
</div>
</div>
<a id="a8365c22a5780649bd890703b3ebc1f20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8365c22a5780649bd890703b3ebc1f20">&#9670;&nbsp;</a></span>getGeometryType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structPxGeometryType.html#aefc79f72c4c479192ac19d41a6f30ed5">PxGeometryType::Enum</a> PxShape::getGeometryType </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the geometry type of the shape. </p>
<dl class="section return"><dt>Returns</dt><dd>Type of shape geometry.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> </dd></dl>
</div>
</div>
<a id="a3709d51079c4c809415d31087ebac65b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3709d51079c4c809415d31087ebac65b">&#9670;&nbsp;</a></span>getHeightFieldGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::getHeightFieldGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxHeightFieldGeometry.html">PxHeightFieldGeometry</a> &amp;&#160;</td>
<td class="paramname"><em>geometry</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetch the geometry of the shape. </p>
<dl class="section note"><dt>Note</dt><dd>If the type of geometry to extract does not match the geometry type of the shape then the method will return false and the passed in geometry descriptor is not modified.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geometry</td><td>The descriptor to save the shape's geometry data to. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True on success else false</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> </dd></dl>
</div>
</div>
<a id="af455638230d515adbfb561f1064e70a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af455638230d515adbfb561f1064e70a1">&#9670;&nbsp;</a></span>getLocalPose()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classPxTransform.html">PxTransform</a> PxShape::getLocalPose </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves the pose of the shape in actor space, i.e. relative to the actor they are owned by. </p>
<p>This transformation is identity by default.</p>
<dl class="section return"><dt>Returns</dt><dd>Pose of shape relative to the actor's frame.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#a9f32c7cea3b5701de3f815cd64c978df" title="Sets the pose of the shape in actor space, i.e. relative to the actors to which they are attached...">setLocalPose()</a> </dd></dl>
<p class="reference">Referenced by <a class="el" href="classPxShapeExt.html#adf481eb1ae61121027ae6bbf5829f497">PxShapeExt::getGlobalPose()</a>.</p>
</div>
</div>
<a id="a77dcd61c00720726ffcce1fe370f0042"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77dcd61c00720726ffcce1fe370f0042">&#9670;&nbsp;</a></span>getMaterialFromInternalFaceIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classPxMaterial.html">PxMaterial</a>* PxShape::getMaterialFromInternalFaceIndex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
<td class="paramname"><em>faceIndex</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve material from given triangle index. </p>
<p>The input index is the internal triangle index as used inside the SDK. This is the index returned to users by various SDK functions such as raycasts.</p>
<p>This function is only useful for triangle meshes or heightfields, which have per-triangle materials. For other shapes the function returns the single material associated with the shape, regardless of the index.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">faceIndex</td><td>The internal triangle index whose material you want to retrieve. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Material from input triangle</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If faceIndex value of 0xFFFFffff is passed as an input for mesh and heightfield shapes, this function will issue a warning and return NULL. </dd>
<dd>
Scene queries set the value of <a class="el" href="structPxQueryHit.html#ae3462529024eafa98ed2abe1b3b9146c">PxQueryHit::faceIndex</a> to 0xFFFFffff whenever it is undefined or does not apply.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxMaterial.html" title="Material class to represent a set of surface properties. ">PxMaterial</a> <a class="el" href="classPxShape.html#a0166cefbe1d120da68db5f68ddd6ebbc" title="Returns the number of materials assigned to the shape. ">getNbMaterials()</a> <a class="el" href="classPxMaterial.html#ac0635989d3c9a12d55d25fe468e91256" title="Decrements the reference count of a material and releases it if the new reference count is zero...">PxMaterial::release()</a> </dd></dl>
</div>
</div>
<a id="adbaf4b32d62babcbab918fc64d4fcae9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbaf4b32d62babcbab918fc64d4fcae9">&#9670;&nbsp;</a></span>getMaterials()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxShape::getMaterials </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxMaterial.html">PxMaterial</a> **&#160;</td>
<td class="paramname"><em>userBuffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
<td class="paramname"><em>bufferSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
<td class="paramname"><em>startIndex</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve all the material pointers associated with the shape. </p>
<p>You can retrieve the number of material pointers by calling <a class="el" href="classPxShape.html#a0166cefbe1d120da68db5f68ddd6ebbc" title="Returns the number of materials assigned to the shape. ">getNbMaterials()</a></p>
<p>Note: Removing materials with <a class="el" href="classPxMaterial.html#ac0635989d3c9a12d55d25fe468e91256" title="Decrements the reference count of a material and releases it if the new reference count is zero...">PxMaterial::release()</a> will invalidate the pointer of the released material.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">userBuffer</td><td>The buffer to store the material pointers. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">bufferSize</td><td>Size of provided user buffer. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">startIndex</td><td>Index of first material pointer to be retrieved </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of material pointers written to the buffer.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxMaterial.html" title="Material class to represent a set of surface properties. ">PxMaterial</a> <a class="el" href="classPxShape.html#a0166cefbe1d120da68db5f68ddd6ebbc" title="Returns the number of materials assigned to the shape. ">getNbMaterials()</a> <a class="el" href="classPxMaterial.html#ac0635989d3c9a12d55d25fe468e91256" title="Decrements the reference count of a material and releases it if the new reference count is zero...">PxMaterial::release()</a> </dd></dl>
</div>
</div>
<a id="a6ab51c8e6ac18603a668d8135d6a3cfb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ab51c8e6ac18603a668d8135d6a3cfb">&#9670;&nbsp;</a></span>getMinTorsionalPatchRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual PxReal PxShape::getMinTorsionalPatchRadius </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets minimum torsional patch radius. </p>
<p>This defines the minimum radius of the contact patch used to apply torsional friction. If the radius is 0, the amount of torsional friction that will be applied will be entirely dependent on the value of torsionalPatchRadius.</p>
<p>If the radius is &gt; 0, some torsional friction will be applied regardless of the value of torsionalPatchRadius or the amount of penetration.</p>
<dl class="section return"><dt>Returns</dt><dd>The minimum torsional patch radius of the shape. </dd></dl>
</div>
</div>
<a id="a800c362a0a6c6c120525876f56378959"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a800c362a0a6c6c120525876f56378959">&#9670;&nbsp;</a></span>getName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual const char* PxShape::getName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>retrieves the name string set with <a class="el" href="classPxShape.html#a51a289ac174c48ccc8d0b09d3fd90508" title="Sets a name string for the object that can be retrieved with getName(). ">setName()</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>The name associated with the shape.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#a51a289ac174c48ccc8d0b09d3fd90508" title="Sets a name string for the object that can be retrieved with getName(). ">setName()</a> </dd></dl>
</div>
</div>
<a id="a0166cefbe1d120da68db5f68ddd6ebbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0166cefbe1d120da68db5f68ddd6ebbc">&#9670;&nbsp;</a></span>getNbMaterials()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual PxU16 PxShape::getNbMaterials </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of materials assigned to the shape. </p>
<p>You can use <a class="el" href="classPxShape.html#adbaf4b32d62babcbab918fc64d4fcae9" title="Retrieve all the material pointers associated with the shape. ">getMaterials()</a> to retrieve the material pointers.</p>
<dl class="section return"><dt>Returns</dt><dd>Number of materials associated with this shape.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxMaterial.html" title="Material class to represent a set of surface properties. ">PxMaterial</a> <a class="el" href="classPxShape.html#adbaf4b32d62babcbab918fc64d4fcae9" title="Retrieve all the material pointers associated with the shape. ">getMaterials()</a> </dd></dl>
</div>
</div>
<a id="afe05ad6f093d762abaf03e3e0c1de704"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe05ad6f093d762abaf03e3e0c1de704">&#9670;&nbsp;</a></span>getPlaneGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::getPlaneGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxPlaneGeometry.html">PxPlaneGeometry</a> &amp;&#160;</td>
<td class="paramname"><em>geometry</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetch the geometry of the shape. </p>
<dl class="section note"><dt>Note</dt><dd>If the type of geometry to extract does not match the geometry type of the shape then the method will return false and the passed in geometry descriptor is not modified.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geometry</td><td>The descriptor to save the shape's geometry data to. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True on success else false</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> </dd></dl>
</div>
</div>
<a id="ab6cbdfa3d01aa384f4d0109a591d1f12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6cbdfa3d01aa384f4d0109a591d1f12">&#9670;&nbsp;</a></span>getQueryFilterData()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structPxFilterData.html">PxFilterData</a> PxShape::getQueryFilterData </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves the shape's Query filter data. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#ac98191c26e55ecebfd9eb4553c969fab" title="Sets the user definable query filter data. ">setQueryFilterData()</a> </dd></dl>
</div>
</div>
<a id="ae5dfb6682fb55f085a642fcfc22270bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5dfb6682fb55f085a642fcfc22270bf">&#9670;&nbsp;</a></span>getReferenceCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxShape::getReferenceCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the reference count of the shape. </p>
<p>At creation, the reference count of the shape is 1. Every actor referencing this shape increments the count by 1. When the reference count reaches 0, and only then, the shape gets destroyed automatically.</p>
<dl class="section return"><dt>Returns</dt><dd>the current reference count. </dd></dl>
</div>
</div>
<a id="a060ff01d827d559fc8b11385a161eca0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a060ff01d827d559fc8b11385a161eca0">&#9670;&nbsp;</a></span>getRestOffset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual PxReal PxShape::getRestOffset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves the rest offset. </p>
<dl class="section return"><dt>Returns</dt><dd>The rest offset of the shape.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#a413afb25b39a7a0cf0981aa01c6d7f8b" title="Sets the rest offset. ">setRestOffset()</a> </dd></dl>
</div>
</div>
<a id="abfa95e009f300060ba648637fb685686"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfa95e009f300060ba648637fb685686">&#9670;&nbsp;</a></span>getSimulationFilterData()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structPxFilterData.html">PxFilterData</a> PxShape::getSimulationFilterData </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves the shape's collision filter data. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#aa0c62176ed01c9fb14c26ad7c393963c" title="Sets the user definable collision filter data. ">setSimulationFilterData()</a> </dd></dl>
</div>
</div>
<a id="ad36c41170461ca897fa70433d23268fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad36c41170461ca897fa70433d23268fa">&#9670;&nbsp;</a></span>getSphereGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::getSphereGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxSphereGeometry.html">PxSphereGeometry</a> &amp;&#160;</td>
<td class="paramname"><em>geometry</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetch the geometry of the shape. </p>
<dl class="section note"><dt>Note</dt><dd>If the type of geometry to extract does not match the geometry type of the shape then the method will return false and the passed in geometry descriptor is not modified.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geometry</td><td>The descriptor to save the shape's geometry data to. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True on success else false</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> </dd></dl>
</div>
</div>
<a id="ac3b7dd28df7cad842e33a96775f6a351"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3b7dd28df7cad842e33a96775f6a351">&#9670;&nbsp;</a></span>getTorsionalPatchRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual PxReal PxShape::getTorsionalPatchRadius </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets torsional patch radius. </p>
<p>This defines the radius of the contact patch used to apply torsional friction. If the radius is 0, no torsional friction will be applied. If the radius is &gt; 0, some torsional friction will be applied. This is proportional to the penetration depth so, if the shapes are separated or penetration is zero, no torsional friction will be applied. It is used to approximate rotational friction introduced by the compression of contacting surfaces.</p>
<dl class="section return"><dt>Returns</dt><dd>The torsional patch radius of the shape. </dd></dl>
</div>
</div>
<a id="ae10e641c3e5d77993440abe64c1446ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae10e641c3e5d77993440abe64c1446ea">&#9670;&nbsp;</a></span>getTriangleMeshGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::getTriangleMeshGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxTriangleMeshGeometry.html">PxTriangleMeshGeometry</a> &amp;&#160;</td>
<td class="paramname"><em>geometry</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetch the geometry of the shape. </p>
<dl class="section note"><dt>Note</dt><dd>If the type of geometry to extract does not match the geometry type of the shape then the method will return false and the passed in geometry descriptor is not modified.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geometry</td><td>The descriptor to save the shape's geometry data to. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True on success else false</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> </dd></dl>
</div>
</div>
<a id="a9797f4bf85e72881b3cb90d303a22b91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9797f4bf85e72881b3cb90d303a22b91">&#9670;&nbsp;</a></span>isExclusive()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::isExclusive </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the shape is exclusive to an actor. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxPhysics.html#abc564607f208cbc1944880172a3d62fe" title="Creates a shape which may be attached to multiple actors. ">PxPhysics::createShape()</a> </dd></dl>
</div>
</div>
<a id="a6794af0658d89f3774fd00af259637b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6794af0658d89f3774fd00af259637b9">&#9670;&nbsp;</a></span>isKindOf()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PxShape::isKindOf </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>superClass</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns whether a given type name matches with the type of this instance. </p>
<p>Reimplemented from <a class="el" href="classPxBase.html#addfc067afca2f67bda6c497b14424962">PxBase</a>.</p>
<p class="reference">References <a class="el" href="classPxBase.html#addfc067afca2f67bda6c497b14424962">PxBase::isKindOf()</a>.</p>
</div>
</div>
<a id="a165dc6eaf5c58997b90b06176220be37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a165dc6eaf5c58997b90b06176220be37">&#9670;&nbsp;</a></span>release()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::release </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Decrements the reference count of a shape and releases it if the new reference count is zero. </p>
<p>Note that in releases prior to PhysX 3.3 this method did not have reference counting semantics and was used to destroy a shape created with PxActor::createShape(). In PhysX 3.3 and above, this usage is deprecated, instead, use <a class="el" href="classPxRigidActor.html#a467f9dc1517978b8d517936a475d3c4c">PxRigidActor::detachShape()</a> to detach a shape from an actor. If the shape to be detached was created with PxActor::createShape(), the actor holds the only counted reference, and so when the shape is detached it will also be destroyed.</p>
<dl class="section see"><dt>See also</dt><dd>PxRigidActor::createShape() <a class="el" href="classPxPhysics.html#abc564607f208cbc1944880172a3d62fe" title="Creates a shape which may be attached to multiple actors. ">PxPhysics::createShape()</a> <a class="el" href="classPxRigidActor.html#a022e098ea67bc8ec87f93c2f18a4db6f">PxRigidActor::attachShape()</a> <a class="el" href="classPxRigidActor.html#a467f9dc1517978b8d517936a475d3c4c">PxRigidActor::detachShape()</a> </dd></dl>
<p>Implements <a class="el" href="classPxBase.html#afe6aedda1df0d6d29b1a28213a5ee25a">PxBase</a>.</p>
<p class="reference">Referenced by <a class="el" href="classPxRigidActorExt.html#ae708f5ca3fc5f1ce3db14032a89f62b9">PxRigidActorExt::createExclusiveShape()</a>.</p>
</div>
</div>
<a id="a07c638b68e14de5e284a03dbcc128d27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07c638b68e14de5e284a03dbcc128d27">&#9670;&nbsp;</a></span>setContactOffset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setContactOffset </td>
<td>(</td>
<td class="paramtype">PxReal&#160;</td>
<td class="paramname"><em>contactOffset</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the contact offset. </p>
<p>Shapes whose distance is less than the sum of their contactOffset values will generate contacts. The contact offset must be positive and greater than the rest offset. Having a contactOffset greater than than the restOffset allows the collision detection system to predictively enforce the contact constraint even when the objects are slightly separated. This prevents jitter that would occur if the constraint were enforced only when shapes were within the rest distance.</p>
<p><b>Default:</b> 0.02f * <a class="el" href="classPxTolerancesScale.html#a7d93bf20de0e5b54783eda5bb64effeb">PxTolerancesScale::length</a></p>
<p><b>Sleeping:</b> Does <b>NOT</b> wake the associated actor up automatically.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">contactOffset</td><td><b>Range:</b> [maximum(0,restOffset), PX_MAX_F32)</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#a3f0686821f3f8fe92103e31c293f118b" title="Retrieves the contact offset. ">getContactOffset</a> <a class="el" href="classPxTolerancesScale.html" title="Class to define the scale at which simulation runs. Most simulation tolerances are calculated in term...">PxTolerancesScale</a> <a class="el" href="classPxShape.html#a413afb25b39a7a0cf0981aa01c6d7f8b" title="Sets the rest offset. ">setRestOffset</a> </dd></dl>
</div>
</div>
<a id="a3c879df184ef40514589c5aa3d1f2a33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c879df184ef40514589c5aa3d1f2a33">&#9670;&nbsp;</a></span>setFlag()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setFlag </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPxShapeFlag.html#a6edb481aaa3a998c5d6dd3fc4ad87f1a">PxShapeFlag::Enum</a>&#160;</td>
<td class="paramname"><em>flag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets shape flags. </p>
<p><b>Sleeping:</b> Does <b>NOT</b> wake the associated actor up automatically.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">flag</td><td>The shape flag to enable/disable. See <a class="el" href="structPxShapeFlag.html" title="Flags which affect the behavior of PxShapes. ">PxShapeFlag</a>. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>True to set the flag. False to clear the flag specified in flag.</td></tr>
</table>
</dd>
</dl>
<p><b>Default:</b> <a class="el" href="structPxShapeFlag.html#a6edb481aaa3a998c5d6dd3fc4ad87f1aa1b3a6f33eb84ee2dc74eac63aa86f2a4" title="Enable debug renderer for this shape. ">PxShapeFlag::eVISUALIZATION</a> | <a class="el" href="structPxShapeFlag.html#a6edb481aaa3a998c5d6dd3fc4ad87f1aa7fa4fea0eecda9cc80a7aaa11a22df52" title="The shape will partake in collision in the physical simulation. ">PxShapeFlag::eSIMULATION_SHAPE</a> | <a class="el" href="structPxShapeFlag.html#a6edb481aaa3a998c5d6dd3fc4ad87f1aabc7ec24b00ed57f3914482f0706c6273" title="The shape will partake in scene queries (ray casts, overlap tests, sweeps, ...). ">PxShapeFlag::eSCENE_QUERY_SHAPE</a></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxShapeFlag.html" title="Flags which affect the behavior of PxShapes. ">PxShapeFlag</a> <a class="el" href="classPxShape.html#acd44b1c761c14e6319475797ec4f9715" title="Retrieves shape flags. ">getFlags()</a> </dd></dl>
</div>
</div>
<a id="afc179cb4b2146af98c76623d2fc0db6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc179cb4b2146af98c76623d2fc0db6e">&#9670;&nbsp;</a></span>setFlags()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setFlags </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__physics.html#ga18053d8127ddb5ed5609e4c748b6ad0d">PxShapeFlags</a>&#160;</td>
<td class="paramname"><em>inFlags</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets shape flags. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxShapeFlag.html" title="Flags which affect the behavior of PxShapes. ">PxShapeFlag</a> <a class="el" href="classPxShape.html#acd44b1c761c14e6319475797ec4f9715" title="Retrieves shape flags. ">getFlags()</a> </dd></dl>
</div>
</div>
<a id="ac6112e8c0ee9803eb3436bbaf673d98a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6112e8c0ee9803eb3436bbaf673d98a">&#9670;&nbsp;</a></span>setGeometry()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setGeometry </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPxGeometry.html">PxGeometry</a> &amp;&#160;</td>
<td class="paramname"><em>geometry</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adjust the geometry of the shape. </p>
<dl class="section note"><dt>Note</dt><dd>The type of the passed in geometry must match the geometry type of the shape. </dd>
<dd>
It is not allowed to change the geometry type of a shape. </dd>
<dd>
This function does not guarantee correct/continuous behavior when objects are resting on top of old or new geometry.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geometry</td><td>New geometry of the shape.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxGeometry.html" title="A geometry object. ">PxGeometry</a> <a class="el" href="structPxGeometryType.html" title="A geometry type. ">PxGeometryType</a> <a class="el" href="classPxShape.html#a8365c22a5780649bd890703b3ebc1f20" title="Get the geometry type of the shape. ">getGeometryType()</a> </dd></dl>
</div>
</div>
<a id="a9f32c7cea3b5701de3f815cd64c978df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f32c7cea3b5701de3f815cd64c978df">&#9670;&nbsp;</a></span>setLocalPose()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setLocalPose </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPxTransform.html">PxTransform</a> &amp;&#160;</td>
<td class="paramname"><em>pose</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the pose of the shape in actor space, i.e. relative to the actors to which they are attached. </p>
<p>This transformation is identity by default.</p>
<p>The local pose is an attribute of the shape, and so will apply to all actors to which the shape is attached.</p>
<p><b>Sleeping:</b> Does <b>NOT</b> wake the associated actor up automatically.</p>
<p><em>Note:</em> Does not automatically update the inertia properties of the owning actor (if applicable); use the PhysX extensions method <a class="el" href="classPxRigidBodyExt.html#a769be90cdb138897ce426aa04ac0a1e7" title="Computation of mass properties for a rigid body actor. ">PxRigidBodyExt::updateMassAndInertia()</a> to do this.</p>
<p><b>Default:</b> the identity transform</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">pose</td><td>The new transform from the actor frame to the shape frame. <b>Range:</b> rigid body transform</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#af455638230d515adbfb561f1064e70a1" title="Retrieves the pose of the shape in actor space, i.e. relative to the actor they are owned by...">getLocalPose()</a> </dd></dl>
</div>
</div>
<a id="a14fbf4de00134d17b85194487d68ff30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14fbf4de00134d17b85194487d68ff30">&#9670;&nbsp;</a></span>setMaterials()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setMaterials </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxMaterial.html">PxMaterial</a> *const *&#160;</td>
<td class="paramname"><em>materials</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">PxU16&#160;</td>
<td class="paramname"><em>materialCount</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assigns material(s) to the shape. </p>
<p><b>Sleeping:</b> Does <b>NOT</b> wake the associated actor up automatically.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">materials</td><td>List of material pointers to assign to the shape. See <a class="el" href="classPxMaterial.html" title="Material class to represent a set of surface properties. ">PxMaterial</a> </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">materialCount</td><td>The number of materials provided.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxPhysics.html#a35c1965ae47b24e119c6a2d8ce25477e" title="Creates a new material with default properties. ">PxPhysics.createMaterial()</a> <a class="el" href="classPxShape.html#adbaf4b32d62babcbab918fc64d4fcae9" title="Retrieve all the material pointers associated with the shape. ">getMaterials()</a> </dd></dl>
</div>
</div>
<a id="a034f5e45e01796a60c77382bc4db3627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a034f5e45e01796a60c77382bc4db3627">&#9670;&nbsp;</a></span>setMinTorsionalPatchRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setMinTorsionalPatchRadius </td>
<td>(</td>
<td class="paramtype">PxReal&#160;</td>
<td class="paramname"><em>radius</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets minimum torsional patch radius. </p>
<p>This defines the minimum radius of the contact patch used to apply torsional friction. If the radius is 0, the amount of torsional friction that will be applied will be entirely dependent on the value of torsionalPatchRadius.</p>
<p>If the radius is &gt; 0, some torsional friction will be applied regardless of the value of torsionalPatchRadius or the amount of penetration.</p>
<p><b>Default:</b> 0.0</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">radius</td><td><b>Range:</b> (0, PX_MAX_F32) </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a51a289ac174c48ccc8d0b09d3fd90508"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51a289ac174c48ccc8d0b09d3fd90508">&#9670;&nbsp;</a></span>setName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setName </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a name string for the object that can be retrieved with <a class="el" href="classPxShape.html#a800c362a0a6c6c120525876f56378959" title="retrieves the name string set with setName(). ">getName()</a>. </p>
<p>This is for debugging and is not used by the SDK. The string is not copied by the SDK, only the pointer is stored.</p>
<p><b>Default:</b> NULL</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>The name string to set the objects name to.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#a800c362a0a6c6c120525876f56378959" title="retrieves the name string set with setName(). ">getName()</a> </dd></dl>
</div>
</div>
<a id="ac98191c26e55ecebfd9eb4553c969fab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac98191c26e55ecebfd9eb4553c969fab">&#9670;&nbsp;</a></span>setQueryFilterData()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setQueryFilterData </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structPxFilterData.html">PxFilterData</a> &amp;&#160;</td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the user definable query filter data. </p>
<p><b>Default:</b> (0,0,0,0)</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#ab6cbdfa3d01aa384f4d0109a591d1f12" title="Retrieves the shape&#39;s Query filter data. ">getQueryFilterData()</a> </dd></dl>
</div>
</div>
<a id="a413afb25b39a7a0cf0981aa01c6d7f8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a413afb25b39a7a0cf0981aa01c6d7f8b">&#9670;&nbsp;</a></span>setRestOffset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setRestOffset </td>
<td>(</td>
<td class="paramtype">PxReal&#160;</td>
<td class="paramname"><em>restOffset</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the rest offset. </p>
<p>Two shapes will come to rest at a distance equal to the sum of their restOffset values. If the restOffset is 0, they should converge to touching exactly. Having a restOffset greater than zero is useful to have objects slide smoothly, so that they do not get hung up on irregularities of each others' surfaces.</p>
<p><b>Default:</b> 0.0f</p>
<p><b>Sleeping:</b> Does <b>NOT</b> wake the associated actor up automatically.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">restOffset</td><td><b>Range:</b> (-PX_MAX_F32, contactOffset)</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#a060ff01d827d559fc8b11385a161eca0" title="Retrieves the rest offset. ">getRestOffset</a> <a class="el" href="classPxShape.html#a07c638b68e14de5e284a03dbcc128d27" title="Sets the contact offset. ">setContactOffset</a> </dd></dl>
</div>
</div>
<a id="aa0c62176ed01c9fb14c26ad7c393963c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0c62176ed01c9fb14c26ad7c393963c">&#9670;&nbsp;</a></span>setSimulationFilterData()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setSimulationFilterData </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structPxFilterData.html">PxFilterData</a> &amp;&#160;</td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the user definable collision filter data. </p>
<p><b>Sleeping:</b> Does wake up the actor if the filter data change causes a formerly suppressed collision pair to be enabled.</p>
<p><b>Default:</b> (0,0,0,0)</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxShape.html#abfa95e009f300060ba648637fb685686" title="Retrieves the shape&#39;s collision filter data. ">getSimulationFilterData()</a> </dd></dl>
</div>
</div>
<a id="a21faab5134bd944a5056c51158e6c60c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21faab5134bd944a5056c51158e6c60c">&#9670;&nbsp;</a></span>setTorsionalPatchRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PxShape::setTorsionalPatchRadius </td>
<td>(</td>
<td class="paramtype">PxReal&#160;</td>
<td class="paramname"><em>radius</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets torsional patch radius. </p>
<p>This defines the radius of the contact patch used to apply torsional friction. If the radius is 0, no torsional friction will be applied. If the radius is &gt; 0, some torsional friction will be applied. This is proportional to the penetration depth so, if the shapes are separated or penetration is zero, no torsional friction will be applied. It is used to approximate rotational friction introduced by the compression of contacting surfaces.</p>
<p><b>Default:</b> 0.0</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">radius</td><td><b>Range:</b> (0, PX_MAX_F32) </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a557b80df942f039122b0ee750d29c552"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a557b80df942f039122b0ee750d29c552">&#9670;&nbsp;</a></span>userData</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* PxShape::userData</td>
</tr>
</table>
</div><div class="memdoc">
<p>user can assign this to whatever, usually to create a 1:1 relationship with a user object. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxShape_8h_source.html">PxShape.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="classPxShape.html">PxShape</a></li>
<li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
</ul>
</div>
</body>
</html>