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

KeyingNode. More...

#include <COM_KeyingNode.h>

Inherits blender::compositor::Node.

Public Member Functions

 KeyingNode (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 ()
 
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
 

Protected Member Functions

NodeOperationOutputsetupPreBlur (NodeConverter &converter, NodeInput *inputImage, int size) const
 
NodeOperationOutputsetupPostBlur (NodeConverter &converter, NodeOperationOutput *postBlurInput, int size) const
 
NodeOperationOutputsetupDilateErode (NodeConverter &converter, NodeOperationOutput *dilateErodeInput, int distance) const
 
NodeOperationOutputsetupFeather (NodeConverter &converter, const CompositorContext &context, NodeOperationOutput *featherInput, int falloff, int distance) const
 
NodeOperationOutputsetupDespill (NodeConverter &converter, NodeOperationOutput *despillInput, NodeInput *inputScreen, float factor, float colorBalance) const
 
NodeOperationOutputsetupClip (NodeConverter &converter, NodeOperationOutput *clipInput, int kernelRadius, float kernelTolerance, float clipBlack, float clipWhite, bool edgeMatte) const
 
- 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)
 

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 29 of file COM_KeyingNode.h.

Constructor & Destructor Documentation

◆ KeyingNode()

blender::compositor::KeyingNode::KeyingNode ( bNode editorNode)

Definition at line 42 of file COM_KeyingNode.cc.

Member Function Documentation

◆ convertToOperations()

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

◆ setupClip()

NodeOperationOutput * blender::compositor::KeyingNode::setupClip ( NodeConverter converter,
NodeOperationOutput clipInput,
int  kernelRadius,
float  kernelTolerance,
float  clipBlack,
float  clipWhite,
bool  edgeMatte 
) const
protected

◆ setupDespill()

NodeOperationOutput * blender::compositor::KeyingNode::setupDespill ( NodeConverter converter,
NodeOperationOutput despillInput,
NodeInput inputScreen,
float  factor,
float  colorBalance 
) const
protected

◆ setupDilateErode()

NodeOperationOutput * blender::compositor::KeyingNode::setupDilateErode ( NodeConverter converter,
NodeOperationOutput dilateErodeInput,
int  distance 
) const
protected

◆ setupFeather()

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

◆ setupPostBlur()

NodeOperationOutput * blender::compositor::KeyingNode::setupPostBlur ( NodeConverter converter,
NodeOperationOutput postBlurInput,
int  size 
) const
protected

◆ setupPreBlur()

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

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