VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
DtCollisionObjectInterface Class Reference

Public Types

typedef std::vector
< boost::shared_ptr
< makVrv::DtDynamicTerrainFeature > > 
DynamicFeatures

Public Member Functions

virtual ~DtCollisionObjectInterface ()
 Virtual destructor.
virtual bool buildBvh ()=0
 Build the bvh with mutex locked.
virtual bool enabled () const =0
 Intersections will ignore this object if this returns true.
virtual unsigned int numberOfTriangles () const =0
 Return number of triangles in this object (ignores instancing).
virtual DtSurface triangleSurface (unsigned int triangleIndex) const =0
 Return the surface of a triangle at a given index.
virtual DynamicFeatures dynamicFeatures () const =0
 Return all the dynamic features which contain this object.

Member Typedef Documentation

Constructor & Destructor Documentation

virtual DtCollisionObjectInterface::~DtCollisionObjectInterface ( )
virtual

Virtual destructor.

Member Function Documentation

virtual bool DtCollisionObjectInterface::buildBvh ( )
pure virtual

Build the bvh with mutex locked.

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

Returns
True if building bvh was successful.
virtual bool DtCollisionObjectInterface::enabled ( ) const
pure virtual

Intersections will ignore this object if this returns true.

virtual unsigned int DtCollisionObjectInterface::numberOfTriangles ( ) const
pure virtual

Return number of triangles in this object (ignores instancing).

virtual DtSurface DtCollisionObjectInterface::triangleSurface ( unsigned int  triangleIndex) const
pure virtual

Return the surface of a triangle at a given index.

virtual DynamicFeatures DtCollisionObjectInterface::dynamicFeatures ( ) const
pure virtual

Return all the dynamic features which contain this object.


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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)