![]() |
VR-Forces 4.8 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 Types inherited from DtCollisionObjectInterface | |
| typedef std::vector < boost::shared_ptr < makVrv::DtDynamicTerrainFeature > > | DynamicFeatures |
Public Member Functions | |
| CollisionObject () | |
| bool | enabled () const |
| Intersections will ignore this object if this returns true. More... | |
| void | incrementEnableCount () |
| void | decrementEnableCount () |
Public Member Functions inherited from DtBvhCollisionObject | |
| DtBvhCollisionObject () | |
| void | setCollisionShape (btCollisionShape *shape) |
| bool | buildBvh () |
| Build the bvh with mutex locked. 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 | |
| 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 |