Robotics Library  0.7.0
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]

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

◆ Shape()

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

◆ ~Shape()

rl::sg::bullet::Shape::~Shape ( )
virtual

Reimplemented from rl::sg::Shape.

Member Function Documentation

◆ getTransform()

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

Implements rl::sg::Shape.

◆ setTransform()

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

Implements rl::sg::Shape.

◆ triangleCallback()

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

Member Data Documentation

◆ indices

::std::vector<int> rl::sg::bullet::Shape::indices
private

◆ shape

::btCollisionShape* rl::sg::bullet::Shape::shape

◆ transform

::btTransform rl::sg::bullet::Shape::transform

◆ triangleIndexVertexArray

::btTriangleIndexVertexArray* rl::sg::bullet::Shape::triangleIndexVertexArray
private

◆ vertices

::std::vector< ::btScalar> rl::sg::bullet::Shape::vertices
private

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