ContactGeometryImpl Class Reference

#include <ContactGeometryImpl.h>

Inheritance diagram for ContactGeometryImpl:

ContactGeometry::HalfSpaceImpl ContactGeometry::SphereImpl ContactGeometry::TriangleMeshImpl

List of all members.

Public Member Functions

 ContactGeometryImpl (const std::string &type)
virtual ~ContactGeometryImpl ()
const std::string & getType () const
int getTypeIndex () const
virtual ContactGeometryImplclone () const =0
virtual Vec3 findNearestPoint (const Vec3 &position, bool &inside, UnitVec3 &normal) const =0
virtual bool intersectsRay (const Vec3 &origin, const UnitVec3 &direction, Real &distance, UnitVec3 &normal) const =0
ContactGeometrygetMyHandle ()
void setMyHandle (ContactGeometry &h)
void clearMyHandle ()

Static Public Member Functions

static int getIndexForType (std::string type)

Protected Attributes

ContactGeometrymyHandle
const std::string & type
int typeIndex


Constructor & Destructor Documentation

ContactGeometryImpl ( const std::string &  type  ) 

virtual ~ContactGeometryImpl (  )  [inline, virtual]


Member Function Documentation

const std::string& getType (  )  const [inline]

int getTypeIndex (  )  const [inline]

static int getIndexForType ( std::string  type  )  [static]

virtual ContactGeometryImpl* clone (  )  const [pure virtual]

virtual Vec3 findNearestPoint ( const Vec3 position,
bool &  inside,
UnitVec3 normal 
) const [pure virtual]

virtual bool intersectsRay ( const Vec3 origin,
const UnitVec3 direction,
Real &  distance,
UnitVec3 normal 
) const [pure virtual]

ContactGeometry* getMyHandle (  )  [inline]

void setMyHandle ( ContactGeometry h  )  [inline]

void clearMyHandle (  )  [inline]


Member Data Documentation

ContactGeometry* myHandle [protected]

const std::string& type [protected]

int typeIndex [protected]


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

Generated on Fri Sep 26 07:44:31 2008 for SimTKcore by  doxygen 1.5.6