Joint< DataType, dim > Class Template Reference

#include <Joint.h>

List of all members.

Public Types

enum  actuationType { revolute, prismatic, sphericalWrist }

Public Member Functions

 Joint ()
 Joint (const Joint &v)
 Joint (PType o, PType z, PType x, int t)
 Joint (PType o, PType z, PType x, int t, std::vector< int > cf)
 ~Joint ()
void setDefault ()
virtual std::vector< int > & CFIdTag ()
void setId (int v)
virtual void Restart (std::ifstream &ifs, int &pos, double &t, double &dt)
virtual void Checkpointing (std::ofstream &ofs)
virtual PType getOrigin ()
virtual void setOrigin (PType &o)

Protected Attributes

int id
std::vector< int > CFidTag
PType origin
PType xaxis
PType yaxis
PType zaxis
int type
int connectionId
int connectionOrientation
int CFidTag_size

Friends

class DH_Link< DataType, dim >
class DH_Chain< DataType, dim >
class SceneBase< DataType, dim >
class Scene< DataType, dim >

Detailed Description

template<class DataType, int dim>
class Joint< DataType, dim >

Container used to expresss the spatial position and orientaiton of a revolute, prosmatic, or spherical wrist joint.
These positions and orientations are in the coordinate frame of the Part or Assembly labeled by CFidTag.
Joints in a Part's coordinate frame can be related to a connection (2d:segment, 3D:facet).


Member Enumeration Documentation

template<class DataType , int dim>
enum Joint::actuationType
Enumerator:
revolute 
prismatic 
sphericalWrist 

Constructor & Destructor Documentation

template<class DataType , int dim>
Joint< DataType, dim >::Joint (  )  [inline]
template<class DataType , int dim>
Joint< DataType, dim >::~Joint (  )  [inline]

Member Function Documentation

template<class DataType , int dim>
virtual std::vector<int>& Joint< DataType, dim >::CFIdTag (  )  [inline, virtual]
template<class DataType , int dim>
virtual PType Joint< DataType, dim >::getOrigin (  )  [inline, virtual]
template<class DataType , int dim>
virtual void Joint< DataType, dim >::Restart ( std::ifstream &  ifs,
int &  pos,
double &  t,
double &  dt 
) [inline, virtual]
template<class DataType , int dim>
void Joint< DataType, dim >::setId ( int  v  )  [inline]
template<class DataType , int dim>
virtual void Joint< DataType, dim >::setOrigin ( PType o  )  [inline, virtual]

Friends And Related Function Documentation

template<class DataType , int dim>
friend class DH_Chain< DataType, dim > [friend]
template<class DataType , int dim>
friend class DH_Link< DataType, dim > [friend]
template<class DataType , int dim>
friend class Scene< DataType, dim > [friend]
template<class DataType , int dim>
friend class SceneBase< DataType, dim > [friend]

Member Data Documentation

template<class DataType , int dim>
std::vector<int> Joint< DataType, dim >::CFidTag [protected]

A std::vector of $ \mathcal{N} $ integers (+ for assemblies, - for parts) for the $ \mathcal{N}-1 $ assemblies from base assembly to a part or assembly. CFidTag[$ j $ ] is the index number of the Assembly in the subAssemblyList of Assembly[$ j-1 $]. idTag[$0$] is the index number of the base Assembly in the Scene's assemblyList. $ j \in [0,\mathcal{N}] = $ Assembly index

Referenced by Joint< DataType, dim >::CFIdTag(), Joint< DataType, dim >::Joint(), and Joint< DataType, dim >::setDefault().

template<class DataType , int dim>
int Joint< DataType, dim >::CFidTag_size [protected]
template<class DataType , int dim>
int Joint< DataType, dim >::id [protected]

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:18:58 2016 for Motion - rigid body dynamics solver by  doxygen 1.6.3