76 Node(
bNode *editorNode,
bool create_sockets =
true);
92 return m_editorNodeTree;
103 this->m_editorNode =
node;
112 this->m_editorNodeTree = nodetree;
151 this->m_inActiveGroup = value;
162 return this->m_inActiveGroup;
178 m_instanceKey = instance_key;
182 return m_instanceKey;
236 return this->m_editorSocket;
278 return this->m_editorSocket;
Overall context of the compositor.
NodeOutput are sockets that can send data/input.
bNodeSocket * getbNodeSocket() const
void getEditorValueColor(float *value)
NodeOutput(Node *node, bNodeSocket *b_socket, DataType datatype)
void getEditorValueVector(float *value)
DataType getDataType() const
float getEditorValueFloat()
Vector< NodeInput * > inputs
the list of actual input-sockets
Vector< NodeOutput * > outputs
the list of actual output-sockets
NodeOutput * getOutputSocket(const unsigned int index=0) const
bNodeSocket * getEditorInputSocket(int editorNodeInputSocketIndex)
bNode * getbNode() const
get the reference to the SDNA bNode struct
bNodeInstanceKey getInstanceKey() const
Node(bNode *editorNode, bool create_sockets=true)
NodeInput * getInputSocket(const unsigned int index) const
void setbNode(bNode *node)
set the reference to the bNode
void setbNodeTree(bNodeTree *nodetree)
set the reference to the bNodeTree
void setInstanceKey(bNodeInstanceKey instance_key)
virtual void convertToOperations(NodeConverter &converter, const CompositorContext &context) const =0
convert node to operation
bNodeSocket * getEditorOutputSocket(int editorNodeOutputSocketIndex)
const Vector< NodeOutput * > & getOutputSockets() const
get access to the vector of input sockets
const Vector< NodeInput * > & getInputSockets() const
get access to the vector of input sockets
void addOutputSocket(DataType datatype)
add an NodeOutput to the collection of output-sockets
bNodeTree * getbNodeTree() const
get the reference to the SDNA bNodeTree struct
bool isInActiveGroup() const
Is this node part of the active group the active group is the group that is currently being edited....
void setIsInActiveGroup(bool value)
Is this node in the active group (the group that is being edited)
void addInputSocket(DataType datatype)
add an NodeInput to the collection of input-sockets
DataType
possible data types for sockets