Blender
V4.3
source
blender
compositor
realtime_compositor
algorithms
COM_algorithm_realize_on_domain.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 "
BLI_math_matrix_types.hh
"
8
9
#include "
COM_context.hh
"
10
#include "
COM_domain.hh
"
11
#include "
COM_result.hh
"
12
13
namespace
blender::realtime_compositor
{
14
15
/* Projects the input on a target domain, copies the area of the input that intersects the target
16
* domain, and fill the rest with zeros or repetitions of the input depending on the realization
17
* options. The transformation and realization options of the input are ignored and the given
18
* input_transformation and realization_options are used instead to allow the caller to change them
19
* without mutating the input result directly. See the discussion in COM_domain.hh for more
20
* information on what realization on domain means. */
21
void
realize_on_domain
(
Context
&context,
22
Result
&input,
23
Result
&
output
,
24
const
Domain
&domain,
25
const
float3x3
&input_transformation,
26
const
RealizationOptions
&realization_options);
27
28
}
// namespace blender::realtime_compositor
BLI_math_matrix_types.hh
COM_context.hh
COM_domain.hh
COM_result.hh
output
#define output
blender::realtime_compositor::Context
Definition
COM_context.hh:37
blender::realtime_compositor::Domain
Definition
COM_domain.hh:135
blender::realtime_compositor::Result
Definition
COM_result.hh:92
blender::realtime_compositor
Definition
BKE_node.hh:80
blender::realtime_compositor::realize_on_domain
void realize_on_domain(Context &context, Result &input, Result &output, const Domain &domain, const float3x3 &input_transformation, const RealizationOptions &realization_options)
Definition
realize_on_domain.cc:64
blender::float3x3
MatBase< float, 3, 3 > float3x3
Definition
BLI_math_matrix_types.hh:1008
blender::realtime_compositor::RealizationOptions
Definition
COM_domain.hh:28
Generated on Sat Oct 4 2025 05:32:23 for Blender by
doxygen
1.14.0