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

218 lines
13 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>PxContactModifyPair 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('classPxContactModifyPair.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-attribs">Public Attributes</a> &#124;
<a href="classPxContactModifyPair-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">PxContactModifyPair Class Reference<div class="ingroups"><a class="el" href="group__physics.html">Physics</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>An array of instances of this class is passed to <a class="el" href="classPxContactModifyCallback.html#a383f0448886bf352215c886b3066f790" title="Passes modifiable arrays of contacts to the application. ">PxContactModifyCallback::onContactModify()</a>.
<a href="classPxContactModifyPair.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="PxContactModifyCallback_8h_source.html">PxContactModifyCallback.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for PxContactModifyPair:</div>
<div class="dyncontent">
<div class="center"><img src="classPxContactModifyPair__coll__graph.png" border="0" usemap="#PxContactModifyPair_coll__map" alt="Collaboration graph"/></div>
<map name="PxContactModifyPair_coll__map" id="PxContactModifyPair_coll__map">
<area shape="rect" id="node2" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD..." alt="" coords="5,376,104,403"/>
<area shape="rect" id="node3" href="classPxActor.html" title="PxActor is the base class for the main simulation objects in the physics SDK. " alt="" coords="21,275,91,301"/>
<area shape="rect" id="node4" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. " alt="" coords="53,199,121,225"/>
<area shape="rect" id="node13" href="classPxShape.html" title="Abstract class for collision shapes. " alt="" coords="108,325,183,352"/>
<area shape="rect" id="node5" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag\l::Enum, PxU16 \&gt;" alt="" coords="10,95,163,136"/>
<area shape="rect" id="node6" href="classPxContactSet.html" title="An array of contact points, as passed to contact modification. " alt="" coords="217,376,319,403"/>
<area shape="rect" id="node7" href="structPxModifiableContact.html" title="A modifiable contact point. This has additional fields per&#45;contact to permit modification by user..." alt="" coords="173,275,315,301"/>
<area shape="rect" id="node8" href="structPxExtendedContact.html" title="PxExtendedContact" alt="" coords="175,199,313,225"/>
<area shape="rect" id="node9" href="structPxContact.html" title="Contact point data including face (feature) indices. " alt="" coords="203,102,285,129"/>
<area shape="rect" id="node10" href="classPxVec3.html" title="3 Element vector class. " alt="" coords="225,5,293,32"/>
<area shape="rect" id="node11" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector " alt="" coords="315,102,410,129"/>
<area shape="rect" id="node12" href="classPxQuat.html" title="This is a quaternion class. For more information on quaternion mathematics consult a mathematics sour..." alt="" coords="332,5,399,32"/>
</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-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5102f62e13acc449f81670353cdac114"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classPxRigidActor.html">PxRigidActor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxContactModifyPair.html#a5102f62e13acc449f81670353cdac114">actor</a> [2]</td></tr>
<tr class="memdesc:a5102f62e13acc449f81670353cdac114"><td class="mdescLeft">&#160;</td><td class="mdescRight">The actors which make up the pair in contact. <a href="#a5102f62e13acc449f81670353cdac114">More...</a><br /></td></tr>
<tr class="separator:a5102f62e13acc449f81670353cdac114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae562e272dd6588e55139200aed047c38"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classPxShape.html">PxShape</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxContactModifyPair.html#ae562e272dd6588e55139200aed047c38">shape</a> [2]</td></tr>
<tr class="memdesc:ae562e272dd6588e55139200aed047c38"><td class="mdescLeft">&#160;</td><td class="mdescRight">The shapes which make up the pair in contact. <a href="#ae562e272dd6588e55139200aed047c38">More...</a><br /></td></tr>
<tr class="separator:ae562e272dd6588e55139200aed047c38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d6715a77c2fb18a8ee9906813149d22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxTransform.html">PxTransform</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxContactModifyPair.html#a8d6715a77c2fb18a8ee9906813149d22">transform</a> [2]</td></tr>
<tr class="memdesc:a8d6715a77c2fb18a8ee9906813149d22"><td class="mdescLeft">&#160;</td><td class="mdescRight">The shape to world transforms of the two shapes. <a href="#a8d6715a77c2fb18a8ee9906813149d22">More...</a><br /></td></tr>
<tr class="separator:a8d6715a77c2fb18a8ee9906813149d22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9266a6cd1e9604f2bc6f7104064bb388"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxContactSet.html">PxContactSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxContactModifyPair.html#a9266a6cd1e9604f2bc6f7104064bb388">contacts</a></td></tr>
<tr class="memdesc:a9266a6cd1e9604f2bc6f7104064bb388"><td class="mdescLeft">&#160;</td><td class="mdescRight">An array of contact points between these two shapes. <a href="#a9266a6cd1e9604f2bc6f7104064bb388">More...</a><br /></td></tr>
<tr class="separator:a9266a6cd1e9604f2bc6f7104064bb388"><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>An array of instances of this class is passed to <a class="el" href="classPxContactModifyCallback.html#a383f0448886bf352215c886b3066f790" title="Passes modifiable arrays of contacts to the application. ">PxContactModifyCallback::onContactModify()</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxContactModifyCallback.html" title="An interface class that the user can implement in order to modify contact constraints. ">PxContactModifyCallback</a> </dd></dl>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a5102f62e13acc449f81670353cdac114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5102f62e13acc449f81670353cdac114">&#9670;&nbsp;</a></span>actor</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classPxRigidActor.html">PxRigidActor</a>* PxContactModifyPair::actor[2]</td>
</tr>
</table>
</div><div class="memdoc">
<p>The actors which make up the pair in contact. </p>
<p>Note that these are the actors as seen by the simulation, and may have been deleted since the simulation step started. </p>
</div>
</div>
<a id="a9266a6cd1e9604f2bc6f7104064bb388"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9266a6cd1e9604f2bc6f7104064bb388">&#9670;&nbsp;</a></span>contacts</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxContactSet.html">PxContactSet</a> PxContactModifyPair::contacts</td>
</tr>
</table>
</div><div class="memdoc">
<p>An array of contact points between these two shapes. </p>
</div>
</div>
<a id="ae562e272dd6588e55139200aed047c38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae562e272dd6588e55139200aed047c38">&#9670;&nbsp;</a></span>shape</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classPxShape.html">PxShape</a>* PxContactModifyPair::shape[2]</td>
</tr>
</table>
</div><div class="memdoc">
<p>The shapes which make up the pair in contact. </p>
<p>Note that these are the shapes as seen by the simulation, and may have been deleted since the simulation step started. </p>
</div>
</div>
<a id="a8d6715a77c2fb18a8ee9906813149d22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d6715a77c2fb18a8ee9906813149d22">&#9670;&nbsp;</a></span>transform</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxTransform.html">PxTransform</a> PxContactModifyPair::transform[2]</td>
</tr>
</table>
</div><div class="memdoc">
<p>The shape to world transforms of the two shapes. </p>
<p>These are the transforms as the simulation engine sees them, and may have been modified by the application since the simulation step started. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxContactModifyCallback_8h_source.html">PxContactModifyCallback.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="classPxContactModifyPair.html">PxContactModifyPair</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>