#include <SO3Bone.h>
Public Member Functions | |
| SBone (SScene *parent, std::string boneName, SSkeleton *skeleton, unsigned short id) | |
| ~SBone () | |
| Ogre::Bone * | GetOgreBonePointer () |
| virtual void | Rotate (Ogre::Vector3 axis, float radianAngle, SNode::NodeTransformSpace relativeTo=SNode::SO3_LOCAL_TS) |
| virtual void | SetOrientation (Ogre::Quaternion quat) |
| virtual void | AddOrientation (Ogre::Quaternion quat) |
| virtual void | ResetToInitialOrientation () |
| virtual void | SetPosition (Ogre::Vector3 pos) |
| virtual void | Translate (Ogre::Vector3 d, SNode::NodeTransformSpace relativeTo=SNode::SO3_PARENT_TS) |
| virtual void | SetScale (Ogre::Vector3 scale) |
| virtual Ogre::Vector3 | GetPosition () |
| virtual Ogre::Quaternion | GetOrientation () |
| virtual Ogre::Vector3 | GetScale () |
| virtual Ogre::Vector3 | GetInitialPosition () |
| virtual Ogre::Quaternion | GetInitialOrientation () |
| virtual Ogre::Vector3 | GetInitialScale () |
| virtual Ogre::Vector3 | GetGlobalPosition () |
| virtual Ogre::Quaternion | GetGlobalOrientation () |
| virtual Ogre::Vector3 | GetGlobalScale () |
| virtual void | SetGlobalPosition (Ogre::Vector3 pos) |
| virtual void | SetGlobalOrientation (Ogre::Quaternion quat) |
| virtual Ogre::Matrix4 | GetTransformationMatrix () |
| virtual void | Pitch (float radianAngle, SNode::NodeTransformSpace relativeTo=SNode::SO3_LOCAL_TS) |
| virtual void | Yaw (float radianAngle, SNode::NodeTransformSpace relativeTo=SNode::SO3_LOCAL_TS) |
| virtual void | Roll (float radianAngle, SNode::NodeTransformSpace relativeTo=SNode::SO3_LOCAL_TS) |
| virtual int | GetNumChildren () |
| virtual void | StoreInitialPRS () |
| virtual void | ResetToInitialPRS () |
| unsigned short | GetIndex () |
Protected Member Functions | |
| void | AttachToBone (SNode *newChild) |
| void | DetachFromBone (SNode *existingChild) |
Protected Attributes | |
| SSkeleton * | parentSkeleton |
| Ogre::Bone * | O3Bone |
| Ogre::Entity * | ogreLinkedEntity |
| string | scolName |
| unsigned short | boneIndex |
Friends | |
| class | SNode |
Definition at line 41 of file SO3Bone.h.
Definition at line 12 of file SO3Bone.cpp.
| SBone::~SBone | ( | ) |
Definition at line 51 of file SO3Bone.cpp.
| void SBone::AddOrientation | ( | Ogre::Quaternion | quat ) | [virtual] |
Add a rotation to the node in local space terms.
Reimplemented from SNode.
Definition at line 85 of file SO3Bone.cpp.
| void SBone::AttachToBone | ( | SNode * | newChild ) | [protected] |
Definition at line 254 of file SO3Bone.cpp.
| void SBone::DetachFromBone | ( | SNode * | existingChild ) | [protected] |
Definition at line 270 of file SO3Bone.cpp.
| Ogre::Quaternion SBone::GetGlobalOrientation | ( | ) | [virtual] |
Get the node orientation in global space terms.
Reimplemented from SNode.
Definition at line 165 of file SO3Bone.cpp.
| Ogre::Vector3 SBone::GetGlobalPosition | ( | ) | [virtual] |
Get the node position in global space terms.
Reimplemented from SNode.
Definition at line 160 of file SO3Bone.cpp.
| Ogre::Vector3 SBone::GetGlobalScale | ( | ) | [virtual] |
Get the node scale in global space terms.
Reimplemented from SNode.
Definition at line 170 of file SO3Bone.cpp.
| unsigned short SBone::GetIndex | ( | ) |
Definition at line 249 of file SO3Bone.cpp.
| Ogre::Quaternion SBone::GetInitialOrientation | ( | ) | [virtual] |
Get the node orientation before "play".
Reimplemented from SNode.
Definition at line 150 of file SO3Bone.cpp.
| Ogre::Vector3 SBone::GetInitialPosition | ( | ) | [virtual] |
Get the node position before "play".
Reimplemented from SNode.
Definition at line 145 of file SO3Bone.cpp.
| Ogre::Vector3 SBone::GetInitialScale | ( | ) | [virtual] |
Get the node scale before "play".
Reimplemented from SNode.
Definition at line 155 of file SO3Bone.cpp.
| int SBone::GetNumChildren | ( | ) | [virtual] |
Reimplemented from SNode.
Definition at line 230 of file SO3Bone.cpp.
| Ogre::Bone * SBone::GetOgreBonePointer | ( | ) |
Definition at line 61 of file SO3Bone.cpp.
| Ogre::Quaternion SBone::GetOrientation | ( | ) | [virtual] |
Get the node orientation in local space terms.
Reimplemented from SNode.
Definition at line 135 of file SO3Bone.cpp.
| Ogre::Vector3 SBone::GetPosition | ( | ) | [virtual] |
Get the node position in local space terms.
Reimplemented from SNode.
Definition at line 130 of file SO3Bone.cpp.
| Ogre::Vector3 SBone::GetScale | ( | ) | [virtual] |
Get the node scale in local space terms.
Reimplemented from SNode.
Definition at line 140 of file SO3Bone.cpp.
| Ogre::Matrix4 SBone::GetTransformationMatrix | ( | ) | [virtual] |
Reimplemented from SNode.
Definition at line 201 of file SO3Bone.cpp.
| void SBone::Pitch | ( | float | radianAngle, |
| SNode::NodeTransformSpace | relativeTo = SNode::SO3_LOCAL_TS |
||
| ) | [virtual] |
Reimplemented from SNode.
Definition at line 206 of file SO3Bone.cpp.
| void SBone::ResetToInitialOrientation | ( | ) | [virtual] |
Reset the node Orientation as it was before "play" (as it was when "StoreInitialPRS" was called).
Reimplemented from SNode.
Definition at line 98 of file SO3Bone.cpp.
| void SBone::ResetToInitialPRS | ( | ) | [virtual] |
Reset the node Position, Rotation and Scale as it was before "play" (as it was when "StoreInitialPRS" was called).
Reimplemented from SNode.
Definition at line 242 of file SO3Bone.cpp.
| void SBone::Roll | ( | float | radianAngle, |
| SNode::NodeTransformSpace | relativeTo = SNode::SO3_LOCAL_TS |
||
| ) | [virtual] |
Reimplemented from SNode.
Definition at line 222 of file SO3Bone.cpp.
| void SBone::Rotate | ( | Ogre::Vector3 | axis, |
| float | radianAngle, | ||
| SNode::NodeTransformSpace | relativeTo = SNode::SO3_LOCAL_TS |
||
| ) | [virtual] |
Reimplemented from SNode.
Definition at line 66 of file SO3Bone.cpp.
| void SBone::SetGlobalOrientation | ( | Ogre::Quaternion | quat ) | [virtual] |
Set the node orientation in global space terms.
Reimplemented from SNode.
Definition at line 193 of file SO3Bone.cpp.
| void SBone::SetGlobalPosition | ( | Ogre::Vector3 | pos ) | [virtual] |
Set the node position in global space terms.
Reimplemented from SNode.
Definition at line 185 of file SO3Bone.cpp.
| void SBone::SetOrientation | ( | Ogre::Quaternion | quat ) | [virtual] |
Set the node orientation in local space terms.
Reimplemented from SNode.
Definition at line 75 of file SO3Bone.cpp.
| void SBone::SetPosition | ( | Ogre::Vector3 | pos ) | [virtual] |
Set the node position in local space terms.
Reimplemented from SNode.
Definition at line 106 of file SO3Bone.cpp.
| void SBone::SetScale | ( | Ogre::Vector3 | scale ) | [virtual] |
Set the node scale in local space terms.
Reimplemented from SNode.
Definition at line 122 of file SO3Bone.cpp.
| void SBone::StoreInitialPRS | ( | ) | [virtual] |
Store the node actual Position, Rotation and Scale before "play".
Reimplemented from SNode.
Definition at line 235 of file SO3Bone.cpp.
| void SBone::Translate | ( | Ogre::Vector3 | d, |
| SNode::NodeTransformSpace | relativeTo = SNode::SO3_PARENT_TS |
||
| ) | [virtual] |
Reimplemented from SNode.
Definition at line 114 of file SO3Bone.cpp.
| void SBone::Yaw | ( | float | radianAngle, |
| SNode::NodeTransformSpace | relativeTo = SNode::SO3_LOCAL_TS |
||
| ) | [virtual] |
Reimplemented from SNode.
Definition at line 214 of file SO3Bone.cpp.
unsigned short SBone::boneIndex [protected] |
Ogre::Bone* SBone::O3Bone [protected] |
Ogre::Entity* SBone::ogreLinkedEntity [protected] |
SSkeleton* SBone::parentSkeleton [protected] |
string SBone::scolName [protected] |
1.7.2