Panda3D
panda
src
ode
odeContactJoint.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 odeContactJoint.h
10
* @author joswilso
11
* @date 2006-12-27
12
*/
13
14
15
#ifndef ODECONTACTJOINT_H
16
#define ODECONTACTJOINT_H
17
18
#include "
pandabase.h
"
19
#include "
typedObject.h
"
20
#include "
luse.h
"
21
22
#include "
ode_includes.h
"
23
24
#include "
odeJoint.h
"
25
#include "
odeContact.h
"
26
27
/**
28
*
29
*/
30
class
EXPCL_PANDAODE
OdeContactJoint
:
public
OdeJoint
{
31
friend
class
OdeJoint
;
32
33
public
:
34
OdeContactJoint
(dJointID
id
);
35
36
PUBLISHED:
37
OdeContactJoint
(
OdeWorld
&world,
const
OdeContact
&contact);
38
OdeContactJoint
(
OdeWorld
&world,
OdeJointGroup
&joint_group,
const
OdeContact
&contact);
39
virtual
~
OdeContactJoint
();
40
41
public
:
42
static
TypeHandle
get_class_type() {
43
return
_type_handle;
44
}
45
static
void
init_type() {
46
OdeJoint::init_type();
47
register_type
(_type_handle,
"OdeContactJoint"
,
48
OdeJoint::get_class_type());
49
}
50
virtual
TypeHandle
get_type()
const
{
51
return
get_class_type();
52
}
53
virtual
TypeHandle
force_init_type() {init_type();
return
get_class_type();}
54
55
private
:
56
static
TypeHandle
_type_handle;
57
};
58
59
#include "
odeContactJoint.I
"
60
61
#endif
OdeContactJoint
Definition:
odeContactJoint.h:30
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
OdeJointGroup
Definition:
odeJointGroup.h:26
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
OdeJoint
Definition:
odeJoint.h:51
OdeContact
Definition:
odeContact.h:29
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
typedObject.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
luse.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
odeContactJoint.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ode_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
odeJoint.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
odeContact.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
OdeWorld
Definition:
odeWorld.h:33
Generated on Mon Sep 14 2020 15:06:58 for Panda3D by
1.8.20