VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
DtEntityTerrainGeometryHandle::CollisionObject Class Reference

Bullet collision object which defaults to being disabled and is enabled when the enable count is non-zero. More...

Inheritance diagram for DtEntityTerrainGeometryHandle::CollisionObject:
Inheritance graph
[legend]

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.
const btTransform & worldTransform () const
 Access the world transform of the collision object.
- Public Member Functions inherited from DtCollisionObjectInterface
virtual ~DtCollisionObjectInterface ()
 Virtual destructor.

Protected Attributes

tbb::atomic< unsignedmyEnableCount
- Protected Attributes inherited from DtBvhCollisionObject
DtBvhTriangleMeshShape::Ptr myShape

Detailed Description

Bullet collision object which defaults to being disabled and is enabled when the enable count is non-zero.

Member Typedef Documentation

Constructor & Destructor Documentation

DtEntityTerrainGeometryHandle::CollisionObject::CollisionObject ( )

Member Function Documentation

bool DtEntityTerrainGeometryHandle::CollisionObject::enabled ( ) const
virtual

Intersections will ignore this object if this returns true.

Reimplemented from DtBvhCollisionObject.

void DtEntityTerrainGeometryHandle::CollisionObject::incrementEnableCount ( )
void DtEntityTerrainGeometryHandle::CollisionObject::decrementEnableCount ( )

Member Data Documentation

tbb::atomic<unsigned> DtEntityTerrainGeometryHandle::CollisionObject::myEnableCount
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)