Blender  V2.93
Public Member Functions | List of all members
blender::compositor::SocketProxyNode Class Reference

SocketProxyNode. More...

#include <COM_SocketProxyNode.h>

Inherits blender::compositor::Node.

Public Member Functions

 SocketProxyNode (bNode *editorNode, bNodeSocket *editorInput, bNodeSocket *editorOutput, bool use_conversion)
 
void convertToOperations (NodeConverter &converter, const CompositorContext &context) const override
 convert node to operation More...
 
bool getUseConversion () const
 
void setUseConversion (bool use_conversion)
 
- Public Member Functions inherited from blender::compositor::Node
 Node (bNode *editorNode, bool create_sockets=true)
 
virtual ~Node ()
 
bNodegetbNode () const
 get the reference to the SDNA bNode struct More...
 
bNodeTreegetbNodeTree () const
 get the reference to the SDNA bNodeTree struct More...
 
void setbNode (bNode *node)
 set the reference to the bNode More...
 
void setbNodeTree (bNodeTree *nodetree)
 set the reference to the bNodeTree More...
 
const Vector< NodeInput * > & getInputSockets () const
 get access to the vector of input sockets More...
 
const Vector< NodeOutput * > & getOutputSockets () const
 get access to the vector of input sockets More...
 
NodeOutputgetOutputSocket (const unsigned int index=0) const
 
NodeInputgetInputSocket (const unsigned int index) const
 
void setIsInActiveGroup (bool value)
 Is this node in the active group (the group that is being edited) More...
 
bool isInActiveGroup () const
 Is this node part of the active group the active group is the group that is currently being edited. When no group is edited, the active group will be the main tree (all nodes that are not part of a group will be active) More...
 
void setInstanceKey (bNodeInstanceKey instance_key)
 
bNodeInstanceKey getInstanceKey () const
 

Additional Inherited Members

- Protected Member Functions inherited from blender::compositor::Node
void addInputSocket (DataType datatype)
 add an NodeInput to the collection of input-sockets More...
 
void addInputSocket (DataType datatype, bNodeSocket *socket)
 
void addOutputSocket (DataType datatype)
 add an NodeOutput to the collection of output-sockets More...
 
void addOutputSocket (DataType datatype, bNodeSocket *socket)
 
bNodeSocketgetEditorInputSocket (int editorNodeInputSocketIndex)
 
bNodeSocketgetEditorOutputSocket (int editorNodeOutputSocketIndex)
 
- Protected Attributes inherited from blender::compositor::Node
Vector< NodeInput * > inputs
 the list of actual input-sockets More...
 
Vector< NodeOutput * > outputs
 the list of actual output-sockets More...
 

Detailed Description

SocketProxyNode.

Definition at line 29 of file COM_SocketProxyNode.h.

Constructor & Destructor Documentation

◆ SocketProxyNode()

blender::compositor::SocketProxyNode::SocketProxyNode ( bNode editorNode,
bNodeSocket editorInput,
bNodeSocket editorOutput,
bool  use_conversion 
)

Member Function Documentation

◆ convertToOperations()

void blender::compositor::SocketProxyNode::convertToOperations ( NodeConverter converter,
const CompositorContext context 
) const
overridevirtual

convert node to operation

Todo:
this must be described further
Parameters
systemthe ExecutionSystem where the operations need to be added
contextreference to the CompositorContext

Implements blender::compositor::Node.

Definition at line 57 of file COM_SocketProxyNode.cc.

References blender::compositor::NodeConverter::addInputProxy(), blender::compositor::Node::getInputSocket(), blender::compositor::Node::getOutputSocket(), and blender::compositor::NodeConverter::mapOutputSocket().

◆ getUseConversion()

bool blender::compositor::SocketProxyNode::getUseConversion ( ) const
inline

Definition at line 38 of file COM_SocketProxyNode.h.

◆ setUseConversion()

void blender::compositor::SocketProxyNode::setUseConversion ( bool  use_conversion)
inline

Definition at line 42 of file COM_SocketProxyNode.h.


The documentation for this class was generated from the following files: