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