Simbody
Public Member Functions | Static Public Member Functions | Protected Attributes

SimTK::ContactGeometryImpl Class Reference

#include <ContactGeometryImpl.h>

Inheritance diagram for SimTK::ContactGeometryImpl:

List of all members.

Public Member Functions

 ContactGeometryImpl (const std::string &type)
virtual ~ContactGeometryImpl ()
const std::string & getType () const
int getTypeIndex () const
virtual ContactGeometryTypeId getTypeId () const =0
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
virtual void getBoundingSphere (Vec3 &center, Real &radius) const =0
ContactGeometrygetMyHandle ()
void setMyHandle (ContactGeometry &h)
void clearMyHandle ()

Static Public Member Functions

static int getIndexForType (std::string type)
static ContactGeometryTypeId createNewContactGeometryTypeId ()

Protected Attributes

ContactGeometrymyHandle
const std::string & type
int typeIndex

Constructor & Destructor Documentation

SimTK::ContactGeometryImpl::ContactGeometryImpl ( const std::string &  type)
virtual SimTK::ContactGeometryImpl::~ContactGeometryImpl ( ) [inline, virtual]

Member Function Documentation

const std::string& SimTK::ContactGeometryImpl::getType ( ) const [inline]
int SimTK::ContactGeometryImpl::getTypeIndex ( ) const [inline]
static int SimTK::ContactGeometryImpl::getIndexForType ( std::string  type) [static]
static ContactGeometryTypeId SimTK::ContactGeometryImpl::createNewContactGeometryTypeId ( ) [inline, static]
virtual ContactGeometryTypeId SimTK::ContactGeometryImpl::getTypeId ( ) const [pure virtual]
virtual ContactGeometryImpl* SimTK::ContactGeometryImpl::clone ( ) const [pure virtual]
virtual Vec3 SimTK::ContactGeometryImpl::findNearestPoint ( const Vec3 position,
bool &  inside,
UnitVec3 normal 
) const [pure virtual]
virtual bool SimTK::ContactGeometryImpl::intersectsRay ( const Vec3 origin,
const UnitVec3 direction,
Real &  distance,
UnitVec3 normal 
) const [pure virtual]
virtual void SimTK::ContactGeometryImpl::getBoundingSphere ( Vec3 center,
Real &  radius 
) const [pure virtual]
ContactGeometry* SimTK::ContactGeometryImpl::getMyHandle ( ) [inline]
void SimTK::ContactGeometryImpl::setMyHandle ( ContactGeometry h) [inline]
void SimTK::ContactGeometryImpl::clearMyHandle ( ) [inline]

Member Data Documentation

const std::string& SimTK::ContactGeometryImpl::type [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines