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").propagate_all().align_with_previous();
37 .description(
"How the transformation is specified");
43 .default_value({1, 1, 1})
67 TIP_(
"Invalid transformation for volume grids"));
71 TIP_(
"Volume scale is lower than permitted by OpenVDB"));
104 params.set_output(
"Geometry", std::move(geometry_set));
111 ntype.
ui_name =
"Transform Geometry";
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_TRANSFORM_GEOMETRY
MINLINE int compare_ff(float a, float b, float max_diff)
NodeGeometryTransformMode
@ GEO_NODE_TRANSFORM_MODE_MATRIX
@ GEO_NODE_TRANSFORM_MODE_COMPONENTS
#define NOD_REGISTER_NODE(REGISTER_FUNC)
SIMD_FORCE_INLINE btVector3 transform(const btVector3 &point) const
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
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)
MatBase< float, 4, 4 > float4x4
VecBase< float, 3 > float3
void geo_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare