Base class handling position for Graph::ITransform node.
More...
#include <murl_logic_graph_position_object.h>
Base class handling position for Graph::ITransform node.
◆ GraphPositionObject()
Murl::Logic::GraphPositionObject::GraphPositionObject |
( |
SInt32 |
baseDepth = 0 | ) |
|
|
inline |
The default constructor.
- Parameters
-
baseDepth | The base depth order. |
◆ Init() [1/2]
Initialize the object.
- Parameters
-
nodeObserver | The INodeObserver object. |
root | The graph root node. |
nodeIdPath | The full path to the graph transform node instance. |
baseDepth | The base depth order. |
- Returns
- true if successful.
Reimplemented in Murl::Logic::GraphPositionInstance.
◆ Init() [2/2]
Initialize the object.
- Parameters
-
nodeObserver | The INodeObserver object. |
namespaceNode | The graph namespace node. |
nodeIdPath | The relative path to the graph transform node instance. |
baseDepth | The base depth order. |
- Returns
- true if successful.
◆ DeInit()
virtual Bool Murl::Logic::GraphPositionObject::DeInit |
( |
| ) |
|
|
inlinevirtual |
◆ GetPosition()
virtual const Vector& Murl::Logic::GraphPositionObject::GetPosition |
( |
| ) |
const |
|
inlinevirtual |
Get the position vector.
- Returns
- The position vector.
◆ SetPosition() [1/3]
virtual void Murl::Logic::GraphPositionObject::SetPosition |
( |
const Vector & |
position | ) |
|
|
inlinevirtual |
Set the position vector.
- Parameters
-
position | The position vector. |
◆ SetPosition() [2/3]
virtual void Murl::Logic::GraphPositionObject::SetPosition |
( |
Real |
x, |
|
|
Real |
y |
|
) |
| |
|
inlinevirtual |
Set the x/y positionr.
- Parameters
-
x | The x-position. |
y | The y-position. |
◆ SetPosition() [3/3]
virtual void Murl::Logic::GraphPositionObject::SetPosition |
( |
Real |
x, |
|
|
Real |
y, |
|
|
Real |
z |
|
) |
| |
|
inlinevirtual |
Set the x/y/z positionr.
- Parameters
-
x | The x-position. |
y | The y-position. |
z | The z-position. |
◆ AddPosition()
virtual void Murl::Logic::GraphPositionObject::AddPosition |
( |
const Vector & |
position | ) |
|
|
inlinevirtual |
Add a vector to the position.
- Parameters
-
position | The vector to add. |
◆ SetSortDepth()
virtual void Murl::Logic::GraphPositionObject::SetSortDepth |
( |
SInt32 |
sortDepth | ) |
|
|
inlinevirtual |
Set the current depth sort order.
- Parameters
-
sortDepth | The current depth sort order. |
◆ GetSortDepth()
virtual SInt32 Murl::Logic::GraphPositionObject::GetSortDepth |
( |
| ) |
const |
|
inlinevirtual |
Get the current depth sort order.
- Returns
- The current depth sort order.
◆ SetBaseSortDepth()
virtual void Murl::Logic::GraphPositionObject::SetBaseSortDepth |
( |
SInt32 |
sortDepth | ) |
|
|
inlinevirtual |
Set the base depth sort order.
The base depth order is added to the current depht sort order when applying the depth sort order to the transformation.
- Parameters
-
sortDepth | The base depth sort order. |
◆ GetBaseSortDepth()
virtual SInt32 Murl::Logic::GraphPositionObject::GetBaseSortDepth |
( |
| ) |
const |
|
inlinevirtual |
Get the base depth sort order.
- Returns
- The base depth sort order.
◆ ApplySortDepth()
virtual void Murl::Logic::GraphPositionObject::ApplySortDepth |
( |
| ) |
|
|
inlineprotectedvirtual |
Apply the depth sort order to the transformation.
This method can be overwritten for custom behaviour.
◆ ApplyPosition()
virtual void Murl::Logic::GraphPositionObject::ApplyPosition |
( |
| ) |
|
|
inlineprotectedvirtual |
Apply the position vector to the transformation.
This method can be overwritten for custom behaviour.
The documentation for this class was generated from the following file:
- murl_logic_graph_position_object.h