![]() |
VR-Forces Development_Version Class Documentation
|
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 |
Enumerations | |
| enum | ConvertToBulletFlags { ConvertToBulletFlags_TreatPagedLODAsLOD = 0x00000001, ConvertToBulletFlags_CheckGeodesForSurfaces = 0x00000002, ConvertToBulletFlags_UseQuantization = 0x00000004, ConvertToBulletFlags_BuildBvhNow = 0x00000008, ConvertToBulletFlags_FilterTransparentPolygons = 0x00000010, ConvertToBulletFlags_DefaultConversion = ConvertToBulletFlags_UseQuantization } |
| Various flags that can be passed in for how to load up the model into bullet geometry. More... | |
Functions | |
| const DT_DLL_vantageTerrainImplementation DtSurface & | DtUndefinedSoilType () |
| int | convertOsgNodeToTriangeMesh (DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, osg::Node *node, const osg::Matrix &baseTransform, const DtFilename &surfaceCharacterFilename="", ConvertToBulletFlags flags=ConvertToBulletFlags_DefaultConversion, const std::vector< std::string > &ignoreSurfacesMatching=std::vector< std::string >(), osg::NodeVisitor::TraversalMode traverseMode=osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) |
| 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, osg::NodeVisitor::TraversalMode traverseMode=osg::NodeVisitor::TRAVERSE_ALL_CHILDREN, ConvertToBulletFlags flags=ConvertToBulletFlags_DefaultConversion) |
| int | convertOsgNodeToTriangeMesh (DtCollisionObjectList *collObjects, const DtDrawMode &drawMode, DtVantageRootNode node, const osg::Matrix &baseTransform, const DtFilename &surfaceCharacterFilename="", ConvertToBulletFlags flags=ConvertToBulletFlags_DefaultConversion, const std::vector< std::string > &ignoreSurfacesMatching=std::vector< std::string >(), osg::NodeVisitor::TraversalMode traverseMode=osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) |
| 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="", ConvertToBulletFlags flags=ConvertToBulletFlags_DefaultConversion, const std::vector< std::string > &ignoreSurfacesMatching=std::vector< std::string >(), osg::NodeVisitor::TraversalMode traverseMode=osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) |
| 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, osg::NodeVisitor::TraversalMode traverseMode=osg::NodeVisitor::TRAVERSE_ALL_CHILDREN, ConvertToBulletFlags flags=ConvertToBulletFlags_DefaultConversion) |
| 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, osg::NodeVisitor::TraversalMode traverseMode=osg::NodeVisitor::TRAVERSE_ALL_CHILDREN, ConvertToBulletFlags flags=ConvertToBulletFlags_DefaultConversion) |
| Creates bullet collision objects for the geometry represented by the node passed in. | |
| typedef std::list<btCollisionObject*> DtCollisionObjectList |
| typedef std::vector<std::pair<DtTriangleMeshWithSoil*, osg::Matrix> > DtMeshTransformPairList |
| enum ConvertToBulletFlags |
Various flags that can be passed in for how to load up the model into bullet geometry.
| const DT_DLL_vantageTerrainImplementation DtSurface& DtUndefinedSoilType | ( | ) |
| int convertOsgNodeToTriangeMesh | ( | DtCollisionObjectList * | collObjects, |
| const DtDrawMode & | drawMode, | ||
| osg::Node * | node, | ||
| const osg::Matrix & | baseTransform, | ||
| const DtFilename & | surfaceCharacterFilename = "", |
||
| ConvertToBulletFlags | flags = ConvertToBulletFlags_DefaultConversion, |
||
| const std::vector< std::string > & | ignoreSurfacesMatching = std::vector< std::string >(), |
||
| osg::NodeVisitor::TraversalMode | traverseMode = osg::NodeVisitor::TRAVERSE_ALL_CHILDREN |
||
| ) |
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, | ||
| osg::NodeVisitor::TraversalMode | traverseMode = osg::NodeVisitor::TRAVERSE_ALL_CHILDREN, |
||
| ConvertToBulletFlags | flags = ConvertToBulletFlags_DefaultConversion |
||
| ) |
| int convertOsgNodeToTriangeMesh | ( | DtCollisionObjectList * | collObjects, |
| const DtDrawMode & | drawMode, | ||
| DtVantageRootNode | node, | ||
| const osg::Matrix & | baseTransform, | ||
| const DtFilename & | surfaceCharacterFilename = "", |
||
| ConvertToBulletFlags | flags = ConvertToBulletFlags_DefaultConversion, |
||
| const std::vector< std::string > & | ignoreSurfacesMatching = std::vector< std::string >(), |
||
| osg::NodeVisitor::TraversalMode | traverseMode = osg::NodeVisitor::TRAVERSE_ALL_CHILDREN |
||
| ) |
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 | ||
| ) |
| unsigned int createCollisionObjects | ( | T_Node | node, |
| DtCollisionObjectList * | collObjects, | ||
| const DtDrawMode & | drawMode, | ||
| const osg::Matrix * | worldMatrix = NULL, |
||
| const DtFilename & | surfaceCharacterFilename = "", |
||
| ConvertToBulletFlags | flags = ConvertToBulletFlags_DefaultConversion, |
||
| const std::vector< std::string > & | ignoreSurfacesMatching = std::vector<std::string>(), |
||
| osg::NodeVisitor::TraversalMode | traverseMode = osg::NodeVisitor::TRAVERSE_ALL_CHILDREN |
||
| ) |
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().
| unsigned int createCollisionObjects | ( | T_Node | node, |
| DtCollisionObjectList * | collObjects, | ||
| const DtDrawMode & | drawMode, | ||
| const DtFilename & | surfaceCharacterFilename, | ||
| const std::vector< std::string > & | ignoreSurfacesMatching, | ||
| osg::NodeVisitor::TraversalMode | traverseMode = osg::NodeVisitor::TRAVERSE_ALL_CHILDREN, |
||
| ConvertToBulletFlags | flags = ConvertToBulletFlags_DefaultConversion |
||
| ) |
Convenience function.
References createCollisionObjects().
| unsigned int createCollisionObjects | ( | T_Node | node, |
| DtCollisionObjectList * | collObjects, | ||
| const DtDrawMode & | drawMode, | ||
| const DtSurface & | surface, | ||
| const osg::Matrix * | worldMatrix = NULL, |
||
| osg::NodeVisitor::TraversalMode | traverseMode = osg::NodeVisitor::TRAVERSE_ALL_CHILDREN, |
||
| ConvertToBulletFlags | flags = ConvertToBulletFlags_DefaultConversion |
||
| ) |
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().