30 #include <tao/matrix/TaoDeMath.h>
49 virtual void sync(
deFrame* local);
51 virtual taoJoint* getJointList() {
return _jointList; }
52 virtual taoJoint const * getJointList()
const {
return _jointList; }
68 virtual deFloat*
mass() {
return &_mass; }
76 virtual void zeroForce() { _Fext.
zero(); }
84 virtual void integrate(deFloat dt);
86 virtual void setDParent(
taoDNode* n) { _parent = n; }
96 virtual void addJoint(
taoJoint* joint);
97 virtual void addABNode();
99 virtual void unlink();
102 virtual void deleteJointABNode();
154 virtual void sync(
deFrame* local) { _frameGlobal = *local; }
156 virtual taoJoint* getJointList() {
return NULL; }
157 virtual taoJoint const * getJointList()
const {
return NULL; }
167 virtual deFloat*
mass() {
return &_zero; }
172 virtual void zeroForce() {}
173 virtual void addForce(
const deVector6* f) {}
175 virtual void updateFrame() {}
176 virtual void integrate(deFloat dt) {}
189 void setGroup(
taoWorld* g) { _group = g; }
190 taoWorld* getGroup() {
return _group; }
192 void setController(taoControl* c) { _controller = c; }
193 taoControl* getController() {
return _controller; }
205 taoControl* _controller;
virtual taoDNode * getDChild()
Definition: taoNode.h:181
3x1 vector classThis is a C++ wrapper class of deVector3f.
Definition: TaoDeVector3.h:32
virtual deFrame * frameGlobal()
global frame for the dynamics computation
Definition: taoNode.h:165
node class for articulated body dynamicsThis implements taoDNode for articulated body dynamics...
Definition: taoNode.h:42
virtual deMatrix3 * inertia()
Definition: taoNode.h:170
virtual void impulseDist(const deVector3 *Pie, const deVector3 *Yie)
computes new position given pseudo impulse
Definition: taoNode.cpp:232
virtual void sync()
Definition: taoNode.cpp:286
6x1 vector classThis class consists of two 3x1 vectors.
Definition: TaoDeVector6.h:33
abstract node class for articulated bodyA dynamics node = {Articulated Body Link + Set of associated ...
Definition: taoDNode.h:46
virtual void addForce(const deVector6 *f)
Definition: taoNode.h:80
virtual void linearAcceleration(deVector3 *Aie, const deVector3 *Pie)
Definition: taoNode.cpp:211
root node class for articulated body dynamicsThis implements taoDNode for root node of a articulated ...
Definition: taoNode.h:147
virtual void updateFrame()
Definition: taoNode.cpp:102
virtual deVector6 * velocity()
Definition: taoNode.cpp:31
virtual taoDNode * getDParent()
Definition: taoNode.h:178
virtual deFrame * frameHome()
Definition: taoNode.h:64
virtual deFrame * frameHome()
Definition: taoNode.h:163
virtual deFrame * frameLocal()
Definition: taoNode.h:65
container class to hold dynamics charactersA group is a container object for dynamics characters...
Definition: taoWorld.h:45
DE_MATH_API void zero()
this = zero vector
Definition: TaoDeVector6Inl.h:36
virtual deVector6 * force()
Definition: taoNode.h:75
virtual taoDNode * getDParent()
Definition: taoNode.h:87
virtual deVector6 * force()
Definition: taoNode.h:171
Transformation class using quaternionThis class consists of a quaternion for rotation and a vector fo...
Definition: TaoDeFrame.h:36
virtual deFrame * frameGlobal()
global frame for the dynamics computation
Definition: taoNode.h:66
virtual deVector3 * center()
Definition: taoNode.h:168
virtual void getFrameGraphics(deFrame *Tog)
global frame for graphics display
Definition: taoNode.h:161
virtual taoDNode * getDChild()
Definition: taoNode.h:90
virtual deFloat * mass()
Definition: taoNode.h:167
virtual deVector6 * acceleration()
Definition: taoNode.cpp:36
Base joint class for articulated bodyThis provides a joint for articulated body dynamics.
Definition: taoJoint.h:45
virtual taoDNode * getDSibling()
Definition: taoNode.h:183
virtual void getFrameGraphics(deFrame *Tog)
global frame for graphics display
Definition: taoNode.h:62
virtual taoDNode * getDSibling()
Definition: taoNode.h:93
virtual void impulse(const deVector3 *Pie, const deVector3 *Yie)
computes new velocity given impulse
Definition: taoNode.cpp:227
virtual deMatrix3 * inertia()
Definition: taoNode.h:71
virtual deVector3 * center()
Definition: taoNode.h:69
3x3 matrix classThis is a C++ wrapper class of deMatrix3f.
Definition: TaoDeMatrix3.h:33
virtual deFloat * mass()
Definition: taoNode.h:68
virtual deFrame * frameLocal()
Definition: taoNode.h:164
virtual void linearVelocity(deVector3 *Vie, const deVector3 *Pie)
Definition: taoNode.cpp:205