Blender
V5.3
source
blender
blenlib
BLI_math_filter.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2025 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
namespace
blender::math
{
12
13
enum class
FilterKernel
{
14
Box
,
15
Tent
,
16
Quad
,
17
Cubic
,
18
Catrom
,
19
Gauss
,
20
Mitch
,
/* Mitchell & Netravali's two-param cubic */
21
};
22
26
float
filter_kernel_value
(
FilterKernel
kernel,
float
x
);
27
28
}
// namespace blender::math
blender::math
Definition
BLI_math_angle_types.hh:24
blender::math::FilterKernel
FilterKernel
Definition
BLI_math_filter.hh:13
blender::math::FilterKernel::Catrom
@ Catrom
Definition
BLI_math_filter.hh:18
blender::math::FilterKernel::Tent
@ Tent
Definition
BLI_math_filter.hh:15
blender::math::FilterKernel::Quad
@ Quad
Definition
BLI_math_filter.hh:16
blender::math::FilterKernel::Cubic
@ Cubic
Definition
BLI_math_filter.hh:17
blender::math::FilterKernel::Gauss
@ Gauss
Definition
BLI_math_filter.hh:19
blender::math::FilterKernel::Mitch
@ Mitch
Definition
BLI_math_filter.hh:20
blender::math::filter_kernel_value
float filter_kernel_value(FilterKernel kernel, float x)
Definition
math_filter.cc:93
blender::x
x
Definition
BLI_expr_pylike_eval_test.cc:347
blender::Box
Definition
mball_tessellate.cc:98
Generated on
for Blender by
doxygen
1.18.0