Skip to content

Core::Pin ​

Pin used for connecting nodes. More...

#include "Core/Nodes/Pin.h"

Public Functions ​

Name
Pin(EValueType valueType, bool isInput, Node & owner, int index)
const Data &data() const<br>Get stored data based on pin type.
Data &dataMut()
const std::string &getLabel() const
const std::vector< Pin * > &getOutComponents() const
Ptr< Node >getOwner() const
const Pin *getParentPin() const
std::stringgetSignature() const<br>"pin {index} of {node signature}"
boolisDisabled() const
boolisPluggedIn() const<br>Query if input of this object is plugged to any parent output.
boolisRendered() const<br>False in Camera P and V matrices ONLY.
voidsetDisabled(bool disabled)
voidsetRendered(bool value)
ENodePlugResultisPlugCorrect(const Pin & input, const Pin & output)

Public Attributes ​

Name
IDId
const intIndex <br>Index within a node.
const boolIsInput <br>Pin type.
Node &Owner
const EValueTypeValueType

Friends ​

Name
classNode

Detailed Description ​

cpp
class Core::Pin;

Pin used for connecting nodes.

OperatorCurveTab from I3T v1.

Public Functions Documentation ​

function Pin ​

cpp
Pin(
    EValueType valueType,
    bool isInput,
    Node & owner,
    int index
)

function data ​

cpp
const Data & data() const

Get stored data based on pin type.

Return: data storage owner by node connected to this input pin. If pin is output pin, it returns data storage of pin owner.

Precondition: If pin is input, it must be plugged to some output pin.

function dataMut ​

cpp
Data & dataMut()

function getLabel ​

cpp
const std::string & getLabel() const

function getOutComponents ​

cpp
inline const std::vector< Pin * > & getOutComponents() const

Return: Input pins of connected nodes.

function getOwner ​

cpp
Ptr< Node > getOwner() const

function getParentPin ​

cpp
const Pin * getParentPin() const

Return: nullptr if input is not plugged in.

function getSignature ​

cpp
std::string getSignature() const

"pin {index} of {node signature}"

function isDisabled ​

cpp
inline bool isDisabled() const

function isPluggedIn ​

cpp
bool isPluggedIn() const

Query if input of this object is plugged to any parent output.

Return: True if plugged to parent, false if not.

function isRendered ​

cpp
inline bool isRendered() const

False in Camera P and V matrices ONLY.

Used to skip hidden values stored as pins.

function setDisabled ​

cpp
inline void setDisabled(
    bool disabled
)

function setRendered ​

cpp
inline void setRendered(
    bool value
)

function isPlugCorrect ​

cpp
static ENodePlugResult isPlugCorrect(
    const Pin & input,
    const Pin & output
)

Public Attributes Documentation ​

variable Id ​

cpp
ID Id;

variable Index ​

cpp
const int Index = -1;

Index within a node.

variable IsInput ​

cpp
const bool IsInput;

Pin type.

variable Owner ​

cpp
Node & Owner;

variable ValueType ​

cpp
const EValueType ValueType = EValueType::Pulse;

Friends ​

friend Node ​

cpp
friend class Node(
    Node 
);

Updated on 2026-09-11 at 21:24:26 +0000