29 auto &rotation =
b.add_input<
decl::Rotation>(
"Rotation").make_available(enable_components);
33 auto &transform =
b.add_input<
decl::Matrix>(
"Transform").make_available(enable_matrix);
36 const bNode *node =
b.node_or_null();
37 if (node !=
nullptr) {
40 translation.available(!use_matrix);
41 rotation.available(!use_matrix);
42 scale.available(!use_matrix);
43 transform.available(use_matrix);
71 params.error_message_add(NodeWarningType::Warning,
72 TIP_(
"Volume scale is lower than permitted by OpenVDB"));
105 params.set_output(
"Geometry", std::move(geometry_set));
115 "Provide separate location, rotation and scale"},
117 {0,
nullptr, 0,
nullptr,
nullptr},
123 "How the transformation is specified",
#define NODE_CLASS_GEOMETRY
MINLINE int compare_ff(float a, float b, float max_diff)
@ GEO_NODE_TRANSFORM_MODE_MATRIX
@ GEO_NODE_TRANSFORM_MODE_COMPONENTS
#define NOD_REGISTER_NODE(REGISTER_FUNC)
#define NOD_inline_enum_accessors(member)
void uiLayoutSetPropSep(uiLayout *layout, bool is_sep)
void uiLayoutSetPropDecorate(uiLayout *layout, bool is_sep)
void uiItemR(uiLayout *layout, PointerRNA *ptr, const char *propname, eUI_Item_Flag flag, const char *name, int icon)
void make_available(bNode &node) const
local_group_size(16, 16) .push_constant(Type b
void node_register_type(bNodeType *ntype)
void translate_geometry(bke::GeometrySet &geometry, const float3 translation)
std::optional< TransformGeometryErrors > transform_geometry(bke::GeometrySet &geometry, const float4x4 &transform)
AngleRadianBase< T > angle_of(const QuaternionBase< T > &q)
MatT from_loc_rot_scale(const typename MatT::loc_type &location, const RotationT &rotation, const VecBase< typename MatT::base_type, ScaleDim > &scale)
PropertyRNA * RNA_def_node_enum(StructRNA *srna, const char *identifier, const char *ui_name, const char *ui_description, const EnumPropertyItem *static_items, const EnumRNAAccessors accessors, std::optional< int > default_value, const EnumPropertyItemFunc item_func, const bool allow_animation)
void geo_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
NodeGeometryExecFunction geometry_node_execute
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare