20 N_(
"Provide separate location, rotation and scale")},
22 {0,
nullptr, 0,
nullptr,
nullptr},
27 b.use_custom_socket_order();
28 b.allow_any_socket_order();
31 .is_default_link_socket()
33 b.add_output<
decl::Geometry>(
"Geometry"_ustr).propagate_all_geometry().align_with_previous();
37 .description(
"How the transformation is specified");
44 .default_value({1, 1, 1})
68 TIP_(
"Invalid transformation for volume grids"));
72 TIP_(
"Volume scale is lower than permitted by OpenVDB"));
105 params.
set_output(
"Geometry"_ustr, std::move(geometry_set));
112 ntype.
ui_name =
"Transform Geometry";
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_TRANSFORM_GEOMETRY
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void error_message_add(const NodeWarningType type, StringRef message) const
T extract_input(const UString identifier)
T get_input(const UString identifier) const
void set_output(const UString identifier, T &&value)
float3x3 scale(float3x3 mat, float2 scale)
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)
QuaternionBase< float > Quaternion
T length_squared(const VecBase< T, Size > &a)
MatT from_loc_rot_scale(const typename MatT::loc_type &location, const RotationT &rotation, const VecBase< typename MatT::base_type, ScaleDim > &scale)
MatBase< float, 4, 4 > float4x4
VecBase< float, 3 > float3
NodeGeometryTransformMode
@ GEO_NODE_TRANSFORM_MODE_MATRIX
@ GEO_NODE_TRANSFORM_MODE_COMPONENTS
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
MINLINE int compare_ff(float a, float b, float max_diff)
static constexpr int _160
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare