diff options
| author | sschirm <[email protected]> | 2017-02-27 16:40:12 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2017-03-01 18:04:26 +0100 |
| commit | 7840347c32755e94a807f978f1cbb558717ac8cf (patch) | |
| tree | 295cd3ca93a45f8fcc43cf3cbf3887c0e0c5526b /PhysX_3.4/Documentation/PhysXAPI/files/PxCooking_8h-source.html | |
| parent | Pre-release comments marking end of beta. (diff) | |
| download | physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.tar.xz physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.zip | |
PhysX 3.4, APEX 1.4 final release @21757769v3.4.0-rc-2
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/PxCooking_8h-source.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/PxCooking_8h-source.html | 185 |
1 files changed, 94 insertions, 91 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxCooking_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxCooking_8h-source.html index a06106df..bac7378f 100644 --- a/PhysX_3.4/Documentation/PhysXAPI/files/PxCooking_8h-source.html +++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxCooking_8h-source.html @@ -154,97 +154,100 @@ <a name="l00249"></a>00249 <a name="l00262"></a><a class="code" href="structPxCookingParams.html#ec2fbb426b8c0bb2daee1e31b8e2adc2">00262</a> <span class="keywordtype">float</span> areaTestEpsilon; <a name="l00263"></a>00263 -<a name="l00271"></a><a class="code" href="structPxCookingParams.html#fbc71c4ade3b80715855125413d58f97">00271</a> <a class="code" href="structPxConvexMeshCookingType.html#5a2ae723aca74c185675cd7ba2c9c115">PxConvexMeshCookingType::Enum</a> convexMeshCookingType; -<a name="l00272"></a>00272 -<a name="l00280"></a><a class="code" href="structPxCookingParams.html#50426ff06726ccab3f5e0503077778a6">00280</a> <span class="keywordtype">bool</span> suppressTriangleMeshRemapTable; -<a name="l00281"></a>00281 -<a name="l00288"></a><a class="code" href="structPxCookingParams.html#aeff18c0f923a7c886bc29bea730c966">00288</a> <span class="keywordtype">bool</span> buildTriangleAdjacencies; -<a name="l00289"></a>00289 -<a name="l00295"></a><a class="code" href="structPxCookingParams.html#d9c00d38bdcca1c324bba906706d1c63">00295</a> <span class="keywordtype">bool</span> buildGPUData; -<a name="l00296"></a>00296 -<a name="l00304"></a><a class="code" href="structPxCookingParams.html#6a51be76bb79ac1dd9a2788f54569c60">00304</a> <a class="code" href="classPxTolerancesScale.html" title="Class to define the scale at which simulation runs. Most simulation tolerances are...">PxTolerancesScale</a> scale; -<a name="l00305"></a>00305 -<a name="l00311"></a><a class="code" href="structPxCookingParams.html#6561b14b68f097c135fe6d83f68908ce">00311</a> <a class="code" href="classPxFlags.html">PxMeshPreprocessingFlags</a> meshPreprocessParams; -<a name="l00312"></a>00312 -<a name="l00322"></a><a class="code" href="structPxCookingParams.html#3cd5e4ba954507ba48882fcd806f66e3">00322</a> <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="structPxMeshCookingHint.html#f88f4aeeaffd545c26bc9b5215303796">PxMeshCookingHint::Enum</a> meshCookingHint; -<a name="l00323"></a>00323 -<a name="l00337"></a><a class="code" href="structPxCookingParams.html#72e8ee721f648af02c40db8162bb07e8">00337</a> <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> meshSizePerformanceTradeOff; -<a name="l00338"></a>00338 -<a name="l00354"></a><a class="code" href="structPxCookingParams.html#19bb7e28765df5c8ec1a86a45004c7b6">00354</a> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> meshWeldTolerance; -<a name="l00355"></a>00355 -<a name="l00366"></a><a class="code" href="structPxCookingParams.html#8015768aa6024f1283cab006abdb63b5">00366</a> <a class="code" href="classPxMidphaseDesc.html" title="Structure describing parameters affecting midphase mesh structure.">PxMidphaseDesc</a> midphaseDesc; -<a name="l00367"></a>00367 -<a name="l00375"></a><a class="code" href="structPxCookingParams.html#6be147977f9bd24a55dc3cd16ed390bc">00375</a> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> gaussMapLimit; -<a name="l00376"></a>00376 -<a name="l00377"></a><a class="code" href="structPxCookingParams.html#738bc9799f789da5c453cadae5eaec47">00377</a> <a class="code" href="structPxCookingParams.html" title="Structure describing parameters affecting mesh cooking.">PxCookingParams</a>(<span class="keyword">const</span> <a class="code" href="classPxTolerancesScale.html" title="Class to define the scale at which simulation runs. Most simulation tolerances are...">PxTolerancesScale</a>& sc): -<a name="l00378"></a>00378 skinWidth (0.025f*sc.length), -<a name="l00379"></a>00379 areaTestEpsilon (0.06f*sc.length*sc.length), -<a name="l00380"></a>00380 convexMeshCookingType (<a class="code" href="structPxConvexMeshCookingType.html" title="Enumeration for convex mesh cooking algorithms.">PxConvexMeshCookingType</a>::eQUICKHULL), -<a name="l00381"></a>00381 suppressTriangleMeshRemapTable (false), -<a name="l00382"></a>00382 buildTriangleAdjacencies (false), -<a name="l00383"></a>00383 buildGPUData (false), -<a name="l00384"></a>00384 scale (sc), -<a name="l00385"></a>00385 meshPreprocessParams (0), -<a name="l00386"></a>00386 meshCookingHint (<a class="code" href="structPxMeshCookingHint.html" title="Enumeration for mesh cooking hints.">PxMeshCookingHint</a>::eSIM_PERFORMANCE), -<a name="l00387"></a>00387 meshSizePerformanceTradeOff (0.55f), -<a name="l00388"></a>00388 meshWeldTolerance (0.f) -<a name="l00389"></a>00389 { -<a name="l00390"></a>00390 <span class="preprocessor">#if PX_INTEL_FAMILY</span> -<a name="l00391"></a>00391 <span class="preprocessor"></span> targetPlatform = <a class="code" href="structPxPlatform.html#c4cfddf519b366f9ee60bdd78a9580153ef87c2eb16bf5b054d54a781d9e3e4f">PxPlatform::ePC</a>; -<a name="l00392"></a>00392 <span class="preprocessor">#elif PX_ARM_FAMILY</span> -<a name="l00393"></a>00393 <span class="preprocessor"></span> targetPlatform = <a class="code" href="structPxPlatform.html#c4cfddf519b366f9ee60bdd78a9580152d3f5b2a3b5750350be01275f97800f6">PxPlatform::eARM</a>; -<a name="l00394"></a>00394 <span class="preprocessor">#else</span> -<a name="l00395"></a>00395 <span class="preprocessor"></span><span class="preprocessor">#error Unknown platform</span> -<a name="l00396"></a>00396 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -<a name="l00397"></a>00397 <span class="preprocessor"></span> gaussMapLimit = <a class="code" href="group__cooking.html#g5f723ff70630e2af8c5e9fa603111d95">PxGetGaussMapVertexLimitForPlatform</a>(targetPlatform); -<a name="l00398"></a>00398 } -<a name="l00399"></a>00399 }; -<a name="l00400"></a>00400 -<a name="l00401"></a><a class="code" href="classPxCooking.html">00401</a> <span class="keyword">class </span><a class="code" href="classPxCooking.html">PxCooking</a> -<a name="l00402"></a>00402 { -<a name="l00403"></a>00403 <span class="keyword">public</span>: -<a name="l00412"></a>00412 <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0; -<a name="l00413"></a>00413 -<a name="l00421"></a>00421 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setParams(<span class="keyword">const</span> <a class="code" href="structPxCookingParams.html" title="Structure describing parameters affecting mesh cooking.">PxCookingParams</a>& params) = 0; -<a name="l00422"></a>00422 -<a name="l00430"></a>00430 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="structPxCookingParams.html" title="Structure describing parameters affecting mesh cooking.">PxCookingParams</a>& getParams() = 0; -<a name="l00431"></a>00431 -<a name="l00437"></a>00437 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> platformMismatch() = 0; -<a name="l00438"></a>00438 -<a name="l00459"></a>00459 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> cookTriangleMesh(<span class="keyword">const</span> <a class="code" href="classPxTriangleMeshDesc.html" title="Descriptor class for PxTriangleMesh.">PxTriangleMeshDesc</a>& desc, <a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>& stream, <a class="code" href="structPxTriangleMeshCookingResult.html#be8e2312c47cc522a546c34ea337fb64">PxTriangleMeshCookingResult::Enum</a>* condition = NULL) = 0; -<a name="l00460"></a>00460 -<a name="l00472"></a>00472 <span class="keyword">virtual</span> <a class="code" href="classPxTriangleMesh.html" title="A triangle mesh, also called a &#39;polygon soup&#39;.">PxTriangleMesh</a>* createTriangleMesh(<span class="keyword">const</span> <a class="code" href="classPxTriangleMeshDesc.html" title="Descriptor class for PxTriangleMesh.">PxTriangleMeshDesc</a>& desc, <a class="code" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a>& insertionCallback) = 0; -<a name="l00473"></a>00473 -<a name="l00487"></a>00487 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> validateTriangleMesh(<span class="keyword">const</span> <a class="code" href="classPxTriangleMeshDesc.html" title="Descriptor class for PxTriangleMesh.">PxTriangleMeshDesc</a>& desc) = 0; -<a name="l00488"></a>00488 -<a name="l00512"></a>00512 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> cookConvexMesh(<span class="keyword">const</span> <a class="code" href="classPxConvexMeshDesc.html" title="Descriptor class for PxConvexMesh.">PxConvexMeshDesc</a>& desc, <a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>& stream, <a class="code" href="structPxConvexMeshCookingResult.html#c1c7b1cbfc80b0af00bec95faf1ebf42">PxConvexMeshCookingResult::Enum</a>* condition = NULL) = 0; -<a name="l00513"></a>00513 -<a name="l00528"></a>00528 <span class="keyword">virtual</span> <a class="code" href="classPxConvexMesh.html" title="A convex mesh.">PxConvexMesh</a>* createConvexMesh(<span class="keyword">const</span> <a class="code" href="classPxConvexMeshDesc.html" title="Descriptor class for PxConvexMesh.">PxConvexMeshDesc</a>& desc, <a class="code" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a>& insertionCallback) = 0; -<a name="l00529"></a>00529 -<a name="l00543"></a>00543 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> validateConvexMesh(<span class="keyword">const</span> <a class="code" href="classPxConvexMeshDesc.html" title="Descriptor class for PxConvexMesh.">PxConvexMeshDesc</a>& desc) = 0; -<a name="l00544"></a>00544 -<a name="l00545"></a>00545 -<a name="l00567"></a>00567 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> computeHullPolygons(<span class="keyword">const</span> <a class="code" href="classPxSimpleTriangleMesh.html" title="A structure describing a triangle mesh.">PxSimpleTriangleMesh</a>& mesh, <a class="code" href="classPxAllocatorCallback.html" title="Abstract base class for an application defined memory allocator that can be used...">PxAllocatorCallback</a>& inCallback, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>& nbVerts, <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>*& vertices, -<a name="l00568"></a>00568 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>& nbIndices, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>*& indices, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>& nbPolygons, <a class="code" href="structPxHullPolygon.html" title="Polygon data.">PxHullPolygon</a>*& hullPolygons) = 0; -<a name="l00569"></a>00569 -<a name="l00584"></a>00584 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> cookHeightField(<span class="keyword">const</span> <a class="code" href="classPxHeightFieldDesc.html" title="Descriptor class for PxHeightField.">PxHeightFieldDesc</a>& desc, <a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>& stream) = 0; -<a name="l00585"></a>00585 -<a name="l00595"></a>00595 <span class="keyword">virtual</span> <a class="code" href="classPxHeightField.html" title="A height field class.">PxHeightField</a>* createHeightField(<span class="keyword">const</span> <a class="code" href="classPxHeightFieldDesc.html" title="Descriptor class for PxHeightField.">PxHeightFieldDesc</a>& desc, <a class="code" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a>& insertionCallback) = 0; -<a name="l00596"></a>00596 -<a name="l00597"></a>00597 -<a name="l00598"></a>00598 <span class="keyword">protected</span>: -<a name="l00599"></a><a class="code" href="classPxCooking.html#22a1e6a4a68af0bb0f6568bb59108938">00599</a> <span class="keyword">virtual</span> <a class="code" href="classPxCooking.html#22a1e6a4a68af0bb0f6568bb59108938">~PxCooking</a>(){} -<a name="l00600"></a>00600 }; -<a name="l00601"></a>00601 -<a name="l00602"></a>00602 <span class="preprocessor">#if !PX_DOXYGEN</span> -<a name="l00603"></a>00603 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span> -<a name="l00604"></a>00604 <span class="preprocessor">#endif</span> -<a name="l00605"></a>00605 <span class="preprocessor"></span> -<a name="l00623"></a>00623 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="Pxc_8h.html#eb7009784459c9d9056389c6c10c144d">PX_PHYSX_COOKING_API</a> physx::PxCooking* PX_CALL_CONV <a class="code" href="group__cooking.html#gf772f72cf46b9a2326d4562f7cae620b" title="Create an instance of the cooking interface.">PxCreateCooking</a>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">physx::PxU32</a> version, -<a name="l00624"></a>00624 physx::PxFoundation& foundation, -<a name="l00625"></a>00625 <span class="keyword">const</span> physx::PxCookingParams& params); -<a name="l00626"></a>00626 -<a name="l00628"></a>00628 <span class="preprocessor">#endif</span> +<a name="l00284"></a><a class="code" href="structPxCookingParams.html#45e4d60211cdd58d80a10dad39da64c9">00284</a> <span class="keywordtype">float</span> planeTolerance; +<a name="l00285"></a>00285 +<a name="l00293"></a><a class="code" href="structPxCookingParams.html#fbc71c4ade3b80715855125413d58f97">00293</a> <a class="code" href="structPxConvexMeshCookingType.html#5a2ae723aca74c185675cd7ba2c9c115">PxConvexMeshCookingType::Enum</a> convexMeshCookingType; +<a name="l00294"></a>00294 +<a name="l00302"></a><a class="code" href="structPxCookingParams.html#50426ff06726ccab3f5e0503077778a6">00302</a> <span class="keywordtype">bool</span> suppressTriangleMeshRemapTable; +<a name="l00303"></a>00303 +<a name="l00310"></a><a class="code" href="structPxCookingParams.html#aeff18c0f923a7c886bc29bea730c966">00310</a> <span class="keywordtype">bool</span> buildTriangleAdjacencies; +<a name="l00311"></a>00311 +<a name="l00317"></a><a class="code" href="structPxCookingParams.html#d9c00d38bdcca1c324bba906706d1c63">00317</a> <span class="keywordtype">bool</span> buildGPUData; +<a name="l00318"></a>00318 +<a name="l00326"></a><a class="code" href="structPxCookingParams.html#6a51be76bb79ac1dd9a2788f54569c60">00326</a> <a class="code" href="classPxTolerancesScale.html" title="Class to define the scale at which simulation runs. Most simulation tolerances are...">PxTolerancesScale</a> scale; +<a name="l00327"></a>00327 +<a name="l00333"></a><a class="code" href="structPxCookingParams.html#6561b14b68f097c135fe6d83f68908ce">00333</a> <a class="code" href="classPxFlags.html">PxMeshPreprocessingFlags</a> meshPreprocessParams; +<a name="l00334"></a>00334 +<a name="l00344"></a><a class="code" href="structPxCookingParams.html#3cd5e4ba954507ba48882fcd806f66e3">00344</a> <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="structPxMeshCookingHint.html#f88f4aeeaffd545c26bc9b5215303796">PxMeshCookingHint::Enum</a> meshCookingHint; +<a name="l00345"></a>00345 +<a name="l00359"></a><a class="code" href="structPxCookingParams.html#72e8ee721f648af02c40db8162bb07e8">00359</a> <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> meshSizePerformanceTradeOff; +<a name="l00360"></a>00360 +<a name="l00376"></a><a class="code" href="structPxCookingParams.html#19bb7e28765df5c8ec1a86a45004c7b6">00376</a> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> meshWeldTolerance; +<a name="l00377"></a>00377 +<a name="l00388"></a><a class="code" href="structPxCookingParams.html#8015768aa6024f1283cab006abdb63b5">00388</a> <a class="code" href="classPxMidphaseDesc.html" title="Structure describing parameters affecting midphase mesh structure.">PxMidphaseDesc</a> midphaseDesc; +<a name="l00389"></a>00389 +<a name="l00397"></a><a class="code" href="structPxCookingParams.html#6be147977f9bd24a55dc3cd16ed390bc">00397</a> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> gaussMapLimit; +<a name="l00398"></a>00398 +<a name="l00399"></a><a class="code" href="structPxCookingParams.html#738bc9799f789da5c453cadae5eaec47">00399</a> <a class="code" href="structPxCookingParams.html" title="Structure describing parameters affecting mesh cooking.">PxCookingParams</a>(<span class="keyword">const</span> <a class="code" href="classPxTolerancesScale.html" title="Class to define the scale at which simulation runs. Most simulation tolerances are...">PxTolerancesScale</a>& sc): +<a name="l00400"></a>00400 skinWidth (0.025f*sc.length), +<a name="l00401"></a>00401 areaTestEpsilon (0.06f*sc.length*sc.length), +<a name="l00402"></a>00402 planeTolerance (0.0007f), +<a name="l00403"></a>00403 convexMeshCookingType (<a class="code" href="structPxConvexMeshCookingType.html" title="Enumeration for convex mesh cooking algorithms.">PxConvexMeshCookingType</a>::eQUICKHULL), +<a name="l00404"></a>00404 suppressTriangleMeshRemapTable (false), +<a name="l00405"></a>00405 buildTriangleAdjacencies (false), +<a name="l00406"></a>00406 buildGPUData (false), +<a name="l00407"></a>00407 scale (sc), +<a name="l00408"></a>00408 meshPreprocessParams (0), +<a name="l00409"></a>00409 meshCookingHint (<a class="code" href="structPxMeshCookingHint.html" title="Enumeration for mesh cooking hints.">PxMeshCookingHint</a>::eSIM_PERFORMANCE), +<a name="l00410"></a>00410 meshSizePerformanceTradeOff (0.55f), +<a name="l00411"></a>00411 meshWeldTolerance (0.f) +<a name="l00412"></a>00412 { +<a name="l00413"></a>00413 <span class="preprocessor">#if PX_INTEL_FAMILY</span> +<a name="l00414"></a>00414 <span class="preprocessor"></span> targetPlatform = <a class="code" href="structPxPlatform.html#c4cfddf519b366f9ee60bdd78a9580153ef87c2eb16bf5b054d54a781d9e3e4f">PxPlatform::ePC</a>; +<a name="l00415"></a>00415 <span class="preprocessor">#elif PX_ARM_FAMILY</span> +<a name="l00416"></a>00416 <span class="preprocessor"></span> targetPlatform = <a class="code" href="structPxPlatform.html#c4cfddf519b366f9ee60bdd78a9580152d3f5b2a3b5750350be01275f97800f6">PxPlatform::eARM</a>; +<a name="l00417"></a>00417 <span class="preprocessor">#else</span> +<a name="l00418"></a>00418 <span class="preprocessor"></span><span class="preprocessor">#error Unknown platform</span> +<a name="l00419"></a>00419 <span class="preprocessor"></span><span class="preprocessor">#endif</span> +<a name="l00420"></a>00420 <span class="preprocessor"></span> gaussMapLimit = <a class="code" href="group__cooking.html#g5f723ff70630e2af8c5e9fa603111d95">PxGetGaussMapVertexLimitForPlatform</a>(targetPlatform); +<a name="l00421"></a>00421 } +<a name="l00422"></a>00422 }; +<a name="l00423"></a>00423 +<a name="l00424"></a><a class="code" href="classPxCooking.html">00424</a> <span class="keyword">class </span><a class="code" href="classPxCooking.html">PxCooking</a> +<a name="l00425"></a>00425 { +<a name="l00426"></a>00426 <span class="keyword">public</span>: +<a name="l00435"></a>00435 <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0; +<a name="l00436"></a>00436 +<a name="l00444"></a>00444 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setParams(<span class="keyword">const</span> <a class="code" href="structPxCookingParams.html" title="Structure describing parameters affecting mesh cooking.">PxCookingParams</a>& params) = 0; +<a name="l00445"></a>00445 +<a name="l00453"></a>00453 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="structPxCookingParams.html" title="Structure describing parameters affecting mesh cooking.">PxCookingParams</a>& getParams() = 0; +<a name="l00454"></a>00454 +<a name="l00460"></a>00460 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> platformMismatch() = 0; +<a name="l00461"></a>00461 +<a name="l00482"></a>00482 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> cookTriangleMesh(<span class="keyword">const</span> <a class="code" href="classPxTriangleMeshDesc.html" title="Descriptor class for PxTriangleMesh.">PxTriangleMeshDesc</a>& desc, <a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>& stream, <a class="code" href="structPxTriangleMeshCookingResult.html#be8e2312c47cc522a546c34ea337fb64">PxTriangleMeshCookingResult::Enum</a>* condition = NULL) = 0; +<a name="l00483"></a>00483 +<a name="l00495"></a>00495 <span class="keyword">virtual</span> <a class="code" href="classPxTriangleMesh.html" title="A triangle mesh, also called a &#39;polygon soup&#39;.">PxTriangleMesh</a>* createTriangleMesh(<span class="keyword">const</span> <a class="code" href="classPxTriangleMeshDesc.html" title="Descriptor class for PxTriangleMesh.">PxTriangleMeshDesc</a>& desc, <a class="code" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a>& insertionCallback) = 0; +<a name="l00496"></a>00496 +<a name="l00510"></a>00510 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> validateTriangleMesh(<span class="keyword">const</span> <a class="code" href="classPxTriangleMeshDesc.html" title="Descriptor class for PxTriangleMesh.">PxTriangleMeshDesc</a>& desc) = 0; +<a name="l00511"></a>00511 +<a name="l00535"></a>00535 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> cookConvexMesh(<span class="keyword">const</span> <a class="code" href="classPxConvexMeshDesc.html" title="Descriptor class for PxConvexMesh.">PxConvexMeshDesc</a>& desc, <a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>& stream, <a class="code" href="structPxConvexMeshCookingResult.html#c1c7b1cbfc80b0af00bec95faf1ebf42">PxConvexMeshCookingResult::Enum</a>* condition = NULL) = 0; +<a name="l00536"></a>00536 +<a name="l00551"></a>00551 <span class="keyword">virtual</span> <a class="code" href="classPxConvexMesh.html" title="A convex mesh.">PxConvexMesh</a>* createConvexMesh(<span class="keyword">const</span> <a class="code" href="classPxConvexMeshDesc.html" title="Descriptor class for PxConvexMesh.">PxConvexMeshDesc</a>& desc, <a class="code" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a>& insertionCallback) = 0; +<a name="l00552"></a>00552 +<a name="l00566"></a>00566 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> validateConvexMesh(<span class="keyword">const</span> <a class="code" href="classPxConvexMeshDesc.html" title="Descriptor class for PxConvexMesh.">PxConvexMeshDesc</a>& desc) = 0; +<a name="l00567"></a>00567 +<a name="l00568"></a>00568 +<a name="l00590"></a>00590 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> computeHullPolygons(<span class="keyword">const</span> <a class="code" href="classPxSimpleTriangleMesh.html" title="A structure describing a triangle mesh.">PxSimpleTriangleMesh</a>& mesh, <a class="code" href="classPxAllocatorCallback.html" title="Abstract base class for an application defined memory allocator that can be used...">PxAllocatorCallback</a>& inCallback, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>& nbVerts, <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>*& vertices, +<a name="l00591"></a>00591 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>& nbIndices, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>*& indices, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>& nbPolygons, <a class="code" href="structPxHullPolygon.html" title="Polygon data.">PxHullPolygon</a>*& hullPolygons) = 0; +<a name="l00592"></a>00592 +<a name="l00607"></a>00607 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> cookHeightField(<span class="keyword">const</span> <a class="code" href="classPxHeightFieldDesc.html" title="Descriptor class for PxHeightField.">PxHeightFieldDesc</a>& desc, <a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>& stream) = 0; +<a name="l00608"></a>00608 +<a name="l00618"></a>00618 <span class="keyword">virtual</span> <a class="code" href="classPxHeightField.html" title="A height field class.">PxHeightField</a>* createHeightField(<span class="keyword">const</span> <a class="code" href="classPxHeightFieldDesc.html" title="Descriptor class for PxHeightField.">PxHeightFieldDesc</a>& desc, <a class="code" href="classPxPhysicsInsertionCallback.html" title="Callback interface that permits PxCooking to insert a TriangleMesh, HeightfieldMesh...">PxPhysicsInsertionCallback</a>& insertionCallback) = 0; +<a name="l00619"></a>00619 +<a name="l00620"></a>00620 +<a name="l00621"></a>00621 <span class="keyword">protected</span>: +<a name="l00622"></a><a class="code" href="classPxCooking.html#22a1e6a4a68af0bb0f6568bb59108938">00622</a> <span class="keyword">virtual</span> <a class="code" href="classPxCooking.html#22a1e6a4a68af0bb0f6568bb59108938">~PxCooking</a>(){} +<a name="l00623"></a>00623 }; +<a name="l00624"></a>00624 +<a name="l00625"></a>00625 <span class="preprocessor">#if !PX_DOXYGEN</span> +<a name="l00626"></a>00626 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span> +<a name="l00627"></a>00627 <span class="preprocessor">#endif</span> +<a name="l00628"></a>00628 <span class="preprocessor"></span> +<a name="l00646"></a>00646 <a class="code" href="Pxc_8h.html#ea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> <a class="code" href="Pxc_8h.html#eb7009784459c9d9056389c6c10c144d">PX_PHYSX_COOKING_API</a> physx::PxCooking* PX_CALL_CONV <a class="code" href="group__cooking.html#gf772f72cf46b9a2326d4562f7cae620b" title="Create an instance of the cooking interface.">PxCreateCooking</a>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">physx::PxU32</a> version, +<a name="l00647"></a>00647 physx::PxFoundation& foundation, +<a name="l00648"></a>00648 <span class="keyword">const</span> physx::PxCookingParams& params); +<a name="l00649"></a>00649 +<a name="l00651"></a>00651 <span class="preprocessor">#endif</span> </pre></div></div> <hr style="width: 100%; height: 2px;"><br> |