|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_SG_BULLET_SCENE_H
28 #define RL_SG_BULLET_SCENE_H
30 #include <btBulletCollisionCommon.h>
32 #include "../DepthScene.h"
33 #include "../DistanceScene.h"
34 #include "../RaycastScene.h"
35 #include "../SimpleScene.h"
94 #if (BT_BULLET_VERSION < 281)
95 btScalar
addSingleResult(::btManifoldPoint& cp, const ::btCollisionObject* colObj0,
int partId0,
int index0, const ::btCollisionObject* colObj1,
int partId1,
int index1);
97 btScalar
addSingleResult(::btManifoldPoint& cp, const ::btCollisionObjectWrapper* colObj0,
int partId0,
int index0, const ::btCollisionObjectWrapper* colObj1,
int partId1,
int index1);
113 ::btScalar
addSingleResult(::btCollisionWorld::LocalRayResult& rayResult,
bool normalInWorldSpace);
124 #endif // RL_SG_BULLET_SCENE_H
::rl::sg::Model * create()
Definition: Scene.cpp:85
Definition: DistanceScene.h:44
virtual ~Scene()
Definition: Scene.cpp:58
void setMargin(const ::rl::math::Real &margin)
::btScalar addSingleResult(::btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace)
Definition: Scene.cpp:333
::btVector3 hitPointWorld
Definition: Scene.h:117
::Eigen::Matrix< Real, 3, 1 > Vector3
Definition: Vector.h:46
Definition: RaycastScene.h:41
::rl::sg::Shape * raycast(const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target, ::rl::math::Real &distance)
Definition: Scene.cpp:217
RayResultCallback()
Definition: Scene.cpp:326
::btCollisionDispatcher dispatcher
Definition: Scene.h:83
::btDbvtBroadphase broadphase
Definition: Scene.h:79
::rl::math::Real distance(::rl::sg::Shape *first, ::rl::sg::Shape *second, ::rl::math::Vector3 &point1, ::rl::math::Vector3 &point2)
Definition: Scene.cpp:117
::rl::math::Real depth(::rl::sg::Body *first, ::rl::sg::Body *second, ::rl::math::Vector3 &point1, ::rl::math::Vector3 &point2)
Definition: Scene.cpp:91
bool areColliding(::rl::sg::Body *first, ::rl::sg::Body *second)
Definition: Scene.cpp:67
::btDefaultCollisionConfiguration configuration
Definition: Scene.h:81
const ::btCollisionShape * collisionShape
Definition: Scene.h:115
Definition: DepthScene.h:42
double Real
Definition: Real.h:42
Scene()
Definition: Scene.cpp:45
bool isColliding()
Definition: Scene.cpp:201
::btCollisionWorld world
Definition: Scene.h:85
Definition: SimpleScene.h:41
Robotics Library.
Definition: AnalogInput.cpp:30