The ITransform graph node interface. More...

#include "murl_graph_i_transform.h"

Inheritance diagram for Murl::Graph::ITransform:

Public Member Functions

virtual INodeGetNodeInterface ()=0
 Get the mutable INode interface. More...
 
virtual const INodeGetNodeInterface () const =0
 Get the constant INode interface. More...
 
- Public Member Functions inherited from Murl::Graph::ITransformable
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 MatrixGetTransform () const =0
 Get a constant reference to the internal 4x4 transformation matrix. More...
 
virtual MatrixGetTransform ()=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 VectorGetPosition () 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 VectorGetRotation () 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...
 

Detailed Description

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.

Member Function Documentation

◆ GetNodeInterface() [1/2]

virtual INode* Murl::Graph::ITransform::GetNodeInterface ( )
pure virtual

Get the mutable INode interface.

This method returns a mutable pointer to the node's INode interface, to be able to query or modify common node properties such as active state, visibility or ID.

Returns
The mutable INode interface, or null if not available

◆ GetNodeInterface() [2/2]

virtual const INode* Murl::Graph::ITransform::GetNodeInterface ( ) const
pure virtual

Get the constant INode interface.

This method returns a constant pointer to the node's INode interface, to be able to query common node properties such as active state, visibility or ID.

Returns
The constant INode interface, or null if not available

The documentation for this interface was generated from the following file:
  • murl_graph_i_transform.h


Copyright © 2011-2024 Spraylight GmbH.