public

Inheritance Graph

graph BT
	BtPhysicWorld
	BtPhysicWorld --> PhysicWorld
	click BtPhysicWorld "classMinSG_1_1Physics_1_1BtPhysicWorld"
	click PhysicWorld "classMinSG_1_1Physics_1_1PhysicWorld"

Description

BtPhysicWorld—— > PhysicWorld .

Public Functions

   
   
  BtPhysicWorld()
   
  ~BtPhysicWorld()
   
void cleanupWorld()
   
void stepSimulation(float time)
   
void renderPhysicWorld( Rendering::RenderingContext & rctxt)
   
void initNodeObserver( Node * rootNode)
   
void createGroundPlane(const Geometry::Plane & plane)
   
void setGravity(const Geometry::Vec3 & gravity)
   
const Geometry::Vec3 getGravity()
   
void markAsKinematicObject( Node & node, bool b)
   
void removeNode( Node * node)
   
void setMass( Node & node, float mass)
   
void setFriction( Node & _node, float fric)
   
void setRollingFriction( Node & _node, float rollfric)
   
void setShape( Node & node, Util::Reference < CollisionShape > shape)
   
void setLinearDamping( Node & node, float void)
   
void setAngularDamping( Node & node, float void)
   
void updateLocalSurfaceVelocity( Node * node, const Geometry::Vec3 & localForce)
   
void addConstraint_p2p( Node & nodeA, const Geometry::Vec3 & pivotLocalA, Node & nodeB, const Geometry::Vec3 & pivotLocalB)
   
void addConstraint_hinge( Node & nodeA, const Geometry::Vec3 & pivotLocalA, const Geometry::Vec3 & dirLocalA, Node & nodeB, const Geometry::Vec3 & pivotLocalB, const Geometry::Vec3 & dirLocalB)
   
void removeConstraints( Node & node)
   
void removeConstraintBetweenNodes( Node & nodeA, Node & nodeB)
   
void setLinearVelocity( Node & node, const Geometry::Vec3 & void)
   
void setAngularVelocity( Node & node, const Geometry::Vec3 & void)

Documentation

function
MinSG::Physics::BtPhysicWorld::BtPhysicWorld

public
   
   
BtPhysicWorld( )

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


function
MinSG::Physics::BtPhysicWorld::~BtPhysicWorld

public virtual
   
   
~BtPhysicWorld( )

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


function
MinSG::Physics::BtPhysicWorld::cleanupWorld

public virtual
   
   
void cleanupWorld( )

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


function
MinSG::Physics::BtPhysicWorld::stepSimulation

public virtual
     
     
void stepSimulation( float time )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:74


function
MinSG::Physics::BtPhysicWorld::renderPhysicWorld

public virtual
     
     
void renderPhysicWorld( Rendering::RenderingContext & rctxt )

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


function
MinSG::Physics::BtPhysicWorld::initNodeObserver

public virtual
     
     
void initNodeObserver( Node * rootNode )

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


function
MinSG::Physics::BtPhysicWorld::createGroundPlane

public virtual
     
     
void createGroundPlane( const Geometry::Plane & plane )

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


function
MinSG::Physics::BtPhysicWorld::setGravity

public virtual
     
     
void setGravity( const Geometry::Vec3 & gravity )

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


function
MinSG::Physics::BtPhysicWorld::getGravity

public virtual
   
   
const Geometry::Vec3 getGravity( )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:81


function
MinSG::Physics::BtPhysicWorld::markAsKinematicObject

public virtual
     
     
void markAsKinematicObject( Node & node,
  bool b
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:87


function
MinSG::Physics::BtPhysicWorld::removeNode

public virtual
     
     
void removeNode( Node * node )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:88


function
MinSG::Physics::BtPhysicWorld::setMass

public virtual
     
     
void setMass( Node & node,
  float mass
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:89


function
MinSG::Physics::BtPhysicWorld::setFriction

public virtual
     
     
void setFriction( Node & _node,
  float fric
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:90


function
MinSG::Physics::BtPhysicWorld::setRollingFriction

public virtual
     
     
void setRollingFriction( Node & _node,
  float rollfric
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:91


function
MinSG::Physics::BtPhysicWorld::setShape

public virtual
     
     
void setShape( Node & node,
  Util::Reference < CollisionShape > shape
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:92


function
MinSG::Physics::BtPhysicWorld::setLinearDamping

public virtual
     
     
void setLinearDamping( Node & node,
  float void
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:93


function
MinSG::Physics::BtPhysicWorld::setAngularDamping

public virtual
     
     
void setAngularDamping( Node & node,
  float void
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:94


function
MinSG::Physics::BtPhysicWorld::updateLocalSurfaceVelocity

public virtual
     
     
void updateLocalSurfaceVelocity( Node * node,
  const Geometry::Vec3 & localForce
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:95


function
MinSG::Physics::BtPhysicWorld::addConstraint_p2p

public virtual
     
     
void addConstraint_p2p( Node & nodeA,
  const Geometry::Vec3 & pivotLocalA,
  Node & nodeB,
  const Geometry::Vec3 & pivotLocalB
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:103


function
MinSG::Physics::BtPhysicWorld::addConstraint_hinge

public virtual
     
     
void addConstraint_hinge( Node & nodeA,
  const Geometry::Vec3 & pivotLocalA,
  const Geometry::Vec3 & dirLocalA,
  Node & nodeB,
  const Geometry::Vec3 & pivotLocalB,
  const Geometry::Vec3 & dirLocalB
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:104


function
MinSG::Physics::BtPhysicWorld::removeConstraints

public virtual
     
     
void removeConstraints( Node & node )

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:105


function
MinSG::Physics::BtPhysicWorld::removeConstraintBetweenNodes

public virtual
     
     
void removeConstraintBetweenNodes( Node & nodeA,
  Node & nodeB
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:106


function
MinSG::Physics::BtPhysicWorld::setLinearVelocity

public virtual
     
     
void setLinearVelocity( Node & node,
  const Geometry::Vec3 & void
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:109


function
MinSG::Physics::BtPhysicWorld::setAngularVelocity

public virtual
     
     
void setAngularVelocity( Node & node,
  const Geometry::Vec3 & void
)    

Defined in MinSG/Ext/Physics/Bullet/BtPhysicWorld.h:110