This is an interface for all child 3D objects that can have their full transforms manipulated. More...
#include <transformableobject.h>
Public Member Functions | |
virtual | ~TransformableChildObject () |
Class Destructor. | |
virtual Vector3 | GetLocation () const =0 |
Gets this objects current location. More... | |
virtual Quaternion | GetOrientation () const =0 |
Gets this objects current orientation. More... | |
virtual Vector3 | GetScale () const =0 |
Gets the scaling currently being applied to this object. More... | |
virtual void | Pitch (const Real Angle, const Mezzanine::TransformSpace Space=Mezzanine::TS_Parent)=0 |
Rotate the object around the X axis. More... | |
virtual void | Roll (const Real Angle, const Mezzanine::TransformSpace Space=Mezzanine::TS_Parent)=0 |
Rotate the object around the Z axis. More... | |
virtual void | Rotate (const Vector3 &Axis, const Real Angle, const Mezzanine::TransformSpace Space=Mezzanine::TS_Parent)=0 |
Rotates the object from it's existing rotation. More... | |
virtual void | Rotate (const Quaternion &Rotation, const Mezzanine::TransformSpace Space=Mezzanine::TS_Parent)=0 |
Rotates the object from it's existing rotation. More... | |
virtual void | Scale (const Vector3 &Scale)=0 |
Scales the object from it's current size. More... | |
virtual void | Scale (const Real X, const Real Y, const Real Z)=0 |
Scales the object from it's current size. More... | |
virtual void | SetLocation (const Vector3 &Loc)=0 |
Sets the location of this object in parent space. More... | |
virtual void | SetLocation (const Real X, const Real Y, const Real Z)=0 |
Sets the location of this object in parent space via Reals. More... | |
virtual void | SetOrientation (const Quaternion &Ori)=0 |
Sets the orientation of this object in parent space. More... | |
virtual void | SetOrientation (const Real X, const Real Y, const Real Z, const Real W)=0 |
Sets the orientation of this object in parent space via Reals. More... | |
virtual void | SetScale (const Vector3 &Sc)=0 |
Sets the scaling to be applied to this object. More... | |
virtual void | SetScale (const Real X, const Real Y, const Real Z)=0 |
Sets the scaling to be applied to this object via Reals. More... | |
virtual void | Translate (const Vector3 &Trans, const Mezzanine::TransformSpace Space=Mezzanine::TS_Parent)=0 |
Moves this object from it's current location. More... | |
virtual void | Translate (const Real X, const Real Y, const Real Z, const Mezzanine::TransformSpace Space=Mezzanine::TS_Parent)=0 |
Moves this object from it's current location. More... | |
virtual void | Yaw (const Real Angle, const Mezzanine::TransformSpace Space=Mezzanine::TS_Parent)=0 |
Rotate the object around the Y axis. More... | |
This is an interface for all child 3D objects that can have their full transforms manipulated.
Unlike TransformableObject, this interface has added parameters to it's methods for defining which transform space the operation is to occur in.
Definition at line 166 of file transformableobject.h.
|
pure virtual |
Gets this objects current location.
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Gets this objects current orientation.
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Gets the scaling currently being applied to this object.
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Rotate the object around the X axis.
Angle | The angle to rotate this object in radians. |
Space | The transform space in which to apply this rotation. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Rotate the object around the Z axis.
Angle | The angle to rotate this object in radians. |
Space | The transform space in which to apply this rotation. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Rotates the object from it's existing rotation.
Axis | The axis on which this object will be rotated. |
Angle | The angle to rotate this object in radians. |
Space | The transform space in which to apply this rotation. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Rotates the object from it's existing rotation.
Rotation | The rotation to apply to this object. |
Space | The transform space in which to apply this rotation. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Scales the object from it's current size.
Scale | A Vector3 representing the scaling to apply to this object. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Scales the object from it's current size.
X | The scaling factor to apply on the X axis. |
Y | The scaling factor to apply on the Y axis. |
Z | The scaling factor to apply on the Z axis. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Sets the location of this object in parent space.
Location | A Vector3 representing the location this object is to be set to. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Sets the location of this object in parent space via Reals.
X | The position on the X axis where this object is to be set. |
Y | The position on the Y axis where this object is to be set. |
Z | The position on the Z axis where this object is to be set. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Sets the orientation of this object in parent space.
Orientation | A Quaternion representing the rotation this object is to be set to. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Sets the orientation of this object in parent space via Reals.
X | The X component of the Axis. |
Y | The Y component of the Axis. |
Z | The Z component of the Axis. |
W | Rotation on the Axis X, Y and Z defined. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Sets the scaling to be applied to this object.
Scale | A Vector3 representing the amount of scaling to apply to this object. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Sets the scaling to be applied to this object via Reals.
X | The scaling factor to apply on the X axis. |
Y | The scaling factor to apply on the Y axis. |
Z | The scaling factor to apply on the Z axis. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Moves this object from it's current location.
Trans | A Vector3 representing the amount of movement to apply to this object. |
Space | The transform space in which to apply this translation. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Moves this object from it's current location.
X | The amount of movement to apply on the X axis. |
Y | The amount of movement to apply on the Y axis. |
Z | The amount of movement to apply on the Z axis. |
Space | The transform space in which to apply this translation. |
Implemented in Mezzanine::Graphics::Bone.
|
pure virtual |
Rotate the object around the Y axis.
Angle | The angle to rotate this object in radians. |
Space | The transform space in which to apply this rotation. |
Implemented in Mezzanine::Graphics::Bone.