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

#include <Shape.h>

Inheritance diagram for rl::sg::fcl::Shape:
Inheritance graph
[legend]

Public Member Functions

 Shape (SoVRMLShape *shape, ::rl::sg::Body *body)
 
virtual ~Shape ()
 
void getTransform (::rl::math::Transform &transform)
 
void setTransform (const ::rl::math::Transform &transform)
 
void update (const ::rl::math::Transform &frame)
 
- 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

::std::shared_ptr< ::fcl::CollisionObject > collisionObject
 

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
 
::rl::math::Transform currentFrame
 
::std::vector< ::fcl::FCL_REAL > distances
 
::boost::shared_ptr< ::fcl::CollisionGeometry > geometry
 
::std::vector< int > indices
 
::std::vector< ::fcl::Vec3f > normals
 
::std::vector< int > polygons
 
::rl::math::Transform transform
 
::std::vector< ::fcl::Vec3f > vertices
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Shape()

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

◆ ~Shape()

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

Reimplemented from rl::sg::Shape.

Member Function Documentation

◆ getTransform()

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

Implements rl::sg::Shape.

◆ setTransform()

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

Implements rl::sg::Shape.

◆ triangleCallback()

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

◆ update()

void rl::sg::fcl::Shape::update ( const ::rl::math::Transform frame)

Member Data Documentation

◆ baseTransform

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

◆ collisionObject

::std::shared_ptr< ::fcl::CollisionObject> rl::sg::fcl::Shape::collisionObject

◆ currentFrame

::rl::math::Transform rl::sg::fcl::Shape::currentFrame
private

◆ distances

::std::vector< ::fcl::FCL_REAL> rl::sg::fcl::Shape::distances
private

◆ geometry

::boost::shared_ptr< ::fcl::CollisionGeometry> rl::sg::fcl::Shape::geometry
private

◆ indices

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

◆ normals

::std::vector< ::fcl::Vec3f> rl::sg::fcl::Shape::normals
private

◆ polygons

::std::vector<int> rl::sg::fcl::Shape::polygons
private

◆ transform

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

◆ vertices

::std::vector< ::fcl::Vec3f> rl::sg::fcl::Shape::vertices
private

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