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

DilateErodeNode. More...

#include <COM_DilateErodeNode.h>

Inherits blender::compositor::Node.

Public Member Functions

 DilateErodeNode (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
 

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

DilateErodeNode.

Definition at line 29 of file COM_DilateErodeNode.h.

Constructor & Destructor Documentation

◆ DilateErodeNode()

blender::compositor::DilateErodeNode::DilateErodeNode ( bNode editorNode)

Definition at line 29 of file COM_DilateErodeNode.cc.

References bNode::custom2, data, and R_FILTER_GAUSS.

Member Function Documentation

◆ convertToOperations()

void blender::compositor::DilateErodeNode::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 44 of file COM_DilateErodeNode.cc.

References blender::compositor::NodeConverter::addLink(), blender::compositor::NodeConverter::addOperation(), blender::compositor::NodeConverter::addPreview(), CMP_NODE_DILATEERODE_DISTANCE, CMP_NODE_DILATEERODE_DISTANCE_FEATHER, CMP_NODE_DILATEERODE_DISTANCE_THRESH, blender::compositor::context, bNode::custom1, bNode::custom2, bNode::custom3, NodeDilateErode::falloff, blender::compositor::Node::getbNode(), blender::compositor::Node::getInputSocket(), blender::compositor::NodeOperation::getInputSocket(), blender::compositor::Node::getOutputSocket(), blender::compositor::NodeOperation::getOutputSocket(), blender::compositor::NodeConverter::mapInputSocket(), blender::compositor::NodeConverter::mapOutputSocket(), PROP_SMOOTH, blender::compositor::BlurBaseOperation::setData(), blender::compositor::DilateErodeThresholdOperation::setDistance(), blender::compositor::DilateDistanceOperation::setDistance(), blender::compositor::GaussianAlphaXBlurOperation::setFalloff(), blender::compositor::GaussianAlphaYBlurOperation::setFalloff(), blender::compositor::DilateErodeThresholdOperation::setInset(), blender::compositor::DilateStepOperation::setIterations(), blender::compositor::QualityStepHelper::setQuality(), blender::compositor::BlurBaseOperation::setSize(), blender::compositor::GaussianAlphaXBlurOperation::setSubtract(), blender::compositor::GaussianAlphaYBlurOperation::setSubtract(), size(), and bNode::storage.


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