public

Inheritance Graph

graph BT
	BtPhysicObject
	BtPhysicObject --> ReferenceCounter
	click BtPhysicObject "classMinSG_1_1Physics_1_1BtPhysicObject"
	click ReferenceCounter "classUtil_1_1ReferenceCounter"

Description

Public Types

   
   
typedef std::function< bool(btManifoldPoint &cp, BtPhysicObject *obj0, BtPhysicObject *obj1)> contactListener_t

Public Attributes

   
   
contactListener_t contactListener

Public Functions

   
   
  BtPhysicObject( Node * _node)
create a new physic object
   
  BtPhysicObject(const BtPhysicObject & void)
   
  BtPhysicObject( BtPhysicObject && void)
   
  ~BtPhysicObject()
   
Node * getNode() const
   
const Geometry::Vec3 & getCenterOfMass() const
   
void setCenterOfMass(const Geometry::Vec3 & v)
   
bool getKinematicObjectMarker() const
   
void setKinematicObjectMarker(bool b)
   
btRigidBody * getRigidBody() const
   
void setBody(btRigidBody * _body)
   
BtCollisionShape * getShape() const
   
void setShape( Util::Reference < CollisionShape > _shape)
   
float getMass() const
   
void setMass(float f)
   
float getFriction() const
   
void setFriction(float f)
   
float getAngularDamping() const
   
void setAngularDamping(float f)
   
float getLinearDamping() const
   
void setLinearDamping(float f)
   
float getRollingFriction() const
   
void setRollingFriction(float f)
   
const std::vector< Util::Reference < BtConstraintObject > > & getConstraints() const
   
void removeConstraint( BtConstraintObject & constraint)
   
void clearConstraints()
   
void addConstraintObject( BtConstraintObject & constraint)

Documentation

typedef
MinSG::Physics::BtPhysicObject::contactListener_t

public
 
 
typedef std::function< bool(btManifoldPoint &cp, BtPhysicObject *obj0, BtPhysicObject *obj1)> contactListener_t

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:84


variable
MinSG::Physics::BtPhysicObject::contactListener

public
 
 
contactListener_t contactListener

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:85


function
MinSG::Physics::BtPhysicObject::BtPhysicObject

public inline
     
     
BtPhysicObject( Node * _node )

create a new physic object

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:43


function
MinSG::Physics::BtPhysicObject::BtPhysicObject

public
     
     
BtPhysicObject( const BtPhysicObject & void )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:45


function
MinSG::Physics::BtPhysicObject::BtPhysicObject

public
     
     
BtPhysicObject( BtPhysicObject && void )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:46


function
MinSG::Physics::BtPhysicObject::~BtPhysicObject

public
   
   
~BtPhysicObject( )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:47


function
MinSG::Physics::BtPhysicObject::getNode

public const inline
   
   
Node * getNode( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:49


function
MinSG::Physics::BtPhysicObject::getCenterOfMass

public const inline
   
   
const Geometry::Vec3 & getCenterOfMass( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:51


function
MinSG::Physics::BtPhysicObject::setCenterOfMass

public inline
     
     
void setCenterOfMass( const Geometry::Vec3 & v )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:52


function
MinSG::Physics::BtPhysicObject::getKinematicObjectMarker

public const inline
   
   
bool getKinematicObjectMarker( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:54


function
MinSG::Physics::BtPhysicObject::setKinematicObjectMarker

public inline
     
     
void setKinematicObjectMarker( bool b )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:55


function
MinSG::Physics::BtPhysicObject::getRigidBody

public const inline
   
   
btRigidBody * getRigidBody( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:57


function
MinSG::Physics::BtPhysicObject::setBody

public inline
     
     
void setBody( btRigidBody * _body )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:58


function
MinSG::Physics::BtPhysicObject::getShape

public const inline
   
   
BtCollisionShape * getShape( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:60


function
MinSG::Physics::BtPhysicObject::setShape

public
     
     
void setShape( Util::Reference < CollisionShape > _shape )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:61


function
MinSG::Physics::BtPhysicObject::getMass

public const inline
   
   
float getMass( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:63


function
MinSG::Physics::BtPhysicObject::setMass

public inline
     
     
void setMass( float f )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:64


function
MinSG::Physics::BtPhysicObject::getFriction

public const inline
   
   
float getFriction( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:66


function
MinSG::Physics::BtPhysicObject::setFriction

public inline
     
     
void setFriction( float f )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:67


function
MinSG::Physics::BtPhysicObject::getAngularDamping

public const inline
   
   
float getAngularDamping( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:69


function
MinSG::Physics::BtPhysicObject::setAngularDamping

public inline
     
     
void setAngularDamping( float f )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:70


function
MinSG::Physics::BtPhysicObject::getLinearDamping

public const inline
   
   
float getLinearDamping( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:72


function
MinSG::Physics::BtPhysicObject::setLinearDamping

public inline
     
     
void setLinearDamping( float f )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:73


function
MinSG::Physics::BtPhysicObject::getRollingFriction

public const inline
   
   
float getRollingFriction( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:75


function
MinSG::Physics::BtPhysicObject::setRollingFriction

public inline
     
     
void setRollingFriction( float f )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:76


function
MinSG::Physics::BtPhysicObject::getConstraints

public const inline
   
   
const std::vector< Util::Reference < BtConstraintObject > > & getConstraints( ) const

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:78


function
MinSG::Physics::BtPhysicObject::removeConstraint

public
     
     
void removeConstraint( BtConstraintObject & constraint )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:79


function
MinSG::Physics::BtPhysicObject::clearConstraints

public inline
   
   
void clearConstraints( )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:80


function
MinSG::Physics::BtPhysicObject::addConstraintObject

public inline
     
     
void addConstraintObject( BtConstraintObject & constraint )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicObject.h:82