![]() |
Murl Engine API
Version 2018.3
|
The ITransform graph node interface. More...
#include <murl_graph_i_transform.h>
The ITransform graph node interface.
This interface represents a node implementing the Graph::ITransformable interface, for the purpose of creating a transform hierarchy in the scene graph.
See the Graph::ITransformable base interface for details.
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant INode interface. More... | |
![]() | |
virtual Bool | SetDepthOrder (SInt32 depthOrder)=0 |
Set the depth order. More... | |
virtual SInt32 | GetDepthOrder () const =0 |
Get the depth order. More... | |
virtual Bool | SetTransform (const Matrix &transform)=0 |
Set the 4x4 transformation matrix. More... | |
virtual const Matrix & | GetTransform () const =0 |
Get a constant reference to the internal 4x4 transformation matrix. More... | |
virtual Matrix & | GetTransform ()=0 |
Get a mutable reference to the internal 4x4 transformation matrix. More... | |
virtual Bool | SetPosition (const Vector &pos)=0 |
Set the translation component of the transformation matrix. More... | |
virtual Bool | SetPosition (Real posX, Real posY, Real posZ)=0 |
Set the translation component of the transformation matrix. More... | |
virtual Bool | SetPositionX (Real pos)=0 |
Set the X component of the transformation matrix' translation. More... | |
virtual Bool | SetPositionY (Real pos)=0 |
Set the Y component of the transformation matrix' translation. More... | |
virtual Bool | SetPositionZ (Real pos)=0 |
Set the Z component of the transformation matrix' translation. More... | |
virtual const Vector & | GetPosition () const =0 |
Get a constant reference to the internal position vector. More... | |
virtual Real | GetPositionX () const =0 |
Get the X component of the transformation matrix' translation. More... | |
virtual Real | GetPositionY () const =0 |
Get the Y component of the transformation matrix' translation. More... | |
virtual Real | GetPositionZ () const =0 |
Get the Z component of the transformation matrix' translation. More... | |
virtual Bool | SetRotation (const Vector &axis, Real angle)=0 |
Set the rotation component of the transformation matrix in axis-angle notation. More... | |
virtual Bool | SetRotation (const Quaternion &q)=0 |
Set the rotation component of the transformation matrix by a quaternion. More... | |
virtual Bool | SetRotationOrder (IEnums::RotationOrder rotationOrder)=0 |
Set the axis rotation order for Euler axis notation. More... | |
virtual Bool | SetRotation (Real angleX, Real angleY, Real angleZ)=0 |
Set the rotation component of the transformation matrix in Euler angles notation. More... | |
virtual Bool | SetRotationXYZ (Real angleX, Real angleY, Real angleZ, IEnums::RotationOrder rotationOrder)=0 |
Set the rotation component of the transformation matrix in Euler angles notation with a given rotation order. More... | |
virtual Bool | SetRotationX (Real angle)=0 |
Set the rotation component of the transformation matrix to only rotate around the X axis. More... | |
virtual Bool | SetRotationY (Real angle)=0 |
Set the rotation component of the transformation matrix to only rotate around the Y axis. More... | |
virtual Bool | SetRotationZ (Real angle)=0 |
Set the rotation component of the transformation matrix to only rotate around the Z axis. More... | |
virtual IEnums::RotationOrder | GetRotationOrder () const =0 |
Get the axis rotation order for Euler axis notation. More... | |
virtual const Vector & | GetRotation () const =0 |
Get a constant reference to the internal euler angles vector. More... | |
virtual Real | GetRotationX () const =0 |
Get the rotation around the X axis. More... | |
virtual Real | GetRotationY () const =0 |
Get the rotation around the Y axis. More... | |
virtual Real | GetRotationZ () const =0 |
Get the rotation around the Z axis. More... | |
|
pure virtual |
|
pure virtual |