VR-Forces 4.1.1 Class Documentation
Classes | Namespaces | Typedefs | Functions
osgToBullet.h File Reference

Go to the source code of this file.

Classes

class  makVrf::DtSurfaceCharacteristicMap
class  DtTriangleMeshWithSoil
 A version of btTriangleMesh that also holds soil type for each polygon. More...
struct  DtVantageRootNode
 Simple structure that holds the VRV equivalent of a pointer to a root node of the scene graph. More...

Namespaces

namespace  osg
namespace  makVrf
 Contains makVrf::DtVrfDisDriver class.

Typedefs

typedef std::list
< btCollisionObject * > 
DtCollisionObjectList
typedef std::vector< std::pair
< DtTriangleMeshWithSoil
*, osg::Matrix > > 
DtMeshTransformPairList

Functions

const
DT_DLL_vantageTerrainImplementation
DtSurface
DtUndefinedSoilType ()
int convertOsgNodeToTriangeMesh (DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, osg::Node *node, const osg::Matrix &baseTransform, const DtFilename &surfaceCharacterFilename="", bool treatPagedLODAsLOD=false, bool checkGeodesForSurfaces=false)
 Returns a new list of bullet collision meshes and associated transforms created from the provided node.
int convertOsgNodeToTriangeMesh (DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, DtVantageRootNode node, const osg::Matrix &baseTransform, const DtFilename &surfaceCharacterFilename="", bool treatPagedLODAsLOD=false, bool checkGeodesForSurfaces=false)
 Returns a new list of bullet collision meshes and associated transforms created from the provided node.
Coordinate_SystemcreateVrfCoordinateSystem (const makVrv::DtCoordinateSystem &coodSysIn)
void getBasisAndOrigin (osg::Matrix &matrix, btMatrix3x3 &basisA, btVector3 &origin, bool &scaled)
template<typename T_Node >
unsigned int createCollisionObjects (T_Node node, DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, osg::Matrix *worldMatrix=NULL, const DtFilename &surfaceCharacterFilename="", bool treatPagedLODAsLOD=false, bool checkGeodesForSurfaces=false)
 Creates bullet collision objects for the geometry represented by the node passed in.

Detailed Description

Typedef Documentation

typedef std::list<btCollisionObject*> DtCollisionObjectList
typedef std::vector<std::pair<DtTriangleMeshWithSoil*, osg::Matrix> > DtMeshTransformPairList

Function Documentation

const DT_DLL_vantageTerrainImplementation DtSurface& DtUndefinedSoilType ( )
Returns
A DtSurface that is the undefined soil type.
int convertOsgNodeToTriangeMesh ( DtCollisionObjectList collObjects,
const DtDrawMode drawMode,
osg::Node *  node,
const osg::Matrix &  baseTransform,
const DtFilename &  surfaceCharacterFilename = "",
bool  treatPagedLODAsLOD = false,
bool  checkGeodesForSurfaces = false 
)

Returns a new list of bullet collision meshes and associated transforms created from the provided node.

Referenced by createCollisionObjects().

int convertOsgNodeToTriangeMesh ( DtCollisionObjectList collObjects,
const DtDrawMode drawMode,
DtVantageRootNode  node,
const osg::Matrix &  baseTransform,
const DtFilename &  surfaceCharacterFilename = "",
bool  treatPagedLODAsLOD = false,
bool  checkGeodesForSurfaces = false 
)

Returns a new list of bullet collision meshes and associated transforms created from the provided node.

Coordinate_System* createVrfCoordinateSystem ( const makVrv::DtCoordinateSystem coodSysIn)
void getBasisAndOrigin ( osg::Matrix &  matrix,
btMatrix3x3 &  basisA,
btVector3 &  origin,
bool scaled 
)
template<typename T_Node >
unsigned int createCollisionObjects ( T_Node  node,
DtCollisionObjectList collObjects,
const DtDrawMode drawMode,
osg::Matrix *  worldMatrix = NULL,
const DtFilename &  surfaceCharacterFilename = "",
bool  treatPagedLODAsLOD = false,
bool  checkGeodesForSurfaces = false 
)

Creates bullet collision objects for the geometry represented by the node passed in.

This are added to the collObjMeshPairs list. Calls convertOsgNoveToTriangleMesh() with the node parameter.

References convertOsgNodeToTriangeMesh().


Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)