1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/uiNodeGraphNode.h"
2#ifndef _ufe_uiNodeGraphNode
3#define _ufe_uiNodeGraphNode
33 typedef std::shared_ptr<UINodeGraphNode>
Ptr;
80 auto cmd = setPositionCmd(pos);
92 auto cmd = setSizeCmd(size);
104 auto cmd = setDisplayColorCmd(color);
110 setDisplayColor(
Color3f(r, g, b));
std::shared_ptr< SceneItem > Ptr
Abstract base class for UINodeGraphNode interface.
virtual void setPosition(const Ufe::Vector2f &pos)
Set the UINodeGraphNode's position.
virtual Ufe::Vector2f getSize() const =0
virtual void setSize(const Ufe::Vector2f &size)
Set the UINodeGraphNode's size.
virtual SceneItem::Ptr sceneItem() const =0
UINodeGraphNode(const UINodeGraphNode &)=delete
No copy or move constructor/assignment.
std::shared_ptr< UINodeGraphNode > Ptr
virtual ~UINodeGraphNode()=default
UINodeGraphNode(UINodeGraphNode &&)=delete
void setPosition(float x, float y)
static Ptr uiNodeGraphNode(const SceneItem::Ptr &item)
void setDisplayColor(float r, float g, float b)
virtual UndoableCommand::Ptr setDisplayColorCmd(const Ufe::Color3f &color)=0
virtual UndoableCommand::Ptr setPositionCmd(const Ufe::Vector2f &pos)=0
virtual bool hasDisplayColor() const =0
virtual bool hasPosition() const =0
UINodeGraphNode()=default
Constructor.
virtual Ufe::Color3f getDisplayColor() const =0
virtual Ufe::Vector2f getPosition() const =0
UINodeGraphNode & operator=(UINodeGraphNode &&)=delete
virtual void setDisplayColor(const Ufe::Color3f &color)
Set the UINodeGraphNode's display color.
void setSize(float x, float y)
virtual UndoableCommand::Ptr setSizeCmd(const Ufe::Vector2f &size)=0
virtual bool hasSize() const =0
UINodeGraphNode & operator=(const UINodeGraphNode &)=delete
std::shared_ptr< UndoableCommand > Ptr
TypedColorN< float, 3 > Color3f
TypedVectorN< float, 2 > Vector2f
Typed vector template for creating a specialized vector with N elements.
Definition of macros for symbol visibility.