VR-Forces Developer's Guide
 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.

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

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< unsignedmyEnableCount
 
- Protected Attributes inherited from DtBvhCollisionObject
DtBvhTriangleMeshShape::Ptr myShape
 

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 false.

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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)