Robotics Library  0.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes | List of all members
rl::sg::bullet::Shape Class Reference

#include <Shape.h>

Inheritance diagram for rl::sg::bullet::Shape:
Inheritance graph
[legend]
Collaboration diagram for rl::sg::bullet::Shape:
Collaboration graph
[legend]

Public Member Functions

 Shape (SoVRMLShape *shape, Body *body)
virtual ~Shape ()
void getTransform (::rl::math::Transform &transform)
void setTransform (const ::rl::math::Transform &transform)
- Public Member Functions inherited from rl::sg::Shape
 Shape (SoVRMLShape *shape, Body *body)
BodygetBody () const
virtual ::std::string getName () const
virtual void setName (const ::std::string &name)

Public Attributes

btCollisionShape * shape
btTransform transform

Static Private Member Functions

static void triangleCallback (void *userData, SoCallbackAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3)

Private Attributes

::std::vector< int > indices
btTriangleIndexVertexArray * triangleIndexVertexArray
::std::vector< btScalar > vertices

Additional Inherited Members

- Protected Attributes inherited from rl::sg::Shape
Bodybody

Constructor & Destructor Documentation

rl::sg::bullet::Shape::Shape ( SoVRMLShape *  shape,
Body body 
)
rl::sg::bullet::Shape::~Shape ( )
virtual

Reimplemented from rl::sg::Shape.

Member Function Documentation

void rl::sg::bullet::Shape::getTransform ( ::rl::math::Transform transform)
virtual

Implements rl::sg::Shape.

void rl::sg::bullet::Shape::setTransform ( const ::rl::math::Transform transform)
virtual

Implements rl::sg::Shape.

void rl::sg::bullet::Shape::triangleCallback ( void *  userData,
SoCallbackAction *  action,
const SoPrimitiveVertex *  v1,
const SoPrimitiveVertex *  v2,
const SoPrimitiveVertex *  v3 
)
staticprivate

Member Data Documentation

::std::vector< int > rl::sg::bullet::Shape::indices
private
btCollisionShape* rl::sg::bullet::Shape::shape
btTransform rl::sg::bullet::Shape::transform
btTriangleIndexVertexArray* rl::sg::bullet::Shape::triangleIndexVertexArray
private
::std::vector< btScalar > rl::sg::bullet::Shape::vertices
private

The documentation for this class was generated from the following files: