Blender
V4.3
source
blender
compositor
realtime_compositor
algorithms
COM_algorithm_morphological_distance_feather.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
DNA_scene_types.h
"
8
9
#include "
COM_context.hh
"
10
#include "
COM_result.hh
"
11
12
namespace
blender::realtime_compositor
{
13
14
/* Dilate or erode the given input using a morphological inverse distance operation evaluated at
15
* the given falloff. The radius of the structuring element is equivalent to the absolute value of
16
* the given distance parameter. A positive distance corresponds to a dilate operator, while a
17
* negative distance corresponds to an erode operator. See the implementation and shader for more
18
* information. */
19
void
morphological_distance_feather
(
20
Context &context, Result &input, Result &output,
int
distance,
int
falloff_type =
PROP_SMOOTH
);
21
22
}
// namespace blender::realtime_compositor
COM_context.hh
COM_result.hh
DNA_scene_types.h
PROP_SMOOTH
@ PROP_SMOOTH
Definition
DNA_scene_types.h:2520
blender::realtime_compositor
Definition
BKE_node.hh:80
blender::realtime_compositor::morphological_distance_feather
void morphological_distance_feather(Context &context, Result &input, Result &output, int distance, int falloff_type=PROP_SMOOTH)
Definition
morphological_distance_feather.cc:99
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0