Blender  V3.3
Public Member Functions | Protected Member Functions | List of all members
blender::compositor::KeyingNode Class Reference

KeyingNode. More...

#include <COM_KeyingNode.h>

Inheritance diagram for blender::compositor::KeyingNode:
blender::compositor::Node

Public Member Functions

 KeyingNode (bNode *editor_node)
 
void convert_to_operations (NodeConverter &converter, const CompositorContext &context) const override
 convert node to operation More...
 
- Public Member Functions inherited from blender::compositor::Node
 Node (bNode *editor_node, bool create_sockets=true)
 
virtual ~Node ()
 
bNodeget_bnode () const
 get the reference to the SDNA bNode struct More...
 
bNodeTreeget_bnodetree () const
 get the reference to the SDNA bNodeTree struct More...
 
void set_bnode (bNode *node)
 set the reference to the bNode More...
 
void set_bnodetree (bNodeTree *nodetree)
 set the reference to the bNodeTree More...
 
const Vector< NodeInput * > & get_input_sockets () const
 get access to the vector of input sockets More...
 
const Vector< NodeOutput * > & get_output_sockets () const
 get access to the vector of input sockets More...
 
NodeOutputget_output_socket (unsigned int index=0) const
 
NodeInputget_input_socket (unsigned int index) const
 
void set_is_in_active_group (bool value)
 Is this node in the active group (the group that is being edited) More...
 
bool is_in_active_group () 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 set_instance_key (bNodeInstanceKey instance_key)
 
bNodeInstanceKey get_instance_key () const
 

Protected Member Functions

NodeOperationOutputsetup_pre_blur (NodeConverter &converter, NodeInput *input_image, int size) const
 
NodeOperationOutputsetup_post_blur (NodeConverter &converter, NodeOperationOutput *post_blur_input, int size) const
 
NodeOperationOutputsetup_dilate_erode (NodeConverter &converter, NodeOperationOutput *dilate_erode_input, int distance) const
 
NodeOperationOutputsetup_feather (NodeConverter &converter, const CompositorContext &context, NodeOperationOutput *feather_input, int falloff, int distance) const
 
NodeOperationOutputsetup_despill (NodeConverter &converter, NodeOperationOutput *despill_input, NodeInput *input_screen, float factor, float color_balance) const
 
NodeOperationOutputsetup_clip (NodeConverter &converter, NodeOperationOutput *clip_input, int kernel_radius, float kernel_tolerance, float clip_black, float clip_white, bool edge_matte) const
 
- Protected Member Functions inherited from blender::compositor::Node
void add_input_socket (DataType datatype)
 add an NodeInput to the collection of input-sockets More...
 
void add_input_socket (DataType datatype, bNodeSocket *socket)
 
void add_output_socket (DataType datatype)
 add an NodeOutput to the collection of output-sockets More...
 
void add_output_socket (DataType datatype, bNodeSocket *socket)
 
bNodeSocketget_editor_input_socket (int editor_node_input_socket_index)
 
bNodeSocketget_editor_output_socket (int editor_node_output_socket_index)
 

Additional Inherited Members

- 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

KeyingNode.

Definition at line 14 of file COM_KeyingNode.h.

Constructor & Destructor Documentation

◆ KeyingNode()

blender::compositor::KeyingNode::KeyingNode ( bNode editor_node)

Definition at line 25 of file COM_KeyingNode.cc.

Member Function Documentation

◆ convert_to_operations()

void blender::compositor::KeyingNode::convert_to_operations ( NodeConverter converter,
const CompositorContext context 
) const
overridevirtual

◆ setup_clip()

NodeOperationOutput * blender::compositor::KeyingNode::setup_clip ( NodeConverter converter,
NodeOperationOutput clip_input,
int  kernel_radius,
float  kernel_tolerance,
float  clip_black,
float  clip_white,
bool  edge_matte 
) const
protected

◆ setup_despill()

NodeOperationOutput * blender::compositor::KeyingNode::setup_despill ( NodeConverter converter,
NodeOperationOutput despill_input,
NodeInput input_screen,
float  factor,
float  color_balance 
) const
protected

◆ setup_dilate_erode()

NodeOperationOutput * blender::compositor::KeyingNode::setup_dilate_erode ( NodeConverter converter,
NodeOperationOutput dilate_erode_input,
int  distance 
) const
protected

◆ setup_feather()

NodeOperationOutput * blender::compositor::KeyingNode::setup_feather ( NodeConverter converter,
const CompositorContext context,
NodeOperationOutput feather_input,
int  falloff,
int  distance 
) const
protected

◆ setup_post_blur()

NodeOperationOutput * blender::compositor::KeyingNode::setup_post_blur ( NodeConverter converter,
NodeOperationOutput post_blur_input,
int  size 
) const
protected

◆ setup_pre_blur()

NodeOperationOutput * blender::compositor::KeyingNode::setup_pre_blur ( NodeConverter converter,
NodeInput input_image,
int  size 
) const
protected

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