AnimatLab
2
Test
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
OsgMouth.h
1
7
#pragma once
8
9
namespace
OsgAnimatSim
10
{
11
namespace
Environment
12
{
13
namespace
Bodies
14
{
15
16
class
ANIMAT_OSG_PORT
OsgMouth
:
public
AnimatSim::Environment::Bodies::Mouth
,
public
OsgRigidBody
17
{
18
protected
:
19
bool
m_bPhsyicsDefined;
20
21
virtual
void
CreateGraphicsGeometry();
22
virtual
void
CreatePhysicsGeometry();
23
virtual
void
ResizePhysicsGeometry();
24
25
virtual
void
ProcessContacts() {};
26
virtual
void
DeletePhysics(
bool
bIncludeChildren) {};
27
virtual
void
CreateSensorPart() {};
28
virtual
void
CreateDynamicPart() {};
29
virtual
void
GetBaseValues() {};
30
31
public
:
32
OsgMouth
();
33
virtual
~
OsgMouth
();
34
35
virtual
bool
AddOsgNodeToParent() {
return
true
;};
36
virtual
bool
Physics_IsGeometryDefined() {
return
false
;};
37
virtual
void
Physics_EnableCollision(RigidBody *lpBody) {};
38
virtual
void
Physics_DisableCollision(RigidBody *lpBody) {};
39
virtual
void
Physics_AddBodyForceAtLocalPos(
float
fltPx,
float
fltPy,
float
fltPz,
float
fltFx,
float
fltFy,
float
fltFz,
bool
bScaleUnits) {};
40
virtual
void
Physics_AddBodyForceAtWorldPos(
float
fltPx,
float
fltPy,
float
fltPz,
float
fltFx,
float
fltFy,
float
fltFz,
bool
bScaleUnits) {};
41
virtual
void
Physics_AddBodyTorque(
float
fltTx,
float
fltTy,
float
fltTz,
bool
bScaleUnits) {};
42
virtual
CStdFPoint Physics_GetVelocityAtPoint(
float
x,
float
y,
float
z) {CStdFPoint vVel;
return
vVel;};
43
virtual
bool
Physics_IsDefined() {
return
m_bPhsyicsDefined;};
44
45
virtual
void
CreateParts();
46
};
47
48
}
//Bodies
49
}
// Environment
50
}
//VortexAnimatSim
OsgAnimatSim::Environment::OsgRigidBody
A common class for all rigid body data specific to vortex.
Definition:
OsgRigidBody.h:50
OsgAnimatSim
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
Definition:
OsgAttachment.cpp:23
AnimatSim::Environment::Bodies::Mouth
The Mouth part type.
Definition:
Mouth.h:25
OsgAnimatSim::Environment::Bodies::OsgMouth
Definition:
OsgMouth.h:16
Libraries
OsgAnimatSim
OsgMouth.h
Generated on Tue Sep 29 2015 07:07:17 for AnimatLab by
1.8.10