blob: 0d7e5c7772f84fd5ddb5404c8a537adf7b204dd5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxContactRecorder Class Reference</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
<center>
<a class="qindex" href="main.html">Main Page</a>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxContactRecorder Class Reference<br>
<small>
[<a class="el" href="group__immediatemode.html">Immediatemode</a>]</small>
</h1><!-- doxytag: class="PxContactRecorder" -->Callback class to record contact points produced by <a class="el" href="group__immediatemode.html#g43ee6393438e91aa05bb2790559104b7">immediate::PxGenerateContacts</a>.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxImmediateMode_8h-source.html">PxImmediateMode.h</a>></code>
<p>
<p>
<a href="classPxContactRecorder-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxContactRecorder.html#f7dd25caea78a2175e6b079df5ae2a75">recordContacts</a> (const Gu::ContactPoint *contactPoints, const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> nbContacts, const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> index)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Method to record new contacts. <a href="#f7dd25caea78a2175e6b079df5ae2a75"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxContactRecorder.html#0438ffde649943dc78286c3e3d0bce86">~PxContactRecorder</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Callback class to record contact points produced by <a class="el" href="group__immediatemode.html#g43ee6393438e91aa05bb2790559104b7">immediate::PxGenerateContacts</a>. <hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="0438ffde649943dc78286c3e3d0bce86"></a><!-- doxytag: member="PxContactRecorder::~PxContactRecorder" ref="0438ffde649943dc78286c3e3d0bce86" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual PxContactRecorder::~PxContactRecorder </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="f7dd25caea78a2175e6b079df5ae2a75"></a><!-- doxytag: member="PxContactRecorder::recordContacts" ref="f7dd25caea78a2175e6b079df5ae2a75" args="(const Gu::ContactPoint *contactPoints, const PxU32 nbContacts, const PxU32 index)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool PxContactRecorder::recordContacts </td>
<td>(</td>
<td class="paramtype">const Gu::ContactPoint * </td>
<td class="paramname"> <em>contactPoints</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> </td>
<td class="paramname"> <em>nbContacts</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> </td>
<td class="paramname"> <em>index</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Method to record new contacts.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>contactPoints</em> </td><td>The contact points produced </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>nbContacts</em> </td><td>The number of contact points produced </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>index</em> </td><td>The index of this pair. This is an index from 0-N-1 identifying which pair this relates to from within the array of pairs passed to PxGenerateContacts </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a boolean to indicate if this callback successfully stored the contacts or not. </dd></dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxImmediateMode_8h-source.html">PxImmediateMode.h</a></ul>
</div>
<hr style="width: 100%; height: 2px;"><br>
Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>
|