Drake
Geometry Class Reference

#include <drake/systems/plants/shapes/Geometry.h>

Inheritance diagram for Geometry:
Collaboration diagram for Geometry:

Public Member Functions

 Geometry ()
 
 Geometry (const Geometry &other)
 
virtual ~Geometry ()
 
virtual Geometryclone () const
 
Shape getShape () const
 
virtual void getPoints (Eigen::Matrix3Xd &points) const
 
virtual void getBoundingBoxPoints (Eigen::Matrix3Xd &points) const
 
virtual void getTerrainContactPoints (Eigen::Matrix3Xd &points) const
 

Protected Member Functions

 Geometry (Shape shape)
 
void getBoundingBoxPoints (double x_half_width, double y_half_width, double z_half_width, Eigen::Matrix3Xd &points) const
 

Protected Attributes

Shape shape
 

Static Protected Attributes

static const int NUM_BBOX_POINTS = 8
 

Friends

DRAKESHAPES_EXPORT std::ostream & operator<< (std::ostream &, const Geometry &)
 A toString method for this class. More...
 

Constructor & Destructor Documentation

Geometry ( )

Here is the caller graph for this function:

Geometry ( const Geometry other)

Here is the call graph for this function:

virtual ~Geometry ( )
inlinevirtual
Geometry ( Shape  shape)
explicitprotected

Member Function Documentation

Geometry * clone ( ) const
virtual

Reimplemented in MeshPoints, Mesh, Capsule, Cylinder, Box, and Sphere.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void getBoundingBoxPoints ( Eigen::Matrix3Xd &  points) const
virtual

Reimplemented in MeshPoints, Mesh, Capsule, Cylinder, Box, and Sphere.

Here is the caller graph for this function:

void getBoundingBoxPoints ( double  x_half_width,
double  y_half_width,
double  z_half_width,
Eigen::Matrix3Xd &  points 
) const
protected
void getPoints ( Eigen::Matrix3Xd &  points) const
virtual

Reimplemented in MeshPoints, Mesh, Capsule, Cylinder, Box, and Sphere.

Here is the call graph for this function:

Shape getShape ( ) const

Here is the caller graph for this function:

virtual void getTerrainContactPoints ( Eigen::Matrix3Xd &  points) const
inlinevirtual

Reimplemented in Box, and Sphere.

Here is the call graph for this function:

Friends And Related Function Documentation

DRAKESHAPES_EXPORT std::ostream& operator<< ( std::ostream &  out,
const Geometry gg 
)
friend

A toString method for this class.

Member Data Documentation

const int NUM_BBOX_POINTS = 8
staticprotected
Shape shape
protected

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