Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

ctRevoluteJoint Class Reference

a hinge. More...

#include <joint.h>

Inheritance diagram for ctRevoluteJoint:

ctJoint ctConstrainedRevoluteJoint List of all members.

Public Methods

 ctRevoluteJoint (ctArticulatedBody *in, ctVector3 &in_offset, ctArticulatedBody *out, ctVector3 &out_offset, ctVector3 &paxis)
virtual void calc_vw (ctVector3 &v, ctVector3 &w)
 Add v and w (angular v) of the outboard link, contributed from joints state.

virtual void calc_coriolus (const ctVector3 &r, const ctVector3 &w_f, ctSpatialVector &c)
 calc corioulous force generated by this joint. More...

virtual ctSpatialVector get_spatial_joint_axis ()

Detailed Description

a hinge.


Member Function Documentation

virtual void ctRevoluteJoint::calc_coriolus ( const ctVector3 & r,
const ctVector3 & w_f,
ctSpatialVector & c ) [virtual]
 

calc corioulous force generated by this joint.

Result goes in c r is vector from center of inboard handle to center of outboard handle. w_f is the angular velocity of inboard handle.

Reimplemented from ctJoint.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000