mechanism.c
Go to the documentation of this file.
void RegenerateJointSolution(Tparameters *p, TCuikSystem *cs, double *sol, Tjoint *j) Computes the values for the dummy variables used in the joint equations. Definition: joint.c:2256 void MoveLinkFromTransform(Tplot3d *pt, THTransform *t, Tlink *l) Displaces a link in a 3d scene. Definition: link.c:1658 signed int GetJointDOF(Tjoint *j) Computes the degrees of freedom allowed by a given joint. Definition: joint.c:1224 #define REP_JOINTS One of the possible values of the REPRESENTATION parameter. Definition: parameters.h:60 void PlotMechanism(Tplot3d *pt, double axesLength, Tmechanism *m) Adds a mechanism to a 3d scene. Definition: mechanism.c:209 unsigned int VectorSize(Tvector *vector) Gets the number of elements in a vector. Definition: vector.c:169 double GetJointMaxCoordinate(Tjoint *j) Returns the maximum coordinate value for all the objects in the joint. Definition: joint.c:3130 void GetJointDOFValues(Tparameters *p, THTransform *t1, THTransform *t2, double *dof, Tjoint *j) Recovers the joint DOFs from the absolute poses of the links. Definition: joint.c:2644 unsigned int GetLinkID(char *name, Tmechanism *m) Gets the identifier of a link given its name. Definition: mechanism.c:50 void RegenerateLinkBox(Tparameters *p, TCuikSystem *cs, Tbox *b, boolean groundLink, Tlink *l) Computes the values for the dummy variables. Definition: link.c:1222 Tpolyhedron * GetLinkBody(unsigned int i, Tlink *l) Gets one of the convex parts of the link. Definition: link.c:271 void * GetVectorElement(unsigned int i, Tvector *vector) Returns a pointer to a vector element. Definition: vector.c:269 A homgeneous transform in R^3. double GetMechanismMaxCoordinate(Tmechanism *m) Returns the sum of the maximum coordinate value for all the links and joints in the mechanism... Definition: mechanism.c:45 void PrintLink(FILE *f, char *path, char *prefix, Tlink *l) Stores the link information into a file. Definition: link.c:1687 boolean IsMechanismAllSpheres(Tmechanism *m) TRUE if the mechanism is composed by spheres only. Definition: mechanism.c:40 void RegenerateLinkSolution(Tparameters *p, TCuikSystem *cs, double *sol, boolean groundLink, Tlink *l) Computes the values for the dummy variables used to represent the rotation matrices for a given link... Definition: link.c:1155 double GetLinkMaxCoordinate(Tlink *l) Returns the sum of the maximum coordinate value for all the convex polyhedrons in the link... Definition: link.c:1580 void LinkPrintAtoms(FILE *f, THTransform *tl, Tlink *l) Prints the center of the atoms in a link in gobal coordinates. Definition: link.c:1624 void PlotLink(Tplot3d *pt, double axesLength, Tlink *l) Adds a link to a 3d scene. Definition: link.c:1585 unsigned int LinkNBodies(Tlink *l) Gets the number of convex parts of the link. Definition: link.c:246 boolean AllRevolute(Tmechanism *m) TRUE if all joints are revolute joints. Definition: mechanism.c:193 void GetMechanismDOFsFromTransforms(Tparameters *p, THTransform *tl, double *dof, Tmechanism *m) Extract the joint DOF values form the poses of all links. Definition: mechanism.c:298 unsigned int AddJoint2Mechanism(Tjoint *j, Tmechanism *m) Adds a joint to a mechanism. Definition: mechanism.c:111 Tjoint * GetMechanismJoint(unsigned int i, Tmechanism *m) Gets a joint given its identifier. Definition: mechanism.c:182 unsigned int GetMechanismNBodies(Tmechanism *m) Gets the number of convex sub-parts (or bodies) of a mechanism. Definition: mechanism.c:35 unsigned int GetMechanismNLinks(Tmechanism *m) Gets the number of links of a mechanism. Definition: mechanism.c:25 void GetMechanismDefiningPoint(unsigned int lID, unsigned int bID, unsigned int pID, double *p, Tmechanism *m) Gets a point from the mechanism. Definition: mechanism.c:88 unsigned int GetMechanismNJoints(Tmechanism *m) Gets the number of joints of a mechanism. Definition: mechanism.c:30 void InitVector(unsigned int ele_size, void(*Copy)(void *, void *), void(*Delete)(void *), unsigned int max_ele, Tvector *vector) Constructor. Definition: vector.c:100 #define IsGroundLink(id) A test that return TRUE if the given identifier is that of the ground link. Definition: link.h:79 void MoveMechanismFromTransforms(Tparameters *pr, Tplot3d *pt, THTransform *tl, Tmechanism *m) Displaces a mechanism in a 3d scene. Definition: mechanism.c:372 void SetVectorElement(unsigned int i, void *e, Tvector *vector) Adds an element to the vector in a given position. Definition: vector.c:234 Definition of the Tmechanism type and the associated functions. A table of parameters. unsigned int AddLink2Mechanism(Tlink *l, Tmechanism *m) Adds a link to a mechanism. Definition: mechanism.c:94 void MoveJointFromTransforms(Tparameters *p, Tplot3d *pt, THTransform *t1, THTransform *t2, Tjoint *j) Displaces a joint in a 3d scene. Definition: joint.c:3199 void PrintMechanism(FILE *f, char *path, char *prefix, Tmechanism *m) Stores the mechanisms information into a file. Definition: mechanism.c:414 void LinkStoreAtoms(FILE *f, THTransform *tl, Tlink *l) Prints the center of the atoms in a link in gobal coordinates. Definition: link.c:1641 void PrintJoint(FILE *f, Tjoint *j) Stores the joint information into a file. Definition: joint.c:3310 Tlink * GetMechanismLink(unsigned int i, Tmechanism *m) Gets a link given its identifier. Definition: mechanism.c:146 A cuiksystem, i.e., a set of variables and equations defining a position analysis problem... Definition: cuiksystem.h:181 #define NO_UINT Used to denote an identifier that has not been initialized. Definition: defines.h:435 unsigned int JointFromID(Tjoint *j) Gets the identifier of the first link involved in the joint. Definition: joint.c:941 unsigned int AddBody2Mechanism(unsigned int lID, Tpolyhedron *b, Tmechanism *m) Adds a convex sub-part to a mechanism. Definition: mechanism.c:127 void RegenerateMechanismBox(Tparameters *p, TCuikSystem *cs, Tbox *b, Tmechanism *m) Computes the values for the non-system variables. Definition: mechanism.c:267 void GetPolyhedronDefiningPoint(unsigned int i, double *point, Tpolyhedron *p) Gets a point defining a a object. Definition: polyhedron.c:1190 unsigned int GetMechanismLinkID(char *ln, Tmechanism *m) Gets a link identifier given its name. Definition: mechanism.c:157 double GetParameter(unsigned int n, Tparameters *p) Gets the value for a particular parameter. Definition: parameters.c:93 signed int GetMechanismMobility(Tmechanism *m) Computes the mobility of a given mechanism. Definition: mechanism.c:73 boolean IsJointAllSpheres(Tjoint *j) Identifies joint formed only by spheres. Definition: joint.c:1004 void MechanismPrintAtoms(FILE *f, THTransform *tl, Tmechanism *m) Prints the center of the atoms in a mechanism. Definition: mechanism.c:320 void MechanismStoreRigidAtoms(FILE *f, THTransform *tl, Tmechanism *m) Auxiliary function for WorldStoreRigidGroups. Definition: mechanism.c:335 unsigned int JointToID(Tjoint *j) Gets the identifier of the second link involved in the joint. Definition: joint.c:951 void RegenerateMechanismSolution(Tparameters *p, TCuikSystem *cs, double *sol, Tmechanism *m) Computes the values for the non-system variables used to represent the rotation matrices for all link... Definition: mechanism.c:242 void RegenerateJointBox(Tparameters *p, TCuikSystem *cs, Tbox *b, Tjoint *j) Computes the values for the dummy variables used in the joint equations. Definition: joint.c:2292 |
Follow us!