![]() |
VR-Forces 4.6.1 Class Documentation
|
Bullet collision object which defaults to being disabled and is enabled when the enable count is non-zero. More...

Public Types | |
| typedef boost::shared_ptr < CollisionObject > | Ptr |
Public Member Functions | |
| CollisionObject () | |
| bool | enabled () const |
| Intersections will ignore this object if this returns true. | |
| void | incrementEnableCount () |
| void | decrementEnableCount () |
Public Member Functions inherited from DtBvhCollisionObject | |
| DtBvhCollisionObject () | |
| void | setCollisionShape (btCollisionShape *shape) |
| bool | buildBvh () |
| Build the bvh with mutex locked. | |
| boost::shared_ptr < btCollisionShape > | bulletCollisionShape () const |
| Access the underlying bullet collision shape. | |
| unsigned int | numberOfTriangles () const |
| Return number of triangles in this object (ignores instancing). | |
| double | radius () const |
| Returns the maximum distance of all points from the origin of this object. | |
| DtSurface | triangleSurface (unsigned int triangleIndex) const |
| Return the surface of a triangle at a given index. | |
| DynamicFeatures | dynamicFeatures () const |
| Return all the dynamic features which contain this object. | |
Public Member Functions inherited from DtCollisionObjectInterface | |
| virtual | ~DtCollisionObjectInterface () |
| Virtual destructor. | |
Protected Attributes | |
| tbb::atomic< unsigned > | myEnableCount |
Protected Attributes inherited from DtBvhCollisionObject | |
| DtBvhTriangleMeshShape::Ptr | myShape |
Bullet collision object which defaults to being disabled and is enabled when the enable count is non-zero.
| typedef boost::shared_ptr<CollisionObject> DtEntityTerrainGeometryHandle::CollisionObject::Ptr |
| DtEntityTerrainGeometryHandle::CollisionObject::CollisionObject | ( | ) |
|
virtual |
Intersections will ignore this object if this returns true.
Reimplemented from DtBvhCollisionObject.
| void DtEntityTerrainGeometryHandle::CollisionObject::incrementEnableCount | ( | ) |
| void DtEntityTerrainGeometryHandle::CollisionObject::decrementEnableCount | ( | ) |
|
protected |