| public |
Inheritance Graph
graph BT
BtConstraintObject
BtConstraintObject --> ReferenceCounter
click BtConstraintObject "classMinSG_1_1Physics_1_1BtConstraintObject"
click ReferenceCounter "classUtil_1_1ReferenceCounter"
Description
Public Types
| enum | type_t {TYPE_P2P, TYPE_HINGE} |
Public Static Functions
| Util::Reference < BtConstraintObject > | createP2P( Node & _nodeA, const Geometry::Vec3 & _posA, Node & _nodeB, const Geometry::Vec3 & _posB) |
| Util::Reference < BtConstraintObject > | createHinge( Node & _nodeA, const Geometry::Vec3 & _posA, const Geometry::Vec3 & _dirA, Node & _nodeB, const Geometry::Vec3 & _posB, const Geometry::Vec3 & _dirB) |
Public Functions
| ~BtConstraintObject() | |
| Node & | getNodeA() const |
| Node & | getNodeB() const |
| btTypedConstraint * | getBtConstraint() const |
| void | setBtConstraint(btTypedConstraint * c) |
| const Geometry::Vec3 & | getPosA() const |
| const Geometry::Vec3 & | getDirA() const |
| const Geometry::Vec3 & | getPosB() const |
| const Geometry::Vec3 & | getDirB() const |
| type_t | getType() const |
Documentation
enum
MinSG::Physics::BtConstraintObject::type_t
| public |
| enum type_t |
| Enumerator | Description | |
|---|---|---|
| Enumerator | Description | |
| TYPE_P2P | ||
| TYPE_HINGE |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:31
function
MinSG::Physics::BtConstraintObject::createP2P
| public | static | inline |
| Util::Reference < BtConstraintObject > createP2P( | Node & | _nodeA, |
| const Geometry::Vec3 & | _posA, | |
| Node & | _nodeB, | |
| const Geometry::Vec3 & | _posB | |
| ) |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:50
function
MinSG::Physics::BtConstraintObject::createHinge
| public | static | inline |
| Util::Reference < BtConstraintObject > createHinge( | Node & | _nodeA, |
| const Geometry::Vec3 & | _posA, | |
| const Geometry::Vec3 & | _dirA, | |
| Node & | _nodeB, | |
| const Geometry::Vec3 & | _posB, | |
| const Geometry::Vec3 & | _dirB | |
| ) |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:53
function
MinSG::Physics::BtConstraintObject::~BtConstraintObject
| public |
| ~BtConstraintObject( | ) |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:57
function
MinSG::Physics::BtConstraintObject::getNodeA
| public | const | inline |
| Node & getNodeA( | ) const |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:59
function
MinSG::Physics::BtConstraintObject::getNodeB
| public | const | inline |
| Node & getNodeB( | ) const |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:60
function
MinSG::Physics::BtConstraintObject::getBtConstraint
| public | const | inline |
| btTypedConstraint * getBtConstraint( | ) const |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:61
function
MinSG::Physics::BtConstraintObject::setBtConstraint
| public | inline |
| void setBtConstraint( | btTypedConstraint * | c ) |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:62
function
MinSG::Physics::BtConstraintObject::getPosA
| public | const | inline |
| const Geometry::Vec3 & getPosA( | ) const |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:63
function
MinSG::Physics::BtConstraintObject::getDirA
| public | const | inline |
| const Geometry::Vec3 & getDirA( | ) const |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:64
function
MinSG::Physics::BtConstraintObject::getPosB
| public | const | inline |
| const Geometry::Vec3 & getPosB( | ) const |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:65
function
MinSG::Physics::BtConstraintObject::getDirB
| public | const | inline |
| const Geometry::Vec3 & getDirB( | ) const |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:66
function
MinSG::Physics::BtConstraintObject::getType
| public | const | inline |
| type_t getType( | ) const |
Defined in MinSG/Ext/Physics/Bullet/BtConstraintObject.h:67