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

#include <Shape.h>

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

Public Member Functions

 Shape (::SoVRMLShape *shape, Body *body)
 
virtual ~Shape ()
 
BodygetBody () const
 
virtual ::std::string getName () const
 
virtual void getTransform (::rl::math::Transform &transform)=0
 
virtual void setName (const ::std::string &name)
 
virtual void setTransform (const ::rl::math::Transform &transform)=0
 

Protected Attributes

Bodybody
 

Private Attributes

::std::string name
 

Constructor & Destructor Documentation

◆ Shape()

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

◆ ~Shape()

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

Member Function Documentation

◆ getBody()

Body * rl::sg::Shape::getBody ( ) const

◆ getName()

std::string rl::sg::Shape::getName ( ) const

◆ getTransform()

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

◆ setName()

void rl::sg::Shape::setName ( const ::std::string &  name)
virtual

Reimplemented in rl::sg::so::Shape.

◆ setTransform()

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

Member Data Documentation

◆ body

Body* rl::sg::Shape::body
protected

◆ name

::std::string rl::sg::Shape::name
private

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