Used for dynamic bodies that are not part of a robot. More...
#include <body.h>

Public Member Functions | |
| virtual void | cloneFrom (const GraspableBody *newBody) |
| SoSeparator * | getIVGeomPrimitives () const |
| GraspableBody (World *w, const char *name=0) | |
| When using the CGDB, here we store the CGDB model that this body comes from, if any. | |
| virtual void | setDefaultViewingParameters () |
| virtual | ~GraspableBody () |
Private Attributes | |
| SoSeparator * | IVGeomPrimitives |
| A pointer to the Inventor root of the shape primitives for this body. | |
Friends | |
| QTextStream & | operator<< (QTextStream &os, const GraspableBody &gb) |
Used for dynamic bodies that are not part of a robot.
A Graspable body is partially transparent by default and shows the locations of any contacts on its surface.
Definition at line 672 of file body.h.
| GraspableBody::GraspableBody | ( | World * | w, | |
| const char * | name = 0 | |||
| ) |
| void GraspableBody::cloneFrom | ( | const GraspableBody * | original | ) | [virtual] |
| SoSeparator* GraspableBody::getIVGeomPrimitives | ( | ) | const [inline] |
| void GraspableBody::setDefaultViewingParameters | ( | ) | [virtual] |
Shows friction cones and axes, and sets transparency to 0.4
Reimplemented from DynamicBody.
| QTextStream& operator<< | ( | QTextStream & | os, | |
| const GraspableBody & | gb | |||
| ) | [friend] |
SoSeparator* GraspableBody::IVGeomPrimitives [private] |