Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
physx
physxKitchen.h
1
// Filename: physxKitchen.h
2
// Created by: enn0x (12Oct09)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#ifndef PHYSXKITCHEN_H
16
#define PHYSXKITCHEN_H
17
18
#include "pandabase.h"
19
#include "filename.h"
20
21
#include "physx_includes.h"
22
23
class
PhysxConvexMesh
;
24
class
PhysxConvexMeshDesc
;
25
class
PhysxTriangleMesh
;
26
class
PhysxTriangleMeshDesc
;
27
class
PhysxClothMesh
;
28
class
PhysxClothMeshDesc
;
29
class
PhysxSoftBodyMesh
;
30
class
PhysxSoftBodyMeshDesc
;
31
32
////////////////////////////////////////////////////////////////////
33
// Class : PhysxKitchen
34
// Description :
35
////////////////////////////////////////////////////////////////////
36
class
EXPCL_PANDAPHYSX
PhysxKitchen
{
37
38
PUBLISHED:
39
INLINE
PhysxKitchen
();
40
INLINE ~PhysxKitchen();
41
42
void
set_cooking_params(
float
skinWidth,
bool
hintCollisionSpeed);
43
44
bool
cook_convex_mesh(
const
PhysxConvexMeshDesc
&meshDesc,
const
Filename
&filename);
45
bool
cook_triangle_mesh(
const
PhysxTriangleMeshDesc
&meshDesc,
const
Filename
&filename);
46
bool
cook_cloth_mesh(
const
PhysxClothMeshDesc
&meshDesc,
const
Filename
&filename);
47
bool
cook_soft_body_mesh(
const
PhysxSoftBodyMeshDesc
&meshDesc,
const
Filename
&filename);
48
bool
cook_texcoords(
const
PhysxClothMeshDesc
&meshDesc,
const
Filename
&filename);
49
50
PhysxConvexMesh
*cook_convex_mesh(
const
PhysxConvexMeshDesc
&meshDesc);
51
PhysxTriangleMesh
*cook_triangle_mesh(
const
PhysxTriangleMeshDesc
&meshDesc);
52
PhysxClothMesh
*cook_cloth_mesh(
const
PhysxClothMeshDesc
&meshDesc);
53
PhysxSoftBodyMesh
*cook_soft_body_mesh(
const
PhysxSoftBodyMeshDesc
&meshDesc);
54
55
private
:
56
NxCookingInterface *_cooking;
57
};
58
59
#include "physxKitchen.I"
60
61
#endif // PHYSXKITCHEN_H
PhysxKitchen
Definition:
physxKitchen.h:36
PhysxClothMesh
Definition:
physxClothMesh.h:27
PhysxTriangleMesh
Definition:
physxTriangleMesh.h:27
Filename
The name of a file, such as a texture file or an Egg file.
Definition:
filename.h:44
PhysxConvexMesh
A Convex Mesh.
Definition:
physxConvexMesh.h:29
PhysxConvexMeshDesc
Definition:
physxConvexMeshDesc.h:28
PhysxClothMeshDesc
Definition:
physxClothMeshDesc.h:29
PhysxSoftBodyMesh
Definition:
physxSoftBodyMesh.h:27
PhysxSoftBodyMeshDesc
Definition:
physxSoftBodyMeshDesc.h:27
PhysxTriangleMeshDesc
Definition:
physxTriangleMeshDesc.h:28
Generated on Mon Feb 1 2016 13:44:36 for Panda3D by
1.8.5