AnimatLab
2
Test
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
Libraries/BulletAnimatSim/StdAfx.h
1
// stdafx.h : include file for standard system include files,
2
// or project specific include files that are used frequently, but
3
// are changed infrequently
4
//
5
6
#pragma once
7
8
#ifdef WIN32
9
#define _SCL_SECURE_NO_WARNINGS
10
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
11
// Windows Header Files:
12
#include <windows.h>
13
14
#define BULLET_PORT __declspec( dllexport )
15
#else
16
#define BULLET_PORT
17
#endif
18
19
//#define STD_TRACING_ON
20
21
#include "StdUtils.h"
22
#include "AnimatSim.h"
23
24
#include "OsgAnimatSim.h"
25
#include "BulletAnimatSimConstants.h"
26
27
#include <osgbDynamics/MotionState.h>
28
#include <osgbDynamics/CreationRecord.h>
29
#include <osgbDynamics/RigidBody.h>
30
#include <osgbCollision/CollisionShapes.h>
31
#include <osgbCollision/RefBulletObject.h>
32
#include <osgbCollision/CollectVerticesVisitor.h>
33
#include <osgbDynamics/GroundPlane.h>
34
#include <osgbCollision/GLDebugDrawer.h>
35
#include <osgbCollision/Utils.h>
36
#include <osgbInteraction/DragHandler.h>
37
#include <osgbInteraction/LaunchHandler.h>
38
#include <osgbInteraction/SaveRestoreHandler.h>
39
40
#include <osgwTools/InsertRemove.h>
41
#include <osgwTools/FindNamedNode.h>
42
#include <osgwTools/GeometryOperation.h>
43
#include <osgwTools/GeometryModifier.h>
44
#include <osgwTools/Shapes.h>
45
46
#include <btBulletDynamicsCommon.h>
47
#include "BulletCollision/CollisionShapes/btShapeHull.h"
48
#include "BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h"
49
#include "BulletDynamics/MLCPSolvers/btDantzigSolver.h"
50
#include "BulletDynamics/MLCPSolvers/btMLCPSolver.h"
51
#include "LinearMath/btGeometryUtil.h"
52
53
//Simulation Objects
54
namespace
BulletAnimatSim
55
{
56
class
BlClassFactory
;
57
class
BlSimulator
;
58
59
namespace
Environment
60
{
61
class
BlJoint
;
62
class
BlMotorizedJoint
;
63
class
BlMaterialType
;
64
class
BlConstraintRelaxation
;
65
class
BlConstraintFriction
;
66
class
BlRigidBody
;
67
68
namespace
Bodies
69
{
70
class
BlBox
;
71
class
BlCone
;
72
class
BlCylinder
;
73
class
BlLinearHillMuscle
;
74
class
BlLinearHillStretchReceptor
;
75
class
BlPlane
;
76
class
BlSphere
;
77
class
BlSpring
;
78
}
79
80
namespace
Joints
81
{
82
class
BlBallSocket
;
83
class
BlHinge
;
84
class
BlHingeLimit
;
85
class
BlPrismatic
;
86
class
BlPrismaticLimit
;
87
}
88
}
89
90
//namespace Recording
91
//{
92
// namespace KeyFrames
93
// {
94
// class VsSnapshotKeyFrame;
95
// class VsVideoKeyFrame;
96
// }
97
98
// class VsSimulationRecorder;
99
//}
100
101
namespace
Visualization
102
{
103
class
BlIntersectionEvent;
104
}
105
}
106
107
using namespace
BulletAnimatSim
;
108
using namespace
BulletAnimatSim::Environment
;
109
using namespace
BulletAnimatSim::Environment::Bodies
;
110
using namespace
BulletAnimatSim::Environment::Joints
;
111
using namespace
BulletAnimatSim::Visualization
;
BulletAnimatSim::Environment::Bodies::BlBox
Definition:
BlBox.h:18
BulletAnimatSim::Environment::BlMaterialType
Definition:
BlMaterialType.h:11
BulletAnimatSim::Environment::BlJoint
A common class for all joint data specific to vortex.
Definition:
BlJoint.h:29
BulletAnimatSim::Environment::Joints::BlBallSocket
Vortex ball-and-socket joint class.
Definition:
BlBallSocket.h:29
BulletAnimatSim::Environment::BlRigidBody
A common class for all rigid body data specific to vortex.
Definition:
BlRigidBody.h:87
BulletAnimatSim::Environment::BlConstraintRelaxation
Definition:
BlConstraintRelaxation.h:13
BulletAnimatSim::Environment::BlMotorizedJoint
Definition:
BlMotorizedJoint.h:9
BulletAnimatSim::Environment::Bodies::BlSphere
Definition:
BlSphere.h:13
BulletAnimatSim::Environment::Joints::BlPrismaticLimit
Definition:
BlPrismaticLimit.h:11
BulletAnimatSim
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
Definition:
BlAnimatCollisionDispatcher.cpp:10
BulletAnimatSim::Environment::Bodies::BlCone
Definition:
BlCone.h:15
BulletAnimatSim::Environment::Joints::BlHingeLimit
Definition:
BlHingeLimit.h:11
BulletAnimatSim::Environment::Bodies::BlPlane
Definition:
BlPlane.h:16
BulletAnimatSim::Environment::Joints
Implements an override of the btGeneric6DofConstraint so I can access key data..
Definition:
BlBallSocket.cpp:18
BulletAnimatSim::BlSimulator
Definition:
BlSimulator.h:15
BulletAnimatSim::Environment::Joints::BlHinge
Vortex hinge joint class.
Definition:
BlHinge.h:32
BulletAnimatSim::Environment::Bodies::BlSpring
Definition:
BlSpring.h:13
BulletAnimatSim::Environment::Bodies::BlLinearHillStretchReceptor
Definition:
BlLinearHillStretchReceptor.h:13
BulletAnimatSim::Environment
Definition:
BlBallSocket.cpp:16
BulletAnimatSim::Visualization
Definition:
Libraries/BulletAnimatSim/StdAfx.h:101
BulletAnimatSim::Environment::BlConstraintFriction
Definition:
BlConstraintFriction.h:11
BulletAnimatSim::BlClassFactory
Definition:
BlClassFactory.h:11
BulletAnimatSim::Environment::Bodies
Body part classes that use the vortex physics engine.
Definition:
BlBox.cpp:16
BulletAnimatSim::Environment::Joints::BlPrismatic
Definition:
BlPrismatic.h:18
BulletAnimatSim::Environment::Bodies::BlLinearHillMuscle
Definition:
BlLinearHillMuscle.h:14
BulletAnimatSim::Environment::Bodies::BlCylinder
Definition:
BlCylinder.h:14
Libraries
BulletAnimatSim
StdAfx.h
Generated on Tue Sep 29 2015 07:07:21 for AnimatLab by
1.8.10