DART  6.10.1
dart::collision::BulletCollisionShape Struct Reference

#include <BulletCollisionShape.hpp>

Public Member Functions

 BulletCollisionShape (std::unique_ptr< btCollisionShape > collisionShape, const btTransform &relativeTransform)
 
 BulletCollisionShape (std::unique_ptr< btCollisionShape > collShape)
 

Public Attributes

std::unique_ptr< btCollisionShape > mCollisionShape
 
std::unique_ptr< btTransform > mRelativeTransform
 Relative transform of the shape to the collision object which should be maintained at each pose update of the collision object. More...
 

Constructor & Destructor Documentation

◆ BulletCollisionShape() [1/2]

dart::collision::BulletCollisionShape::BulletCollisionShape ( std::unique_ptr< btCollisionShape >  collisionShape,
const btTransform &  relativeTransform 
)

◆ BulletCollisionShape() [2/2]

dart::collision::BulletCollisionShape::BulletCollisionShape ( std::unique_ptr< btCollisionShape >  collShape)
explicit

Member Data Documentation

◆ mCollisionShape

std::unique_ptr<btCollisionShape> dart::collision::BulletCollisionShape::mCollisionShape

◆ mRelativeTransform

std::unique_ptr<btTransform> dart::collision::BulletCollisionShape::mRelativeTransform

Relative transform of the shape to the collision object which should be maintained at each pose update of the collision object.

Defaults to identity.