PhyFixed class. More...

Inheritance diagram for PhyFixed:

List of all members.

Public Member Functions

 PhyFixed (PhyObject *parent, PhyObject *child, bool cp=true)
 Constructor.
virtual wVector centre () const
 Return the centre of this joint in world coordinate.
virtual void updateJointInfo ()
 Update the Joint informations (each PhyDOF will be updated)

Protected Member Functions

void createPrivateJoint ()
 Engine encapsulation.
virtual void updateJoint (real timestep)

Protected Attributes

wMatrix globalMatrixChild
 Global Matrix respect to Child.
wMatrix globalMatrixParent
 Global Matrix respect to Parent.
wMatrix localMatrixChild
 Local frame of the joint respect to the child matrix.
wMatrix localMatrixParent
 Local frame of the joint respect to the parent matrix.

Detailed Description

PhyFixed class.

\

Motivation
a 0-DOF Joint.
Description
This joint fix togheter two object
Warnings
Warnings

Definition at line 43 of file phyfixed.h.


Constructor & Destructor Documentation


Member Function Documentation

wVector centre ( ) const [virtual]

Return the centre of this joint in world coordinate.

Implements PhyJoint.

Definition at line 57 of file phyfixed.cpp.

References PhyFixed::globalMatrixParent, PhyFixed::localMatrixParent, WObject::matrix(), and PhyJoint::parent().

void createPrivateJoint ( ) [protected]

Engine encapsulation.

Definition at line 65 of file phyfixed.cpp.

References PhyJoint::priv.

Referenced by PhyFixed::PhyFixed().

void updateJointInfo ( ) [virtual]

Member Data Documentation

Global Matrix respect to Child.

This represent the local frame of joint in global coordinate starting from localMatrixParent representation.

Definition at line 74 of file phyfixed.h.

Referenced by PhyFixed::updateJointInfo().

wMatrix globalMatrixParent [mutable, protected]

Global Matrix respect to Parent.

This represent the local frame of joint in global coordinate starting from localMatrixParent representation.

Note: The differences between globalMatrixParent and globalMatrixChild are due to numerical error on joint solver of physic engine used.

Definition at line 68 of file phyfixed.h.

Referenced by PhyFixed::centre(), PhyFixed::PhyFixed(), and PhyFixed::updateJointInfo().

Local frame of the joint respect to the child matrix.

Definition at line 58 of file phyfixed.h.

Referenced by PhyFixed::PhyFixed(), and PhyFixed::updateJointInfo().

Local frame of the joint respect to the parent matrix.

Definition at line 56 of file phyfixed.h.

Referenced by PhyFixed::centre(), PhyFixed::PhyFixed(), and PhyFixed::updateJointInfo().


The documentation for this class was generated from the following files: