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

#include <Shape.h>

Inheritance diagram for rl::sg::pqp::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)
 
void transformToWorld (const ::rl::math::Vector3 &local, ::rl::math::Vector3 &world) const
 
void update ()
 
- 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

::PQP_Model model
 
PQP_REAL rotation [3][3]
 
PQP_REAL translation [3]
 

Private Types

typedef ::std::pair< ::PQP_Model *, ::std::size_t > Model
 

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 frame
 
::rl::math::Transform transform
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Model

typedef ::std::pair< ::PQP_Model*, ::std::size_t> rl::sg::pqp::Shape::Model
private

Constructor & Destructor Documentation

◆ Shape()

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

◆ ~Shape()

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

Reimplemented from rl::sg::Shape.

Member Function Documentation

◆ getTransform()

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

Implements rl::sg::Shape.

◆ setTransform()

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

Implements rl::sg::Shape.

◆ transformToWorld()

void rl::sg::pqp::Shape::transformToWorld ( const ::rl::math::Vector3 local,
::rl::math::Vector3 world 
) const

◆ triangleCallback()

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

◆ update()

void rl::sg::pqp::Shape::update ( )

Member Data Documentation

◆ frame

::rl::math::Transform rl::sg::pqp::Shape::frame
private

◆ model

::PQP_Model rl::sg::pqp::Shape::model

◆ rotation

PQP_REAL rl::sg::pqp::Shape::rotation[3][3]

◆ transform

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

◆ translation

PQP_REAL rl::sg::pqp::Shape::translation[3]

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