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

#include <Shape.h>

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

Public Member Functions

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

bool complex
 
::std::unordered_set< Shape * > encounters
 
DT_ObjectHandle object
 
BP_ProxyHandle proxy
 

Private Member Functions

DT_ShapeHandle create (SoVRMLShape *shape)
 
DT_ShapeHandle create (const SoMFVec3f &point)
 
DT_ShapeHandle create (const SoMFVec3f &point, const SoMFInt32 &coordIndex)
 

Private Attributes

::rl::math::Transform frame
 
DT_Vector3 max
 
DT_Vector3 min
 
DT_ShapeHandle shape
 
::rl::math::Transform transform
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Shape()

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

◆ ~Shape()

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

Reimplemented from rl::sg::Shape.

Member Function Documentation

◆ create() [1/3]

DT_ShapeHandle rl::sg::solid::Shape::create ( const SoMFVec3f &  point)
private

◆ create() [2/3]

DT_ShapeHandle rl::sg::solid::Shape::create ( const SoMFVec3f &  point,
const SoMFInt32 &  coordIndex 
)
private

◆ create() [3/3]

DT_ShapeHandle rl::sg::solid::Shape::create ( SoVRMLShape *  shape)
private

◆ getTransform()

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

Implements rl::sg::Shape.

◆ setMargin()

void rl::sg::solid::Shape::setMargin ( const ::rl::math::Real margin)

◆ setTransform()

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

Implements rl::sg::Shape.

◆ update()

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

Member Data Documentation

◆ complex

bool rl::sg::solid::Shape::complex

◆ encounters

::std::unordered_set<Shape*> rl::sg::solid::Shape::encounters

◆ frame

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

◆ max

DT_Vector3 rl::sg::solid::Shape::max
private

◆ min

DT_Vector3 rl::sg::solid::Shape::min
private

◆ object

DT_ObjectHandle rl::sg::solid::Shape::object

◆ proxy

BP_ProxyHandle rl::sg::solid::Shape::proxy

◆ shape

DT_ShapeHandle rl::sg::solid::Shape::shape
private

◆ transform

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

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