Panda3D
panda
src
physx
physxSoftBodyMesh.h
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file physxSoftBodyMesh.h
10
* @author enn0x
11
* @date 2010-09-12
12
*/
13
14
#ifndef PHYSXSOFTBODYMESH_H
15
#define PHYSXSOFTBODYMESH_H
16
17
#include "
pandabase.h
"
18
19
#include "
physxObject.h
"
20
#include "
physx_includes.h
"
21
22
/**
23
*
24
*/
25
class
EXPCL_PANDAPHYSX
PhysxSoftBodyMesh
:
public
PhysxObject
{
26
27
PUBLISHED:
28
unsigned
int
get_reference_count()
const
;
29
30
PUBLISHED:
31
void
release();
32
33
INLINE
void
ls()
const
;
34
INLINE
void
ls(std::ostream &out,
int
indent_level=0)
const
;
35
36
public
:
37
INLINE
PhysxSoftBodyMesh
();
38
INLINE ~
PhysxSoftBodyMesh
();
39
40
INLINE NxSoftBodyMesh *ptr()
const
{
return
_ptr; };
41
42
void
link(NxSoftBodyMesh *meshPtr);
43
void
unlink();
44
45
private
:
46
NxSoftBodyMesh *_ptr;
47
48
public
:
49
static
TypeHandle
get_class_type() {
50
return
_type_handle;
51
}
52
static
void
init_type() {
53
PhysxObject::init_type();
54
register_type
(_type_handle,
"PhysxSoftBodyMesh"
,
55
PhysxObject::get_class_type());
56
}
57
virtual
TypeHandle
get_type()
const
{
58
return
get_class_type();
59
}
60
virtual
TypeHandle
force_init_type() {
61
init_type();
62
return
get_class_type();
63
}
64
65
private
:
66
static
TypeHandle
_type_handle;
67
};
68
69
#include "
physxSoftBodyMesh.I
"
70
71
#endif // PHYSXSOFTBODYMESH_H
physx_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
register_type
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
Definition:
register_type.I:22
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxSoftBodyMesh.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PhysxObject
Definition:
physxObject.h:28
PhysxSoftBodyMesh
Definition:
physxSoftBodyMesh.h:25
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
physxObject.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Wed Jan 23 2019 21:40:14 for Panda3D by
1.8.15