Panda3D
panda
src
ode
odeContactJoint.h
1
#ifndef ODECONTACTJOINT_H
2
#define ODECONTACTJOINT_H
3
4
#include "pandabase.h"
5
#include "typedObject.h"
6
#include "luse.h"
7
8
#include "ode_includes.h"
9
10
#include "odeJoint.h"
11
#include "odeContact.h"
12
13
////////////////////////////////////////////////////////////////////
14
// Class : OdeContactJoint
15
// Description :
16
////////////////////////////////////////////////////////////////////
17
class
EXPCL_PANDAODE
OdeContactJoint
:
public
OdeJoint
{
18
friend
class
OdeJoint
;
19
20
public
:
21
OdeContactJoint
(dJointID
id
);
22
23
PUBLISHED:
24
OdeContactJoint
(
OdeWorld
&world,
const
OdeContact
&contact);
25
OdeContactJoint
(
OdeWorld
&world,
OdeJointGroup
&joint_group,
const
OdeContact
&contact);
26
virtual
~
OdeContactJoint
();
27
28
public
:
29
static
TypeHandle
get_class_type() {
30
return
_type_handle;
31
}
32
static
void
init_type() {
33
OdeJoint::init_type();
34
register_type(_type_handle,
"OdeContactJoint"
,
35
OdeJoint::get_class_type());
36
}
37
virtual
TypeHandle
get_type()
const
{
38
return
get_class_type();
39
}
40
virtual
TypeHandle
force_init_type() {init_type();
return
get_class_type();}
41
42
private
:
43
static
TypeHandle
_type_handle;
44
};
45
46
#include "odeContactJoint.I"
47
48
#endif
OdeJointGroup
Definition:
odeJointGroup.h:28
OdeWorld
Definition:
odeWorld.h:35
OdeJoint
Definition:
odeJoint.h:53
OdeContact
Definition:
odeContact.h:31
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:85
OdeContactJoint
Definition:
odeContactJoint.h:17
Generated on Wed May 17 2017 23:43:52 for Panda3D by
1.8.13