|
Blender V5.0
|
#include <COM_realize_on_domain_operation.hh>
Inherits blender::compositor::SimpleOperation.
Public Member Functions | |
| RealizeOnDomainOperation (Context &context, Domain target_domain, ResultType type) | |
| void | execute () override |
| Public Member Functions inherited from blender::compositor::SimpleOperation | |
| Result & | get_result () |
| void | map_input_to_result (Result *result) |
| Operation (Context &context) | |
| Public Member Functions inherited from blender::compositor::Operation | |
| Operation (Context &context) | |
| virtual | ~Operation () |
| virtual void | evaluate () |
| Result & | get_result (StringRef identifier) |
| void | map_input_to_result (StringRef identifier, Result *result) |
| void | free_results () |
Static Public Member Functions | |
| static SimpleOperation * | construct_if_needed (Context &context, const Result &input_result, const InputDescriptor &input_descriptor, const Domain &operation_domain) |
| static Domain | compute_realized_transformation_domain (Context &context, const Domain &domain, const bool realize_translation=false) |
Protected Member Functions | |
| Domain | compute_domain () override |
| Protected Member Functions inherited from blender::compositor::SimpleOperation | |
| void | add_and_evaluate_input_processors () override |
| Result & | get_input () |
| void | switch_result_mapped_to_input (Result *result) |
| void | populate_result (Result result) |
| void | declare_input_descriptor (InputDescriptor descriptor) |
| InputDescriptor & | get_input_descriptor () |
| Protected Member Functions inherited from blender::compositor::Operation | |
| void | add_and_evaluate_input_processor (StringRef identifier, SimpleOperation *processor) |
| virtual void | compute_preview () |
| Result & | get_input (StringRef identifier) const |
| void | switch_result_mapped_to_input (StringRef identifier, Result *result) |
| void | populate_result (StringRef identifier, Result result) |
| void | declare_input_descriptor (StringRef identifier, InputDescriptor descriptor) |
| InputDescriptor & | get_input_descriptor (StringRef identifier) |
| Context & | context () const |
Definition at line 21 of file COM_realize_on_domain_operation.hh.
| blender::compositor::RealizeOnDomainOperation::RealizeOnDomainOperation | ( | Context & | context, |
| Domain | target_domain, | ||
| ResultType | type ) |
Definition at line 30 of file realize_on_domain_operation.cc.
References blender::compositor::Operation::context(), blender::compositor::Context::create_result(), blender::compositor::SimpleOperation::declare_input_descriptor(), blender::compositor::SimpleOperation::populate_result(), and blender::compositor::InputDescriptor::type.
Referenced by construct_if_needed().
|
overrideprotectedvirtual |
Reimplemented from blender::compositor::Operation.
Definition at line 204 of file realize_on_domain_operation.cc.
Referenced by execute().
|
static |
Definition at line 213 of file realize_on_domain_operation.cc.
References blender::math::ceil(), blender::math::clamp(), blender::compositor::Operation::context(), blender::math::floor(), blender::math::from_location(), blender::math::from_origin_transform(), GPU_max_texture_size(), blender::MatBase< float, 2, 2 >::identity(), blender::math::is_equal(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), blender::math::max(), blender::math::min(), blender::compositor::Domain::size, size(), blender::math::transform_point(), blender::compositor::Domain::transformation, and blender::compositor::transformation_tolerance.
Referenced by blender::nodes::node_composite_relative_to_pixel_cc::RelativeToPixelOperation::compute_reference_size(), construct_if_needed(), and blender::nodes::node_composite_image_info_cc::ImageInfoOperation::execute().
|
static |
Definition at line 279 of file realize_on_domain_operation.cc.
References compute_realized_transformation_domain(), blender::compositor::Operation::context(), blender::compositor::Result::domain(), blender::compositor::InputDescriptor::expects_single_value, blender::compositor::Domain::is_equal(), blender::compositor::Result::is_single_value(), blender::compositor::None, blender::compositor::OperationDomain, blender::compositor::InputDescriptor::realization_mode, RealizeOnDomainOperation(), blender::compositor::transformation_tolerance, blender::compositor::Transforms, and blender::compositor::InputDescriptor::type.
Referenced by blender::compositor::Operation::add_and_evaluate_input_processors().
|
overridevirtual |
Implements blender::compositor::Operation.
Definition at line 41 of file realize_on_domain_operation.cc.
References compute_domain(), blender::compositor::Operation::context(), blender::compositor::SimpleOperation::get_input(), blender::math::invert(), size(), and blender::math::translate().