21 .structure_type(StructureType::Dynamic);
25 .
description(
"The dimensions of the image in pixels with transformations applied");
28 .
description(
"The original resolution of the image in pixels before any transformations");
57 const Domain realized_domain =
138 ntype.
declare = file_ns::node_declare;
#define CMP_NODE_IMAGE_INFO
#define NOD_REGISTER_NODE(REGISTER_FUNC)
const DNode & node() const
NodeOperation(Context &context, DNode node)
Result & get_result(StringRef identifier)
Context & context() const
Result & get_input(StringRef identifier) const
InputDescriptor & get_input_descriptor(StringRef identifier)
static Domain compute_realized_transformation_domain(Context &context, const Domain &domain, const bool realize_translation=false)
void set_single_value(const T &value)
void allocate_single_value()
bool is_single_value() const
const CompositorInputRealizationMode & compositor_realization_mode() const
ImageInfoOperation(Context &context, DNode node)
void node_register_type(bNodeType &ntype)
AngleRadianBase< float > AngleRadian
void to_loc_rot_scale(const MatBase< T, 3, 3 > &mat, VecBase< T, 2 > &r_location, AngleRadianBase< T > &r_rotation, VecBase< T, 2 > &r_scale)
static NodeOperation * get_compositor_operation(Context &context, DNode node)
static void node_declare(NodeDeclarationBuilder &b)
VecBase< float, 2 > float2
static void register_node_type_cmp_image_info()
void cmp_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGetCompositorOperationFunction get_compositor_operation
NodeDeclareFunction declare