|
Blender
V2.93
|
#include <COM_MixNode.h>
Inherits blender::compositor::Node.
Public Member Functions | |
| MixNode (bNode *editorNode) | |
| void | convertToOperations (NodeConverter &converter, const CompositorContext &context) const override |
| convert node to operation More... | |
Public Member Functions inherited from blender::compositor::Node | |
| Node (bNode *editorNode, bool create_sockets=true) | |
| virtual | ~Node () |
| bNode * | getbNode () const |
| get the reference to the SDNA bNode struct More... | |
| bNodeTree * | getbNodeTree () 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... | |
| NodeOutput * | getOutputSocket (const unsigned int index=0) const |
| NodeInput * | getInputSocket (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) |
| bNodeSocket * | getEditorInputSocket (int editorNodeInputSocketIndex) |
| bNodeSocket * | getEditorOutputSocket (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... | |
Definition at line 30 of file COM_MixNode.h.
| MixNode::MixNode | ( | bNode * | editorNode | ) |
Definition at line 29 of file COM_MixNode.cc.
|
overridevirtual |
convert node to operation
| system | the ExecutionSystem where the operations need to be added |
| context | reference to the CompositorContext |
Implements blender::compositor::Node.
Definition at line 34 of file COM_MixNode.cc.
References blender::compositor::NodeConverter::addOperation(), blender::compositor::NodeConverter::addPreview(), bNode::custom1, bNode::custom2, blender::compositor::Node::getbNode(), blender::compositor::Node::getInputSocket(), blender::compositor::NodeOperation::getInputSocket(), blender::compositor::Node::getOutputSocket(), blender::compositor::NodeOperation::getOutputSocket(), MA_RAMP_ADD, MA_RAMP_BLEND, MA_RAMP_BURN, MA_RAMP_COLOR, MA_RAMP_DARK, MA_RAMP_DIFF, MA_RAMP_DIV, MA_RAMP_DODGE, MA_RAMP_HUE, MA_RAMP_LIGHT, MA_RAMP_LINEAR, MA_RAMP_MULT, MA_RAMP_OVERLAY, MA_RAMP_SAT, MA_RAMP_SCREEN, MA_RAMP_SOFT, MA_RAMP_SUB, MA_RAMP_VAL, blender::compositor::NodeConverter::mapInputSocket(), blender::compositor::NodeConverter::mapOutputSocket(), blender::compositor::MixBaseOperation::setUseClamp(), and blender::compositor::MixBaseOperation::setUseValueAlphaMultiply().