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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxPhysicsInsertionCallback 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>PxPhysicsInsertionCallback Class Reference<br>
<small>
[<a class="el" href="group__common.html">Common</a>]</small>
</h1><!-- doxytag: class="PxPhysicsInsertionCallback" -->Callback interface that permits <a class="el" href="classPxCooking.html">PxCooking</a> to insert a TriangleMesh, HeightfieldMesh or ConvexMesh directly into <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a> without the need to store the cooking results into a stream.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxPhysicsInsertionCallback_8h-source.html">PxPhysicsInsertionCallback.h</a>></code>
<p>
<p>
<a href="classPxPhysicsInsertionCallback-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPhysicsInsertionCallback.html#d1424ae705471676424f57e2037f63dd">PxPhysicsInsertionCallback</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPxBase.html">PxBase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPhysicsInsertionCallback.html#d96a7237e29bb61034a5fee1903fc6e0">buildObjectFromData</a> (<a class="el" href="structPxConcreteType.html#d762aca1d4c8fffae41267fae4f1b8e8">PxConcreteType::Enum</a> type, void *data)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Builds object (TriangleMesh, HeightfieldMesh or ConvexMesh) from given data in <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a>. <a href="#d96a7237e29bb61034a5fee1903fc6e0"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPhysicsInsertionCallback.html#e585e06bd370f62f3f01bd934e6e8288">~PxPhysicsInsertionCallback</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Callback interface that permits <a class="el" href="classPxCooking.html">PxCooking</a> to insert a TriangleMesh, HeightfieldMesh or ConvexMesh directly into <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a> without the need to store the cooking results into a stream.
<p>
Using this is advised only if real-time cooking is required; using "offline" cooking and streams is otherwise preferred.<p>
The default <a class="el" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a> implementation must be used. The <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a> default callback can be obtained using the <a class="el" href="classPxPhysics.html#7a4588fd79b87766cb81fae3ddd4f074" title="Gets PxPhysics object insertion interface.">PxPhysics::getPhysicsInsertionCallback()</a>.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxCooking.html">PxCooking</a> <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a> </dd></dl>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="d1424ae705471676424f57e2037f63dd"></a><!-- doxytag: member="PxPhysicsInsertionCallback::PxPhysicsInsertionCallback" ref="d1424ae705471676424f57e2037f63dd" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxPhysicsInsertionCallback::PxPhysicsInsertionCallback </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="e585e06bd370f62f3f01bd934e6e8288"></a><!-- doxytag: member="PxPhysicsInsertionCallback::~PxPhysicsInsertionCallback" ref="e585e06bd370f62f3f01bd934e6e8288" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual PxPhysicsInsertionCallback::~PxPhysicsInsertionCallback </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inline, protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d96a7237e29bb61034a5fee1903fc6e0"></a><!-- doxytag: member="PxPhysicsInsertionCallback::buildObjectFromData" ref="d96a7237e29bb61034a5fee1903fc6e0" args="(PxConcreteType::Enum type, void *data)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classPxBase.html">PxBase</a>* PxPhysicsInsertionCallback::buildObjectFromData </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPxConcreteType.html#d762aca1d4c8fffae41267fae4f1b8e8">PxConcreteType::Enum</a> </td>
<td class="paramname"> <em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>data</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>
Builds object (TriangleMesh, HeightfieldMesh or ConvexMesh) from given data in <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a>.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>Object type to build. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>Object data </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a> Created object in <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a>. </dd></dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxPhysicsInsertionCallback_8h-source.html">PxPhysicsInsertionCallback.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>
|