![]() |
VR-Forces 4.8 Class Documentation
|

Public Member Functions | |
| DtBvhCollisionObject () | |
| void | setCollisionShape (btCollisionShape *shape) |
| bool | buildBvh () |
| Build the bvh with mutex locked. More... | |
| bool | enabled () const |
| Intersections will ignore this object if this returns true. More... | |
| boost::shared_ptr < btCollisionShape > | bulletCollisionShape () const |
| Access the underlying bullet collision shape. More... | |
| unsigned int | numberOfTriangles () const |
| Return number of triangles in this object (ignores instancing). More... | |
| double | radius () const |
| Returns the maximum distance of all points from the origin of this object. More... | |
| DtSurface | triangleSurface (unsigned int triangleIndex) const |
| Return the surface of a triangle at a given index. More... | |
| DynamicFeatures | dynamicFeatures () const |
| Return all the dynamic features which contain this object. More... | |
| const btTransform & | worldTransform () const |
| Access the world transform of the collision object. More... | |
Public Member Functions inherited from DtCollisionObjectInterface | |
| virtual | ~DtCollisionObjectInterface () |
| Virtual destructor. More... | |
Protected Attributes | |
| DtBvhTriangleMeshShape::Ptr | myShape |
Additional Inherited Members | |
Public Types inherited from DtCollisionObjectInterface | |
| typedef std::vector < boost::shared_ptr < makVrv::DtDynamicTerrainFeature > > | DynamicFeatures |
| DtBvhCollisionObject::DtBvhCollisionObject | ( | ) |
| void DtBvhCollisionObject::setCollisionShape | ( | btCollisionShape * | shape | ) |
|
virtual |
Build the bvh with mutex locked.
Call as many times as you like, will only build once.
Implements DtCollisionObjectInterface.
|
virtual |
Intersections will ignore this object if this returns true.
Implements DtCollisionObjectInterface.
Reimplemented in DtEntityTerrainGeometryHandle::CollisionObject.
|
virtual |
Access the underlying bullet collision shape.
Implements DtCollisionObjectInterface.
Return number of triangles in this object (ignores instancing).
Implements DtCollisionObjectInterface.
|
virtual |
Returns the maximum distance of all points from the origin of this object.
Implements DtCollisionObjectInterface.
Return the surface of a triangle at a given index.
Implements DtCollisionObjectInterface.
|
virtual |
Return all the dynamic features which contain this object.
Implements DtCollisionObjectInterface.
|
virtual |
Access the world transform of the collision object.
Implements DtCollisionObjectInterface.
|
protected |