VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, const 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, const 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, const osg::Matrix *worldMatrix=NULL, const DtFilename &surfaceCharacterFilename="", bool treatPagedLODAsLOD=false, bool checkGeodesForSurfaces=false, const 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 DtFilename &surfaceCharacterFilename, const std::vector< std::string > &ignoreSurfacesMatching)
 Convenience function.
template<typename T_Node >
unsigned int createCollisionObjects (T_Node node, DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, const DtSurface &surface, const 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,
const 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,
const 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,
const osg::Matrix *  worldMatrix = NULL,
const DtFilename &  surfaceCharacterFilename = "",
bool  treatPagedLODAsLOD = false,
bool  checkGeodesForSurfaces = false,
const 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().

Referenced by createCollisionObjects().

template<typename T_Node >
unsigned int createCollisionObjects ( T_Node  node,
DtCollisionObjectList collObjects,
const DtDrawMode drawMode,
const DtFilename &  surfaceCharacterFilename,
const std::vector< std::string > &  ignoreSurfacesMatching 
)

Convenience function.

References createCollisionObjects().

template<typename T_Node >
unsigned int createCollisionObjects ( T_Node  node,
DtCollisionObjectList collObjects,
const DtDrawMode drawMode,
const DtSurface &  surface,
const 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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)