Drake
Element Class Reference

#include <drake/attic/multibody/shapes/element.h>

Public Member Functions

 Element (const Geometry &geometry_in, const Eigen::Isometry3d &T_element_to_local_in)
 
 Element (const Geometry &geometry_in)
 
 Element (const Eigen::Isometry3d &T_element_to_local_in)
 
virtual ~Element ()
 
virtual Elementclone () const
 
const Eigen::Isometry3d & getWorldTransform () const
 
const Eigen::Isometry3d & getLocalTransform () const
 
void SetLocalTransform (const Eigen::Isometry3d &T_element_to_local)
 
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
 

Protected Member Functions

 Element (const Element &)
 
void operator= (const Element &)=delete
 
 Element (Element &&)=delete
 
void operator= (Element &&)=delete
 
void setWorldTransform (const Eigen::Isometry3d &T_elem_to_world)
 

Protected Attributes

Eigen::Isometry3d T_element_to_world
 
Eigen::Isometry3d T_element_to_local
 
std::unique_ptr< Geometrygeometry
 

Constructor & Destructor Documentation

◆ Element() [1/5]

Element ( const Geometry geometry_in,
const Eigen::Isometry3d &  T_element_to_local_in 
)
inline

◆ Element() [2/5]

Element ( const Geometry geometry_in)
inlineexplicit

◆ Element() [3/5]

Element ( const Eigen::Isometry3d &  T_element_to_local_in)
inlineexplicit

◆ ~Element()

virtual ~Element ( )
inlinevirtual

Reimplemented in Element.

◆ Element() [4/5]

Element ( const Element other)
protected

◆ Element() [5/5]

Element ( Element &&  )
protecteddelete

Member Function Documentation

◆ clone()

Element * clone ( ) const
virtual

Reimplemented in Element.

◆ getGeometry()

const Geometry & getGeometry ( ) const

◆ getLocalTransform()

const Isometry3d & getLocalTransform ( ) const

◆ getShape()

Shape getShape ( ) const

◆ getTerrainContactPoints()

void getTerrainContactPoints ( Eigen::Matrix3Xd &  points) const

◆ getWorldTransform()

const Isometry3d & getWorldTransform ( ) const

◆ hasGeometry()

bool hasGeometry ( ) const

◆ operator=() [1/2]

void operator= ( const Element )
protecteddelete

◆ operator=() [2/2]

void operator= ( Element &&  )
protecteddelete

◆ setGeometry()

void setGeometry ( const Geometry geometry)

◆ SetLocalTransform()

void SetLocalTransform ( const Eigen::Isometry3d &  T_element_to_local)

◆ setWorldTransform()

void setWorldTransform ( const Eigen::Isometry3d &  T_elem_to_world)
protected

◆ updateWorldTransform()

void updateWorldTransform ( const Eigen::Isometry3d &  T_local_to_world)

Member Data Documentation

◆ geometry

std::unique_ptr<Geometry> geometry
protected

◆ T_element_to_local

Eigen::Isometry3d T_element_to_local
protected

◆ T_element_to_world

Eigen::Isometry3d T_element_to_world
protected

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