AnimatLab
2
Test
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
RbJoint.h
1
// RbJoint.h: interface for the RbJoint class.
2
//
4
5
#pragma once
6
7
namespace
RoboticsAnimatSim
8
{
9
namespace
Environment
10
{
11
class
RbRigidBody;
12
27
class
ROBOTICS_PORT
RbJoint
:
public
RbBody
28
{
29
protected
:
30
RbSimulator
*m_lpRbSim;
31
float
m_fltPrevBtJointPos;
32
float
m_fltPrevJointPos;
33
34
Joint *m_lpThisJoint;
35
RbRigidBody
*m_lpRbParent;
36
RbRigidBody
*m_lpRbChild;
37
38
virtual
void
SetThisPointers();
39
virtual
RbSimulator
*GetRbSimulator();
40
41
public
:
42
RbJoint
();
43
virtual
~
RbJoint
();
44
45
virtual
RbRigidBody
*GetRbParent() {
return
m_lpRbParent;};
46
virtual
RbRigidBody
*GetRbChild() {
return
m_lpRbChild;};
47
48
virtual
bool
Physics_IsDefined() {
return
true
;};
49
virtual
bool
Physics_IsGeometryDefined() {
return
true
;};
50
virtual
void
Physics_EnableCollision(
AnimatSim::Environment::RigidBody
*lpBody) {};
51
virtual
void
Physics_DisableCollision(
AnimatSim::Environment::RigidBody
*lpBody) {};
52
virtual
void
Physics_AddBodyForceAtLocalPos(
float
fltPx,
float
fltPy,
float
fltPz,
float
fltFx,
float
fltFy,
float
fltFz,
bool
bScaleUnits) {};
53
virtual
void
Physics_AddBodyForceAtWorldPos(
float
fltPx,
float
fltPy,
float
fltPz,
float
fltFx,
float
fltFy,
float
fltFz,
bool
bScaleUnits) {};
54
virtual
void
Physics_AddBodyTorque(
float
fltTx,
float
fltTy,
float
fltTz,
bool
bScaleUnits) {};
55
virtual
CStdFPoint Physics_GetVelocityAtPoint(
float
x,
float
y,
float
z) {CStdFPoint vVel;
return
vVel;};
56
57
virtual
void
Physics_ResetSimulation();
58
virtual
void
Physics_CollectData();
59
virtual
void
SetConstraintFriction() {};
60
};
61
62
}
// Environment
63
}
//RoboticsAnimatSim
RoboticsAnimatSim::Environment::RbRigidBody
A common class for all rigid body data specific to vortex.
Definition:
RbRigidBody.h:52
RoboticsAnimatSim::Environment::RbJoint
A common class for all joint data specific to vortex.
Definition:
RbJoint.h:27
RoboticsAnimatSim::Environment::RbBody
Vortex base body class.
Definition:
RbBody.h:18
RoboticsAnimatSim::RbSimulator
Definition:
RbSimulator.h:14
RoboticsAnimatSim
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
Definition:
RbAnimatSerial.cpp:29
AnimatSim::Environment::RigidBody
The base class for all of the basic rigid body type of objects.
Definition:
RigidBody.h:66
Libraries
RoboticsAnimatSim
RbJoint.h
Generated on Tue Sep 29 2015 07:07:19 for AnimatLab by
1.8.10