TendonWrapper Class Reference

#include <humanHand.h>

List of all members.

Public Member Functions

void createGeometry ()
LinkgetAttachedLink ()
int getChainNr ()
SoSeparator * getIVRoot ()
int getLinkNr ()
vec3 getLocation () const
vec3 getOrientation () const
double getRadius () const
RobotgetRobot ()
bool isExempt (QString name)
 Check if the tendon with the given name is exempt from intersection with this tendon.
bool loadFromXml (const TiXmlElement *root)
void setLocation (vec3 loc)
void setOrientation (vec3 orient)
void setRadius (double r)
 TendonWrapper (Robot *myOwner)
void updateGeometry ()

Public Attributes

vec3 location
vec3 orientation
double radius

Private Attributes

int attachChainNr
int attachLinkNr
SoSeparator * IVWrapper
SoCylinder * IVWrapperGeom
SoMaterial * IVWrapperMaterial
SoTransform * IVWrapperTran
std::list< QString > mExemptList
 A list of tendons (by name) that are exempt from wrapping around this wrapper.
Robotowner

Detailed Description

The TendonWrapper is a cylindrical shape that a tendon is not alowed to penetrate and must wrap around. Like an insertion point, it is attached to a robot link, and defined in the link's coordinate system.

Definition at line 140 of file humanHand.h.


Constructor & Destructor Documentation

TendonWrapper::TendonWrapper ( Robot myOwner  ) 

Definition at line 952 of file humanHand.cpp.


Member Function Documentation

void TendonWrapper::createGeometry (  ) 

Definition at line 971 of file humanHand.cpp.

Link * TendonWrapper::getAttachedLink (  ) 

Use this function to get the link the tendon wrapper is attached to. If chain is -1 this means it is attached to the base of the robot and this function will handle this correctly.

Definition at line 961 of file humanHand.cpp.

int TendonWrapper::getChainNr (  )  [inline]

Definition at line 174 of file humanHand.h.

SoSeparator* TendonWrapper::getIVRoot (  )  [inline]

Definition at line 173 of file humanHand.h.

int TendonWrapper::getLinkNr (  )  [inline]

Definition at line 175 of file humanHand.h.

vec3 TendonWrapper::getLocation (  )  const [inline]

Definition at line 163 of file humanHand.h.

vec3 TendonWrapper::getOrientation (  )  const [inline]

Definition at line 166 of file humanHand.h.

double TendonWrapper::getRadius (  )  const [inline]

Definition at line 169 of file humanHand.h.

Robot* TendonWrapper::getRobot (  )  [inline]

Definition at line 160 of file humanHand.h.

bool TendonWrapper::isExempt ( QString  name  ) 

Check if the tendon with the given name is exempt from intersection with this tendon.

Definition at line 1083 of file humanHand.cpp.

bool TendonWrapper::loadFromXml ( const TiXmlElement root  ) 

Definition at line 1025 of file humanHand.cpp.

void TendonWrapper::setLocation ( vec3  loc  ) 

Definition at line 1007 of file humanHand.cpp.

void TendonWrapper::setOrientation ( vec3  orient  ) 

Definition at line 1013 of file humanHand.cpp.

void TendonWrapper::setRadius ( double  r  ) 

Definition at line 1019 of file humanHand.cpp.

void TendonWrapper::updateGeometry (  ) 

Definition at line 999 of file humanHand.cpp.


Member Data Documentation

Definition at line 143 of file humanHand.h.

Definition at line 142 of file humanHand.h.

SoSeparator* TendonWrapper::IVWrapper [private]

Definition at line 146 of file humanHand.h.

SoCylinder* TendonWrapper::IVWrapperGeom [private]

Definition at line 149 of file humanHand.h.

SoMaterial* TendonWrapper::IVWrapperMaterial [private]

Definition at line 147 of file humanHand.h.

SoTransform* TendonWrapper::IVWrapperTran [private]

Definition at line 148 of file humanHand.h.

Definition at line 155 of file humanHand.h.

std::list<QString> TendonWrapper::mExemptList [private]

A list of tendons (by name) that are exempt from wrapping around this wrapper.

Definition at line 152 of file humanHand.h.

Definition at line 155 of file humanHand.h.

Definition at line 144 of file humanHand.h.

Definition at line 156 of file humanHand.h.


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


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:25 2012