Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
holding a temporary joint More...
#include <tmpprimitive.h>
Public Member Functions | |
TmpJoint (Joint *p, const Color &color, bool withVisual=true, double visualSize=0.2, bool ignoreColl=true) | |
creates a new tmporary object from the given joint and initializes it. More... | |
TmpJoint (Joint *p, const std::string &colorname, float alpha=1.0, bool withVisual=true, double visualSize=0.2, bool ignoreColl=true) | |
provided for convenience to supply color as name and alpha independently More... | |
virtual void | init (const OdeHandle &odeHandle, const OsgHandle &osgHandle) |
virtual void | deleteObject () |
deletes the object More... | |
virtual void | update () |
update graphics here More... | |
![]() | |
TmpObject () | |
virtual | ~TmpObject () |
void | setExpireTime (double time) |
bool | expired (double time) |
Additional Inherited Members | |
![]() | |
double | time |
holding a temporary joint
TmpJoint | ( | Joint * | p, |
const Color & | color, | ||
bool | withVisual = true , |
||
double | visualSize = 0.2 , |
||
bool | ignoreColl = true |
||
) |
creates a new tmporary object from the given joint and initializes it.
The lifetime is set when adding it to globalData
TmpJoint | ( | Joint * | p, |
const std::string & | colorname, | ||
float | alpha = 1.0 , |
||
bool | withVisual = true , |
||
double | visualSize = 0.2 , |
||
bool | ignoreColl = true |
||
) |
provided for convenience to supply color as name and alpha independently
|
virtual |
deletes the object
Implements TmpObject.
Implements TmpObject.
|
virtual |
update graphics here
Implements TmpObject.