|
Blender V5.0
|
Inherits blender::compositor::NodeOperation.
Public Member Functions | |
| RelativeToPixelOperation (Context &context, DNode node) | |
| void | execute () override |
| float2 | get_input_value () |
| float2 | compute_reference_size () |
| CMPNodeRelativeToPixelDataType | get_data_type () |
| CMPNodeRelativeToPixelReferenceDimension | get_reference_dimension () |
| Public Member Functions inherited from blender::compositor::NodeOperation | |
| NodeOperation (Context &context, DNode node) | |
| void | evaluate () override |
| void | compute_results_reference_counts (const Schedule &schedule) |
| Public Member Functions inherited from blender::compositor::Operation | |
| Operation (Context &context) | |
| virtual | ~Operation () |
| Result & | get_result (StringRef identifier) |
| void | map_input_to_result (StringRef identifier, Result *result) |
| void | free_results () |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::compositor::NodeOperation | |
| void | compute_preview () override |
| const DNode & | node () const |
| const bNode & | bnode () const |
| bool | should_compute_output (StringRef identifier) |
| Protected Member Functions inherited from blender::compositor::Operation | |
| virtual Domain | compute_domain () |
| virtual void | add_and_evaluate_input_processors () |
| void | add_and_evaluate_input_processor (StringRef identifier, SimpleOperation *processor) |
| 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 156 of file node_composite_relative_to_pixel.cc.
|
inline |
Definition at line 158 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Operation::context(), blender::compositor::Operation::get_input_descriptor(), blender::compositor::NodeOperation::node(), blender::compositor::NodeOperation::NodeOperation(), and blender::compositor::InputDescriptor::skip_type_conversion.
|
inline |
Definition at line 203 of file node_composite_relative_to_pixel.cc.
References BLI_assert_unreachable, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_DIAGONAL, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_GREATER, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_PER_DIMENSION, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_SMALLER, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_X, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_Y, blender::compositor::RealizeOnDomainOperation::compute_realized_transformation_domain(), blender::compositor::Operation::context(), blender::compositor::Result::domain(), blender::compositor::Operation::get_input(), get_reference_dimension(), blender::compositor::Result::is_single_value(), blender::math::length(), blender::math::reduce_max(), blender::math::reduce_min(), and blender::compositor::Domain::size.
Referenced by execute().
|
inlineoverridevirtual |
Implements blender::compositor::Operation.
Definition at line 164 of file node_composite_relative_to_pixel.cc.
References blender::compositor::Result::allocate_single_value(), CMP_NODE_RELATIVE_TO_PIXEL_DATA_TYPE_FLOAT, CMP_NODE_RELATIVE_TO_PIXEL_DATA_TYPE_VECTOR, CMP_NODE_RELATIVE_TO_PIXEL_REFERENCE_DIMENSION_PER_DIMENSION, compute_reference_size(), get_data_type(), get_input_value(), get_reference_dimension(), blender::compositor::Operation::get_result(), blender::compositor::Result::set_single_value(), and blender::compositor::Result::should_compute().
|
inline |
Definition at line 232 of file node_composite_relative_to_pixel.cc.
References blender::compositor::NodeOperation::bnode().
Referenced by execute(), and get_input_value().
|
inline |
Definition at line 195 of file node_composite_relative_to_pixel.cc.
References CMP_NODE_RELATIVE_TO_PIXEL_DATA_TYPE_FLOAT, get_data_type(), blender::compositor::Operation::get_input(), and blender::compositor::Result::get_single_value_default().
Referenced by execute().
|
inline |
Definition at line 237 of file node_composite_relative_to_pixel.cc.
References blender::compositor::NodeOperation::bnode().
Referenced by compute_reference_size(), and execute().