VR-Forces 4.8 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. More...
 

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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)