aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/structPxConvexMeshCookingResult.html
blob: 94dd92e03c9779c25f9f7f0839c4af0f8a14df88 (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
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxConvexMeshCookingResult Struct 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> &nbsp; 
				<a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; 
				<a class="qindex" href="annotated.html">Compound List</a> &nbsp; 
				<a class="qindex" href="functions.html">Compound Members</a> &nbsp;  
			</center>
			<hr class="second">
		</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxConvexMeshCookingResult Struct Reference<br>
<small>
[<a class="el" href="group__cooking.html">Cooking</a>]</small>
</h1><!-- doxytag: class="PxConvexMeshCookingResult" -->Result from convex cooking.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PxCooking_8h-source.html">PxCooking.h</a>&gt;</code>
<p>

<p>
<a href="structPxConvexMeshCookingResult-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConvexMeshCookingResult.html#c1c7b1cbfc80b0af00bec95faf1ebf42">Enum</a> { <br>
&nbsp;&nbsp;<a class="el" href="structPxConvexMeshCookingResult.html#c1c7b1cbfc80b0af00bec95faf1ebf42efc22064dc3a0abe956c25394a5261d2">eSUCCESS</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="structPxConvexMeshCookingResult.html#c1c7b1cbfc80b0af00bec95faf1ebf42ffbc9585c9485ff2719bbfdd27df3b90">eZERO_AREA_TEST_FAILED</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="structPxConvexMeshCookingResult.html#c1c7b1cbfc80b0af00bec95faf1ebf4201b3d1321ecf14bb165447a575dacfb5">ePOLYGONS_LIMIT_REACHED</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="structPxConvexMeshCookingResult.html#c1c7b1cbfc80b0af00bec95faf1ebf42286d9d3815141af3d638cda466ee4396">eFAILURE</a>
<br>
 }</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Result from convex cooking. <hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="c1c7b1cbfc80b0af00bec95faf1ebf42"></a><!-- doxytag: member="PxConvexMeshCookingResult::Enum" ref="c1c7b1cbfc80b0af00bec95faf1ebf42" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="structPxConvexMeshCookingResult.html#c1c7b1cbfc80b0af00bec95faf1ebf42">PxConvexMeshCookingResult::Enum</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="c1c7b1cbfc80b0af00bec95faf1ebf42efc22064dc3a0abe956c25394a5261d2"></a><!-- doxytag: member="eSUCCESS" ref="c1c7b1cbfc80b0af00bec95faf1ebf42efc22064dc3a0abe956c25394a5261d2" args="" -->eSUCCESS</em>&nbsp;</td><td>
Convex mesh cooking succeeded. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="c1c7b1cbfc80b0af00bec95faf1ebf42ffbc9585c9485ff2719bbfdd27df3b90"></a><!-- doxytag: member="eZERO_AREA_TEST_FAILED" ref="c1c7b1cbfc80b0af00bec95faf1ebf42ffbc9585c9485ff2719bbfdd27df3b90" args="" -->eZERO_AREA_TEST_FAILED</em>&nbsp;</td><td>
Convex mesh cooking failed, algorithm couldn't find 4 initial vertices without a small triangle. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxCookingParams.html#ec2fbb426b8c0bb2daee1e31b8e2adc2" title="Zero-size area epsilon used in convex hull computation.">PxCookingParams::areaTestEpsilon</a> <a class="el" href="structPxConvexFlag.html#4b7bd21fa96c72b320a39e880208b4b612c7c442cadd1e3474fc613944981c44" title="Checks and removes almost zero-area triangles during convex hull computation. The...">PxConvexFlag::eCHECK_ZERO_AREA_TRIANGLES</a> </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="c1c7b1cbfc80b0af00bec95faf1ebf4201b3d1321ecf14bb165447a575dacfb5"></a><!-- doxytag: member="ePOLYGONS_LIMIT_REACHED" ref="c1c7b1cbfc80b0af00bec95faf1ebf4201b3d1321ecf14bb165447a575dacfb5" args="" -->ePOLYGONS_LIMIT_REACHED</em>&nbsp;</td><td>
Convex mesh cooking succeeded, but the algorithm has reached the 255 polygons limit. The produced hull does not contain all input vertices. Try to simplify the input vertices or try to use the eINFLATE_CONVEX or the eQUANTIZE_INPUT flags. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxConvexFlag.html#4b7bd21fa96c72b320a39e880208b4b6136d6a29364af41ef1af645f698d54d1" title="Inflates the convex points according to skin width.">PxConvexFlag::eINFLATE_CONVEX</a> <a class="el" href="structPxConvexFlag.html#4b7bd21fa96c72b320a39e880208b4b6e10437ca01f341cb3afff0bd2c40529d" title="Quantizes the input vertices using the k-means clustering.">PxConvexFlag::eQUANTIZE_INPUT</a> </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="c1c7b1cbfc80b0af00bec95faf1ebf42286d9d3815141af3d638cda466ee4396"></a><!-- doxytag: member="eFAILURE" ref="c1c7b1cbfc80b0af00bec95faf1ebf42286d9d3815141af3d638cda466ee4396" args="" -->eFAILURE</em>&nbsp;</td><td>
Something unrecoverable happened. Check the error stream to find out what. </td></tr>
</table>
</dl>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxCooking_8h-source.html">PxCooking.h</a></ul>
</div>

<hr style="width: 100%; height: 2px;"><br>
Copyright &copy; 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>