#include <OgreRefAppJointSubtypes.h>
Inheritance diagram for OgreRefApp::BallJoint:

Public Types | |
| enum | JointType { JT_BALL, JT_SLIDER, JT_HINGE, JT_UNIVERSAL, JT_HINGE2 } |
| The type of joint. More... | |
Public Member Functions | |
| BallJoint (Joint::JointType jtype, ApplicationObject *obj1, ApplicationObject *obj2) | |
| ~BallJoint () | |
| void | setAnchorPosition (const Vector3 &point) |
| Set the anchor point of this joint. | |
| void | setAxes (const Vector3 &primaryAxis, const Vector3 &secondaryAxis=Vector3::ZERO) |
| Sets the axes for this joint. | |
| JointType | getType (void) |
| Returns the type of this joint. | |
| virtual const Vector3 & | getAnchorPosition (void) |
| Gets the anchor position of this joint. | |
| virtual const std::pair< ApplicationObject *, ApplicationObject * > & | getAttachments (void) |
| Gets the attached objects, a NULL means no object ie a static attachment. | |
| virtual const std::pair< Vector3, Vector3 > & | getAxes (void) |
| Gets the axes of this joint. | |
Protected Member Functions | |
| void | setAttachments (ApplicationObject *obj1, ApplicationObject *obj2) |
| Sets the objects attached to this joint. | |
Protected Attributes | |
| JointType | mType |
| Vector3 | mAnchor |
| std::pair< ApplicationObject *, ApplicationObject * > | mAttachedObjects |
| std::pair< Vector3, Vector3 > | mAxes |
| dJoint * | mOdeJoint |
Definition at line 34 of file OgreRefAppJointSubtypes.h.
|
|
The type of joint.
Definition at line 46 of file OgreRefAppJoint.h. |
|
||||||||||||||||
|
|
|
|
Definition at line 38 of file OgreRefAppJointSubtypes.h. |
|
|
Gets the anchor position of this joint.
|
|
|
Gets the attached objects, a NULL means no object ie a static attachment.
|
|
|
Gets the axes of this joint.
|
|
|
Returns the type of this joint.
|
|
|
Set the anchor point of this joint.
Implements OgreRefApp::Joint. |
|
||||||||||||
|
Sets the objects attached to this joint.
|
|
||||||||||||
|
Sets the axes for this joint.
Implements OgreRefApp::Joint. Definition at line 50 of file OgreRefAppJointSubtypes.h. |
|
|
Definition at line 106 of file OgreRefAppJoint.h. |
|
|
Definition at line 107 of file OgreRefAppJoint.h. |
|
|
Definition at line 108 of file OgreRefAppJoint.h. |
|
|
Definition at line 111 of file OgreRefAppJoint.h. |
|
|
Definition at line 105 of file OgreRefAppJoint.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:48:14 2005