VR-Forces 4.2 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...
class  DtBvhBuilder
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, std::vector< std::string > ignoreSurfacesMatching=std::vector< std::string >())
 Returns a new list of bullet collision meshes and associated transforms created from the provided node.
int convertOsgNodeToTriangeMesh (DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, osg::Node *node, const osg::Matrix &baseTransform, const DtSurface &surface)
int convertOsgNodeToTriangeMesh (DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, DtVantageRootNode node, const osg::Matrix &baseTransform, const DtFilename &surfaceCharacterFilename="", bool treatPagedLODAsLOD=false, bool checkGeodesForSurfaces=false, std::vector< std::string > ignoreSurfacesMatching=std::vector< std::string >())
 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, std::vector< std::string > ignoreSurfacesMatching=std::vector< std::string >())
 Creates bullet collision objects for the geometry represented by the node passed in.
template<typename T_Node >
unsigned int createCollisionObjects (T_Node node, DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, const DtSurface &surface, osg::Matrix *worldMatrix=NULL)
 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,
std::vector< std::string >  ignoreSurfacesMatching = std::vector< std::string >() 
)

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,
osg::Node *  node,
const osg::Matrix &  baseTransform,
const DtSurface &  surface 
)
int convertOsgNodeToTriangeMesh ( DtCollisionObjectList collObjects,
const DtDrawMode drawMode,
DtVantageRootNode  node,
const osg::Matrix &  baseTransform,
const DtFilename &  surfaceCharacterFilename = "",
bool  treatPagedLODAsLOD = false,
bool  checkGeodesForSurfaces = false,
std::vector< std::string >  ignoreSurfacesMatching = std::vector< std::string >() 
)

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,
std::vector< std::string >  ignoreSurfacesMatching = std::vector<std::string>() 
)

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().

template<typename T_Node >
unsigned int createCollisionObjects ( T_Node  node,
DtCollisionObjectList collObjects,
const DtDrawMode drawMode,
const DtSurface &  surface,
osg::Matrix *  worldMatrix = NULL 
)

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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)