Robotics Library  0.7.0
Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes | List of all members
rl::sg::ode::Shape Class Reference

#include <Shape.h>

Inheritance diagram for rl::sg::ode::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

::dGeomID geom
 

Static Private Member Functions

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

Private Attributes

::rl::math::Transform baseTransform
 
::std::vector< ::dTriIndex > indices
 
::rl::math::Transform transform
 
::std::vector< ::dReal > vertices
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Shape()

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

◆ ~Shape()

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

Reimplemented from rl::sg::Shape.

Member Function Documentation

◆ getTransform()

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

Implements rl::sg::Shape.

◆ setTransform()

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

Implements rl::sg::Shape.

◆ triangleCallback()

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

Member Data Documentation

◆ baseTransform

::rl::math::Transform rl::sg::ode::Shape::baseTransform
private

◆ geom

::dGeomID rl::sg::ode::Shape::geom

◆ indices

::std::vector< ::dTriIndex> rl::sg::ode::Shape::indices
private

◆ transform

::rl::math::Transform rl::sg::ode::Shape::transform
private

◆ vertices

::std::vector< ::dReal> rl::sg::ode::Shape::vertices
private

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