Drake
RigidBody::CollisionElement Class Reference

#include <drake/systems/plants/RigidBody.h>

Inheritance diagram for RigidBody::CollisionElement:
Collaboration diagram for RigidBody::CollisionElement:

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 ()
 
CollisionElementclone () 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 RigidBodyget_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 GeometrygetGeometry () 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 &)
 
Elementoperator= (const Element &)
 
- Protected Attributes inherited from Element
Eigen::Isometry3d T_element_to_world
 
Eigen::Isometry3d T_element_to_local
 
std::unique_ptr< Geometrygeometry
 

Constructor & Destructor Documentation

CollisionElement ( const CollisionElement other)

Here is the call graph for this function:

Here is the caller graph for this function:

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 ( )
inlinevirtual

Here is the call graph for this function:

Member Function Documentation

RigidBody::CollisionElement * clone ( ) const
overridevirtual

Reimplemented from Element.

Here is the call graph for this function:

bool CollidesWith ( const DrakeCollision::Element other) const
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.

Here is the call graph for this function:


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