![]() |
VR-Forces Developer's Guide
|
Bullet collision object which defaults to being disabled and is enabled when the enable count is non-zero.

Public Types | |
| typedef boost::shared_ptr < CollisionObject > | Ptr |
Public Types inherited from DtCollisionObjectInterface | |
| typedef std::vector < boost::shared_ptr < makVrv::DtDynamicTerrainFeature > > | DynamicFeatures |
Public Member Functions | |
| CollisionObject () | |
| bool | enabled () const |
| void | incrementEnableCount () |
| void | decrementEnableCount () |
Public Member Functions inherited from DtBvhCollisionObject | |
| DtBvhCollisionObject () | |
| void | setCollisionShape (btCollisionShape *shape) override |
| bool | buildBvh () override |
| bool | isBvhBuilt () const |
| boost::shared_ptr < btCollisionShape > | bulletCollisionShape () const override |
| unsigned int | numberOfTriangles () const override |
| double | radius () const override |
| DtSurface | triangleSurface (unsigned int triangleIndex) const override |
| DynamicFeatures | dynamicFeatures () const override |
| const btTransform & | worldTransform () const override |
Public Member Functions inherited from DtCollisionObjectInterface | |
| virtual | ~DtCollisionObjectInterface () |
Protected Attributes | |
| tbb::atomic< unsigned > | myEnableCount |
Protected Attributes inherited from DtBvhCollisionObject | |
| DtBvhTriangleMeshShape::Ptr | myShape |
| typedef boost::shared_ptr<CollisionObject> DtEntityTerrainGeometryHandle::CollisionObject::Ptr |
| DtEntityTerrainGeometryHandle::CollisionObject::CollisionObject | ( | ) |
|
virtual |
Intersections will ignore this object if this returns false.
Reimplemented from DtBvhCollisionObject.
| void DtEntityTerrainGeometryHandle::CollisionObject::incrementEnableCount | ( | ) |
| void DtEntityTerrainGeometryHandle::CollisionObject::decrementEnableCount | ( | ) |
|
protected |