Blender V4.3
blender::compositor::CryptomatteBaseNode Class Referenceabstract

CryptomatteNode. More...

#include <COM_CryptomatteNode.h>

Inherits blender::compositor::Node.

Inherited by blender::compositor::CryptomatteLegacyNode, and blender::compositor::CryptomatteNode.

Public Member Functions

Cryptomatte Base
void convert_to_operations (NodeConverter &converter, const CompositorContext &context) const override
 convert node to operation
 
- Public Member Functions inherited from blender::compositor::Node
 Node (bNode *editor_node, bool create_sockets=true)
 
virtual ~Node ()
 
const bNodeget_bnode () const
 get the reference to the SDNA bNode struct
 
bNodeTreeget_bnodetree () const
 get the reference to the SDNA bNodeTree struct
 
void set_bnode (bNode *node)
 set the reference to the bNode
 
void set_bnodetree (bNodeTree *nodetree)
 set the reference to the bNodeTree
 
Span< NodeInput * > get_input_sockets () const
 get access to the vector of input sockets
 
Span< NodeOutput * > get_output_sockets () const
 get access to the vector of input sockets
 
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)
 
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)
 
void set_instance_key (bNodeInstanceKey instance_key)
 
bNodeInstanceKey get_instance_key () const
 

Protected Member Functions

 CryptomatteBaseNode (bNode *editor_node)
 
virtual CryptomatteOperationcreate_cryptomatte_operation (NodeConverter &converter, const CompositorContext &context, const bNode &node, const NodeCryptomatte *cryptomatte_settings) const =0
 
- Protected Member Functions inherited from blender::compositor::Node
void add_input_socket (DataType datatype)
 add an NodeInput to the collection of input-sockets
 
void add_input_socket (DataType datatype, bNodeSocket *socket)
 
void add_output_socket (DataType datatype)
 add an NodeOutput to the collection of output-sockets
 
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
 
Vector< NodeOutput * > outputs_
 the list of actual output-sockets
 

Detailed Description

CryptomatteNode.

Definition at line 19 of file COM_CryptomatteNode.h.

Constructor & Destructor Documentation

◆ CryptomatteBaseNode()

blender::compositor::CryptomatteBaseNode::CryptomatteBaseNode ( bNode * editor_node)
inlineprotected

Definition at line 21 of file COM_CryptomatteNode.h.

Member Function Documentation

◆ convert_to_operations()

◆ create_cryptomatte_operation()

virtual CryptomatteOperation * blender::compositor::CryptomatteBaseNode::create_cryptomatte_operation ( NodeConverter & converter,
const CompositorContext & context,
const bNode & node,
const NodeCryptomatte * cryptomatte_settings ) const
protectedpure virtual

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