VR-Forces 4.6 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 | Private Types | Private Attributes
DtBvhTriangleMeshShape Class Reference
Inheritance diagram for DtBvhTriangleMeshShape:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr
< DtBvhTriangleMeshShape
Ptr

Public Member Functions

 DtBvhTriangleMeshShape (DtTriangleMeshWithSoil *mesh, bool useQuantization=true, bool buildBvhNow=false, bool filterTransparentPolygons=false)
 ~DtBvhTriangleMeshShape ()
bool buildBvh ()
 Build the bvh with mutex locked.

Private Types

typedef tbb::spin_mutex Mutex

Private Attributes

Mutex myMutex
DtTriangleMeshWithSoilmyMesh

Member Typedef Documentation

typedef tbb::spin_mutex DtBvhTriangleMeshShape::Mutex
private

Constructor & Destructor Documentation

DtBvhTriangleMeshShape::DtBvhTriangleMeshShape ( DtTriangleMeshWithSoil mesh,
bool  useQuantization = true,
bool  buildBvhNow = false,
bool  filterTransparentPolygons = false 
)
DtBvhTriangleMeshShape::~DtBvhTriangleMeshShape ( )

Member Function Documentation

bool DtBvhTriangleMeshShape::buildBvh ( )

Build the bvh with mutex locked.

Call as many times as you like, will only build once.

Returns
True if building bvh was successful.

Member Data Documentation

Mutex DtBvhTriangleMeshShape::myMutex
mutableprivate
DtTriangleMeshWithSoil* DtBvhTriangleMeshShape::myMesh
private

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)