|
Blender V5.0
|
Inherits blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos.
Additional Inherited Members | |
| Public Attributes inherited from blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos | |
| ApplyChangeFn | apply_change |
Definition at line 417 of file view3d_gizmo_geometry_nodes.cc.
|
inlineoverridevirtual |
Called after the initial construction to build the individual gizmos. The gizmos have to be added to the given group.
Implements blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos.
Definition at line 442 of file view3d_gizmo_geometry_nodes.cc.
References WM_gizmo_new().
|
inlineoverridevirtual |
Get a list of all owned gizmos.
Implements blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos.
Definition at line 460 of file view3d_gizmo_geometry_nodes.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::extend().
|
inline |
Definition at line 748 of file view3d_gizmo_geometry_nodes.cc.
References blender::MatBase< T, NumCol, NumRow, Alignment >::location(), blender::ed::view3d::geometry_nodes_gizmos::matrix_from_position_and_up_direction(), blender::math::normalize(), params, blender::math::to_vector(), blender::math::transform_direction(), V3D_ORIENT_GLOBAL, blender::MatBase< T, NumCol, NumRow, Alignment >::view(), and blender::math::AxisSigned::Z_POS.
Referenced by update_rotate_transform_and_target_property(), update_scale_transform_and_target_property(), and update_translate_transform_and_target_property().
|
inlineoverridevirtual |
Update the styling, transforms and target property of the gizmos.
Reimplemented from blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos.
Definition at line 469 of file view3d_gizmo_geometry_nodes.cc.
References CTX_data_scene(), blender::math::from_rotation(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), Scene::orientation_slots, params, TransformOrientationSlot::type, update_rotate_style(), update_rotate_transform_and_target_property(), update_scale_style(), update_scale_transform_and_target_property(), update_translate_style(), update_translate_transform_and_target_property(), and update_visibility().
|
inline |
Definition at line 555 of file view3d_gizmo_geometry_nodes.cc.
References wmGizmo::color, wmGizmo::color_hi, ED_GIZMO_DIAL_DRAW_FLAG_ANGLE_VALUE, ED_GIZMO_DIAL_DRAW_FLAG_CLIP, blender::ed::view3d::geometry_nodes_gizmos::get_axis_gizmo_colors(), blender::ed::view3d::geometry_nodes_gizmos::gizmo_is_interacting(), wmGizmo::ptr, RNA_boolean_set(), RNA_enum_get(), RNA_enum_set(), SET_FLAG_FROM_TEST, WM_GIZMO_DRAW_VALUE, WM_gizmo_set_flag(), and WM_gizmo_set_line_width().
Referenced by update().
|
inline |
Definition at line 641 of file view3d_gizmo_geometry_nodes.cc.
References copy_m4_m4(), blender::Span< T >::first_index(), blender::math::Axis::from_int(), blender::math::from_rotation(), blender::bke::SocketValueVariant::get(), get_axis_gizmo_matrix_basis(), blender::ed::view3d::geometry_nodes_gizmos::gizmo_is_interacting(), blender::math::invert(), wmGizmo::matrix_basis, blender::math::normalize(), params, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), self, blender::bke::SocketValueVariant::set(), blender::math::to_vector(), blender::math::transform_direction(), V3D_ORIENT_GLOBAL, blender::MatBase< T, NumCol, NumRow, Alignment >::view(), and WM_gizmo_target_property_def_func().
Referenced by update().
|
inline |
Definition at line 575 of file view3d_gizmo_geometry_nodes.cc.
References wmGizmo::color, wmGizmo::color_hi, ED_GIZMO_ARROW_STYLE_BOX, blender::ed::view3d::geometry_nodes_gizmos::get_axis_gizmo_colors(), length(), wmGizmo::ptr, RNA_enum_set(), RNA_float_set(), and WM_gizmo_set_line_width().
Referenced by update().
|
inline |
Definition at line 693 of file view3d_gizmo_geometry_nodes.cc.
References copy_m4_m4(), blender::Span< T >::first_index(), blender::math::Axis::from_int(), blender::math::from_rotation(), blender::math::from_scale(), blender::bke::SocketValueVariant::get(), get_axis_gizmo_matrix_basis(), blender::ed::view3d::geometry_nodes_gizmos::gizmo_is_interacting(), blender::math::invert(), wmGizmo::matrix_basis, blender::math::normalize(), params, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), self, blender::bke::SocketValueVariant::set(), blender::math::to_vector(), blender::math::transform_direction(), V3D_ORIENT_GLOBAL, blender::MatBase< T, NumCol, NumRow, Alignment >::view(), and WM_gizmo_target_property_def_func().
Referenced by update().
|
inline |
Definition at line 530 of file view3d_gizmo_geometry_nodes.cc.
References wmGizmo::color, wmGizmo::color_hi, blender::ed::view3d::geometry_nodes_gizmos::get_axis_gizmo_colors(), length(), wmGizmo::matrix_offset, wmGizmo::ptr, RNA_float_set(), unit_m4(), WM_GIZMO_DRAW_OFFSET_SCALE, WM_gizmo_set_flag(), and WM_gizmo_set_line_width().
Referenced by update().
|
inline |
Definition at line 589 of file view3d_gizmo_geometry_nodes.cc.
References copy_m4_m4(), blender::Span< T >::first_index(), blender::math::Axis::from_int(), blender::bke::SocketValueVariant::get(), get_axis_gizmo_matrix_basis(), blender::ed::view3d::geometry_nodes_gizmos::gizmo_is_interacting(), blender::math::invert(), blender::math::length(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), wmGizmo::matrix_basis, params, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), safe_divide(), self, blender::bke::SocketValueVariant::set(), blender::math::transform_direction(), V3D_ORIENT_GLOBAL, and WM_gizmo_target_property_def_func().
Referenced by update().
|
inline |
Definition at line 502 of file view3d_gizmo_geometry_nodes.cc.
References NodeGeometryTransformGizmo::flag, GEO_NODE_TRANSFORM_GIZMO_USE_ROTATION_X, GEO_NODE_TRANSFORM_GIZMO_USE_SCALE_X, GEO_NODE_TRANSFORM_GIZMO_USE_TRANSLATION_X, params, WM_GIZMO_HIDDEN, and WM_gizmo_set_flag().
Referenced by update().