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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxTriangleMeshGeometry 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>PxTriangleMeshGeometry Class Reference<br>
<small>
[<a class="el" href="group__geomutils.html">Geomutils</a>]</small>
</h1><!-- doxytag: class="PxTriangleMeshGeometry" --><!-- doxytag: inherits="PxGeometry" -->Triangle mesh geometry class.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxTriangleMeshGeometry_8h-source.html">PxTriangleMeshGeometry.h</a>></code>
<p>
<div class="dynheader">
Inheritance diagram for PxTriangleMeshGeometry:</div>
<div class="dynsection">
<p><center><img src="classPxTriangleMeshGeometry__inherit__graph.png" border="0" usemap="#PxTriangleMeshGeometry__inherit__map" alt="Inheritance graph"></center>
<map name="PxTriangleMeshGeometry__inherit__map">
<area shape="rect" href="classPxGeometry.html" title="A geometry object." alt="PxGeometry" coords="47,16,132,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for PxTriangleMeshGeometry:</div>
<div class="dynsection">
<p><center><img src="classPxTriangleMeshGeometry__coll__graph.png" border="0" usemap="#PxTriangleMeshGeometry__coll__map" alt="Collaboration graph"></center>
<map name="PxTriangleMeshGeometry__coll__map">
<area shape="rect" href="classPxGeometry.html" title="A geometry object." alt="PxGeometry" coords="651,8,736,29"><area shape="rect" href="classPxMeshScale.html" title="A class expressing a nonuniform scaling transformation." alt="PxMeshScale" coords="648,67,739,88"><area shape="rect" href="classPxVec3.html" title="3 Element vector class." alt="PxVec3" coords="391,32,444,53"><area shape="rect" href="classPxQuat.html" title="This is a quaternion class. For more information on quaternion mathematics consult..." alt="PxQuat" coords="391,101,444,123"><area shape="rect" href="structPxPadding.html" title="PxPadding\< 3 \>" alt="PxPadding\< 3 \>" coords="641,136,745,157"><area shape="rect" href="classPxTriangleMesh.html" title="A triangle mesh, also called a 'polygon soup'." alt="PxTriangleMesh" coords="641,205,745,227"><area shape="rect" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection." alt="PxBase" coords="389,205,445,227"><area shape="rect" href="classPxFlags.html" title="PxFlags\< PxBaseFlag::Enum, PxU16 \>" alt="PxFlags\< PxBaseFlag::Enum, PxU16 \>" coords="17,205,255,227"><area shape="rect" href="classPxFlags.html" title="PxFlags\< PxMeshGeometryFlag::Enum, PxU8 \>" alt="PxFlags\< PxMeshGeometryFlag::Enum, PxU8 \>" coords="548,275,839,296"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classPxTriangleMeshGeometry-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">PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangleMeshGeometry.html#d8d886a991c25f98a83d70be5cba0410">PxTriangleMeshGeometry</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#d8d886a991c25f98a83d70be5cba0410"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangleMeshGeometry.html#1a1cef2255e9fc7357a4f9e07c2826b4">PxTriangleMeshGeometry</a> (<a class="el" href="classPxTriangleMesh.html">PxTriangleMesh</a> *mesh, const <a class="el" href="classPxMeshScale.html">PxMeshScale</a> &scaling=<a class="el" href="classPxMeshScale.html">PxMeshScale</a>(), <a class="el" href="classPxFlags.html">PxMeshGeometryFlags</a> flags=<a class="el" href="classPxFlags.html">PxMeshGeometryFlags</a>())</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#1a1cef2255e9fc7357a4f9e07c2826b4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geomutils.html#gaf05257acc89ab07e0994b8c00690256">isValid</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the geometry is valid. <a href="group__geomutils.html#gaf05257acc89ab07e0994b8c00690256"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxMeshScale.html">PxMeshScale</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangleMeshGeometry.html#423a7229f2fe693dae9c1eddb8100ef6">scale</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The scaling transformation. <a href="#423a7229f2fe693dae9c1eddb8100ef6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxFlags.html">PxMeshGeometryFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangleMeshGeometry.html#32ce1910ff9ea011bca00f460713f1ef">meshFlags</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mesh flags. <a href="#32ce1910ff9ea011bca00f460713f1ef"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structPxPadding.html">PxPadding</a>< 3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangleMeshGeometry.html#114bc6e19dc5bc001ef9cedd1b772a03">paddingFromFlags</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">padding for mesh flags <a href="#114bc6e19dc5bc001ef9cedd1b772a03"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxTriangleMesh.html">PxTriangleMesh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxTriangleMeshGeometry.html#36384e72aaa256ef42c239da306a0587">triangleMesh</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A reference to the mesh object. <a href="#36384e72aaa256ef42c239da306a0587"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Triangle mesh geometry class.
<p>
This class unifies a mesh object with a scaling transform, and lets the combined object be used anywhere a <a class="el" href="classPxGeometry.html" title="A geometry object.">PxGeometry</a> is needed.<p>
The scaling is a transform along arbitrary axes contained in the scale object. The vertices of the mesh in geometry (or shape) space is the <a class="el" href="classPxMeshScale.html#e2b26c0cb36188e42f532f8c22024a71" title="Converts this transformation to a 3x3 matrix representation.">PxMeshScale::toMat33()</a> transform, multiplied by the vertex space vertices in the <a class="el" href="classPxConvexMesh.html" title="A convex mesh.">PxConvexMesh</a> object. <hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="d8d886a991c25f98a83d70be5cba0410"></a><!-- doxytag: member="PxTriangleMeshGeometry::PxTriangleMeshGeometry" ref="d8d886a991c25f98a83d70be5cba0410" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE PxTriangleMeshGeometry::PxTriangleMeshGeometry </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Default constructor.
<p>
Creates an empty object with a NULL mesh and identity scale.
</div>
</div><p>
<a class="anchor" name="1a1cef2255e9fc7357a4f9e07c2826b4"></a><!-- doxytag: member="PxTriangleMeshGeometry::PxTriangleMeshGeometry" ref="1a1cef2255e9fc7357a4f9e07c2826b4" args="(PxTriangleMesh *mesh, const PxMeshScale &scaling=PxMeshScale(), PxMeshGeometryFlags flags=PxMeshGeometryFlags())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE PxTriangleMeshGeometry::PxTriangleMeshGeometry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPxTriangleMesh.html">PxTriangleMesh</a> * </td>
<td class="paramname"> <em>mesh</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPxMeshScale.html">PxMeshScale</a> & </td>
<td class="paramname"> <em>scaling</em> = <code><a class="el" href="classPxMeshScale.html">PxMeshScale</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPxFlags.html">PxMeshGeometryFlags</a> </td>
<td class="paramname"> <em>flags</em> = <code><a class="el" href="classPxFlags.html">PxMeshGeometryFlags</a>()</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor.
<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>mesh</em> </td><td>Mesh pointer. May be NULL, though this will not make the object valid for shape construction. </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>scaling</em> </td><td>Scale factor. </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>flags</em> </td><td>Mesh flags. \ </td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="32ce1910ff9ea011bca00f460713f1ef"></a><!-- doxytag: member="PxTriangleMeshGeometry::meshFlags" ref="32ce1910ff9ea011bca00f460713f1ef" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxFlags.html">PxMeshGeometryFlags</a> <a class="el" href="classPxTriangleMeshGeometry.html#32ce1910ff9ea011bca00f460713f1ef">PxTriangleMeshGeometry::meshFlags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Mesh flags.
<p>
</div>
</div><p>
<a class="anchor" name="114bc6e19dc5bc001ef9cedd1b772a03"></a><!-- doxytag: member="PxTriangleMeshGeometry::paddingFromFlags" ref="114bc6e19dc5bc001ef9cedd1b772a03" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPxPadding.html">PxPadding</a><3> <a class="el" href="classPxTriangleMeshGeometry.html#114bc6e19dc5bc001ef9cedd1b772a03">PxTriangleMeshGeometry::paddingFromFlags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
padding for mesh flags
<p>
</div>
</div><p>
<a class="anchor" name="423a7229f2fe693dae9c1eddb8100ef6"></a><!-- doxytag: member="PxTriangleMeshGeometry::scale" ref="423a7229f2fe693dae9c1eddb8100ef6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxMeshScale.html">PxMeshScale</a> <a class="el" href="classPxTriangleMeshGeometry.html#423a7229f2fe693dae9c1eddb8100ef6">PxTriangleMeshGeometry::scale</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The scaling transformation.
<p>
<p>Referenced by <a class="el" href="PxTriangleMeshGeometry_8h-source.html#l00131">isValid()</a>.</p>
</div>
</div><p>
<a class="anchor" name="36384e72aaa256ef42c239da306a0587"></a><!-- doxytag: member="PxTriangleMeshGeometry::triangleMesh" ref="36384e72aaa256ef42c239da306a0587" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxTriangleMesh.html">PxTriangleMesh</a>* <a class="el" href="classPxTriangleMeshGeometry.html#36384e72aaa256ef42c239da306a0587">PxTriangleMeshGeometry::triangleMesh</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A reference to the mesh object.
<p>
<p>Referenced by <a class="el" href="PxTriangleMeshGeometry_8h-source.html#l00131">isValid()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxTriangleMeshGeometry_8h-source.html">PxTriangleMeshGeometry.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>
|