MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::collision::ChModelBulletParticle Class Reference

#include <CHcModelBulletParticle.h>

Inheritance diagram for chrono::collision::ChModelBulletParticle:

Inheritance graph
[legend]
Collaboration diagram for chrono::collision::ChModelBulletParticle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetParticle (ChParticles *mpa, unsigned int id)
ChParticlesGetParticles ()
unsigned int GetParticleId ()
virtual void SyncPosition ()
virtual ChPhysicsItemGetPhysicsItem ()


Detailed Description

Class for the collision model to be used in ChParticles shapes, using features of the Bullet library.

Member Function Documentation

void chrono::collision::ChModelBulletParticle::SetParticle ( ChParticles mpa,
unsigned int  id 
)

Sets the pointer to the client owner (the ChParticles cluster) and the particle number.

ChParticles* chrono::collision::ChModelBulletParticle::GetParticles (  ) 

Gets the pointer to the client owner, ChParticles cluster.

unsigned int chrono::collision::ChModelBulletParticle::GetParticleId (  ) 

Gets the number of the particle in the particle cluster.

void chrono::collision::ChModelBulletParticle::SyncPosition (  )  [virtual]

Sets the position and orientation of the collision model as the current position of the corresponding item in ChParticles

Implements chrono::collision::ChCollisionModel.

virtual ChPhysicsItem* chrono::collision::ChModelBulletParticle::GetPhysicsItem (  )  [virtual]

Gets the pointer to the client owner ChPhysicsItem.

Implements chrono::collision::ChCollisionModel.


CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on 17 Jul 2009 by Doxygen