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
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxClothMeshDesc 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>PxClothMeshDesc Class Reference<br>
<small>
[<a class="el" href="group__cooking.html">Cooking</a>]</small>
</h1><!-- doxytag: class="PxClothMeshDesc" -->Descriptor class for a cloth mesh.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxClothMeshDesc_8h-source.html">PxClothMeshDesc.h</a>></code>
<p>
<div class="dynheader">
Collaboration diagram for PxClothMeshDesc:</div>
<div class="dynsection">
<p><center><img src="classPxClothMeshDesc__coll__graph.png" border="0" usemap="#PxClothMeshDesc__coll__map" alt="Collaboration graph"></center>
<map name="PxClothMeshDesc__coll__map">
<area shape="rect" href="classPxFlags.html" title="PxFlags\< PxMeshFlag::Enum, PxU16 \>" alt="PxFlags\< PxMeshFlag::Enum, PxU16 \>" coords="7,88,247,109"><area shape="rect" href="structPxBoundedData.html" title="PxBoundedData" alt="PxBoundedData" coords="271,88,375,109"><area shape="rect" href="structPxStridedData.html" title="PxStridedData" alt="PxStridedData" coords="276,16,369,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classPxClothMeshDesc-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="group__cooking.html#g5f214c974f4031e62cfed89231ee1d65">PxClothMeshDesc</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">constructor sets to default. <a href="group__cooking.html#g5f214c974f4031e62cfed89231ee1d65"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cooking.html#g3efcaf703b329270eed5b0890b0c5304">setToDefault</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">(re)sets the structure to the default. <a href="group__cooking.html#g3efcaf703b329270eed5b0890b0c5304"></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__cooking.html#g4bc3ea34b81c2881eba7060d5e74c5d8">isValid</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the descriptor is valid. <a href="group__cooking.html#g4bc3ea34b81c2881eba7060d5e74c5d8"></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="structPxBoundedData.html">PxBoundedData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxClothMeshDesc.html#65c16be9e39e0f401db24fb4383f1ae5">points</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Pointer to first vertex point. <a href="#65c16be9e39e0f401db24fb4383f1ae5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxClothMeshDesc.html#a15883aaa6799795a3874d7fd6dbd53f">invMasses</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Determines whether particle is simulated or static. A positive value denotes that the particle is being simulated, zero denotes a static particle. This data is used to generate tether and zero stretch constraints. If invMasses.data is null, all particles are assumed to be simulated and no tether and zero stretch constraints are being generated. <a href="#a15883aaa6799795a3874d7fd6dbd53f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxClothMeshDesc.html#b3755b0da7fee6b3f5a2b9eb85001d38">triangles</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Pointer to the first triangle. <a href="#b3755b0da7fee6b3f5a2b9eb85001d38"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxClothMeshDesc.html#8e78b80402ca808413f2ee658ba332dc">quads</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Pointer to the first quad. <a href="#8e78b80402ca808413f2ee658ba332dc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxFlags.html">PxMeshFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxClothMeshDesc.html#952a2399574b931bc5b1d09c66793175">flags</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Flags bits, combined from values of the enum <a class="el" href="structPxMeshFlag.html" title="Enum with flag values to be used in PxSimpleTriangleMesh::flags.">PxMeshFlag</a>. <a href="#952a2399574b931bc5b1d09c66793175"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Descriptor class for a cloth mesh.
<p>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000073">Deprecated:</a></b></dt><dd>The PhysX cloth feature has been deprecated in PhysX version 3.4.1</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>PxCooking.cookClothMesh() </dd></dl>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="952a2399574b931bc5b1d09c66793175"></a><!-- doxytag: member="PxClothMeshDesc::flags" ref="952a2399574b931bc5b1d09c66793175" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxFlags.html">PxMeshFlags</a> <a class="el" href="classPxClothMeshDesc.html#952a2399574b931bc5b1d09c66793175">PxClothMeshDesc::flags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Flags bits, combined from values of the enum <a class="el" href="structPxMeshFlag.html" title="Enum with flag values to be used in PxSimpleTriangleMesh::flags.">PxMeshFlag</a>.
<p>
<p>Referenced by <a class="el" href="PxClothMeshDesc_8h-source.html#l00132">isValid()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a15883aaa6799795a3874d7fd6dbd53f"></a><!-- doxytag: member="PxClothMeshDesc::invMasses" ref="a15883aaa6799795a3874d7fd6dbd53f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> <a class="el" href="classPxClothMeshDesc.html#a15883aaa6799795a3874d7fd6dbd53f">PxClothMeshDesc::invMasses</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Determines whether particle is simulated or static. A positive value denotes that the particle is being simulated, zero denotes a static particle. This data is used to generate tether and zero stretch constraints. If invMasses.data is null, all particles are assumed to be simulated and no tether and zero stretch constraints are being generated.
<p>
<p>Referenced by <a class="el" href="PxClothMeshDesc_8h-source.html#l00132">isValid()</a>.</p>
</div>
</div><p>
<a class="anchor" name="65c16be9e39e0f401db24fb4383f1ae5"></a><!-- doxytag: member="PxClothMeshDesc::points" ref="65c16be9e39e0f401db24fb4383f1ae5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> <a class="el" href="classPxClothMeshDesc.html#65c16be9e39e0f401db24fb4383f1ae5">PxClothMeshDesc::points</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to first vertex point.
<p>
<p>Referenced by <a class="el" href="PxClothMeshDesc_8h-source.html#l00132">isValid()</a>.</p>
</div>
</div><p>
<a class="anchor" name="8e78b80402ca808413f2ee658ba332dc"></a><!-- doxytag: member="PxClothMeshDesc::quads" ref="8e78b80402ca808413f2ee658ba332dc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> <a class="el" href="classPxClothMeshDesc.html#8e78b80402ca808413f2ee658ba332dc">PxClothMeshDesc::quads</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the first quad.
<p>
These are quadruples of 0 based indices: vert0 vert1 vert2 vert3 vert0 vert1 vert2 vert3 vert0 vert1 vert2 vert3 ...<p>
where vert* is either a 32 or 16 bit unsigned integer. There are a total of 4*count indices. The stride determines the byte offset to the next index quadruple.<p>
This is declared as a void pointer because it is actually either an PxU16 or a PxU32 pointer.
<p>Referenced by <a class="el" href="PxClothMeshDesc_8h-source.html#l00132">isValid()</a>.</p>
</div>
</div><p>
<a class="anchor" name="b3755b0da7fee6b3f5a2b9eb85001d38"></a><!-- doxytag: member="PxClothMeshDesc::triangles" ref="b3755b0da7fee6b3f5a2b9eb85001d38" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> <a class="el" href="classPxClothMeshDesc.html#b3755b0da7fee6b3f5a2b9eb85001d38">PxClothMeshDesc::triangles</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the first triangle.
<p>
These are triplets of 0 based indices: vert0 vert1 vert2 vert0 vert1 vert2 vert0 vert1 vert2 ...<p>
where vert* is either a 32 or 16 bit unsigned integer. There are a total of 3*count indices. The stride determines the byte offset to the next index triple.<p>
This is declared as a void pointer because it is actually either an PxU16 or a PxU32 pointer.
<p>Referenced by <a class="el" href="PxClothMeshDesc_8h-source.html#l00132">isValid()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxClothMeshDesc_8h-source.html">PxClothMeshDesc.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>
|