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

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


Private Attributes

::std::string name

Constructor & Destructor Documentation

◆ Shape()

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

◆ ~Shape()

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

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)

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

◆ name

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

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