Drake
|
#include <drake/systems/plants/RigidBody.h>
Public Member Functions | |
CollisionElement (const CollisionElement &other) | |
CollisionElement (const Eigen::Isometry3d &T_element_to_link, const RigidBody *const body) | |
CollisionElement (const DrakeShapes::Geometry &geometry, const Eigen::Isometry3d &T_element_to_link, const RigidBody *const body) | |
virtual | ~CollisionElement () |
CollisionElement * | clone () const override |
bool | CollidesWith (const DrakeCollision::Element *other) const override |
Returns true if this element should be checked for collisions with the other object. More... | |
Public Member Functions inherited from Element | |
Element (const Eigen::Isometry3d &T_element_to_local=Eigen::Isometry3d::Identity()) | |
Element (const DrakeShapes::Geometry &geometry, const Eigen::Isometry3d &T_element_to_local=Eigen::Isometry3d::Identity()) | |
virtual | ~Element () |
ElementId | getId () const |
virtual bool | isStatic () const |
void | set_static () |
Flags this collision element to be static, i.e. More... | |
bool | is_static () |
Returns true if the shape does not move, false otherwise. More... | |
const RigidBody * | get_body () const |
Returns a pointer to the const RigidBody to which this CollisionElement is attached. More... | |
void | set_body (const RigidBody *body) |
Sets the rigid body this collision element is attached to. More... | |
Public Member Functions inherited from Element | |
Element (const Geometry &geometry, const Eigen::Isometry3d &T_element_to_local) | |
Element (const Geometry &geometry) | |
Element (const Eigen::Isometry3d &T_element_to_local) | |
const Eigen::Isometry3d & | getWorldTransform () const |
const Eigen::Isometry3d & | getLocalTransform () const |
void | SetLocalTransform (const Eigen::Isometry3d &T_element_to_local) |
virtual void | updateWorldTransform (const Eigen::Isometry3d &T_local_to_world) |
Shape | getShape () const |
void | setGeometry (const Geometry &geometry) |
bool | hasGeometry () const |
const Geometry & | getGeometry () const |
void | getTerrainContactPoints (Eigen::Matrix3Xd &points) const |
Additional Inherited Members | |
Protected Member Functions inherited from Element | |
Element (const Element &other) | |
Protected Member Functions inherited from Element | |
virtual void | setWorldTransform (const Eigen::Isometry3d &T_elem_to_world) |
Element (const Element &) | |
Element & | operator= (const Element &) |
Protected Attributes inherited from Element | |
Eigen::Isometry3d | T_element_to_world |
Eigen::Isometry3d | T_element_to_local |
std::unique_ptr< Geometry > | geometry |
CollisionElement | ( | const CollisionElement & | other | ) |
CollisionElement | ( | const Eigen::Isometry3d & | T_element_to_link, |
const RigidBody *const | body | ||
) |
CollisionElement | ( | const DrakeShapes::Geometry & | geometry, |
const Eigen::Isometry3d & | T_element_to_link, | ||
const RigidBody *const | body | ||
) |
|
inlinevirtual |
|
overridevirtual |
|
overridevirtual |
Returns true if this element should be checked for collisions with the other object.
CollidesWith should be symmetric: if A collides with B, B collides with A.
Reimplemented from Element.