|
Blender V4.3
|
Classes | |
| class | DialGizmo |
| struct | GeometryNodesGizmoGroup |
| struct | GeoNodesObjectGizmoID |
| struct | GizmosUpdateParams |
| class | LinearGizmo |
| class | NodeGizmos |
| class | TransformGizmos |
| struct | UpdateReport |
Typedefs | |
| using | ApplyChangeFn |
Definition at line 120 of file view3d_gizmo_geometry_nodes.cc.
|
static |
Definition at line 793 of file view3d_gizmo_geometry_nodes.cc.
References GEO_NODE_GIZMO_DIAL, GEO_NODE_GIZMO_LINEAR, GEO_NODE_GIZMO_TRANSFORM, and bNode::type.
Referenced by WIDGETGROUP_geometry_nodes_refresh().
|
static |
Finds the gizmo transform stored directly in the geometry, ignoring the instances.
Definition at line 807 of file view3d_gizmo_geometry_nodes.cc.
Referenced by find_gizmo_geometry_transform_recursive(), and has_nested_gizmo_transform().
|
static |
Find the geometry that the gizmo should be drawn for. This is generally either the final evaluated geometry or the viewer geometry.
Definition at line 885 of file view3d_gizmo_geometry_nodes.cc.
References View3D::flag2, blender::bke::object_get_evaluated_geometry_set(), NodesModifierData::runtime, V3D_SHOW_VIEWER, and View3D::viewer_path.
Referenced by WIDGETGROUP_geometry_nodes_refresh().
|
static |
Tries to find a transformation of the gizmo in the given geometry.
Definition at line 903 of file view3d_gizmo_geometry_nodes.cc.
References find_gizmo_geometry_transform_recursive(), and blender::MatBase< float, 4, 4 >::identity().
Referenced by WIDGETGROUP_geometry_nodes_refresh().
|
static |
Definition at line 847 of file view3d_gizmo_geometry_nodes.cc.
References find_direct_gizmo_transform(), find_gizmo_geometry_transform_recursive(), blender::bke::InstanceReference::GeometrySet, has_nested_gizmo_transform(), and blender::Span< T >::index_range().
Referenced by find_gizmo_geometry_transform(), and find_gizmo_geometry_transform_recursive().
|
static |
Definition at line 84 of file view3d_gizmo_geometry_nodes.cc.
References get_axis_theme_color_id(), and UI_GetThemeColor3fv().
Referenced by blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_rotate_style(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_scale_style(), and blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_translate_style().
|
static |
Definition at line 79 of file view3d_gizmo_geometry_nodes.cc.
References TH_AXIS_X, TH_AXIS_Y, and TH_AXIS_Z.
Referenced by get_axis_gizmo_colors().
|
static |
Definition at line 62 of file view3d_gizmo_geometry_nodes.cc.
References GEO_NODE_GIZMO_COLOR_PRIMARY, GEO_NODE_GIZMO_COLOR_SECONDARY, GEO_NODE_GIZMO_COLOR_X, GEO_NODE_GIZMO_COLOR_Y, GEO_NODE_GIZMO_COLOR_Z, TH_AXIS_X, TH_AXIS_Y, TH_AXIS_Z, TH_GIZMO_PRIMARY, and TH_GIZMO_SECONDARY.
Referenced by blender::ed::view3d::geometry_nodes_gizmos::DialGizmo::update_style(), and blender::ed::view3d::geometry_nodes_gizmos::LinearGizmo::update_style().
|
static |
Definition at line 57 of file view3d_gizmo_geometry_nodes.cc.
Referenced by blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos::is_any_interacting(), blender::ed::view3d::geometry_nodes_gizmos::DialGizmo::update(), blender::ed::view3d::geometry_nodes_gizmos::LinearGizmo::update(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_rotate_style(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_rotate_transform_and_target_property(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_scale_transform_and_target_property(), blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::update_translate_transform_and_target_property(), and WIDGETGROUP_geometry_nodes_refresh().
|
static |
True, if the geometry contains a transform for the given gizmo. Also checks if all instances.
Definition at line 825 of file view3d_gizmo_geometry_nodes.cc.
References find_direct_gizmo_transform(), blender::bke::InstanceReference::GeometrySet, and has_nested_gizmo_transform().
Referenced by find_gizmo_geometry_transform_recursive(), and has_nested_gizmo_transform().
|
static |
Definition at line 93 of file view3d_gizmo_geometry_nodes.cc.
References BLI_assert, blender::math::cross(), blender::math::is_orthonormal(), blender::math::normalize(), blender::MatBase< T, NumCol, NumRow, Alignment >::x_axis(), blender::MatBase< T, NumCol, NumRow, Alignment >::y_axis(), and blender::MatBase< T, NumCol, NumRow, Alignment >::z_axis().
Referenced by blender::ed::view3d::geometry_nodes_gizmos::DialGizmo::update_transform(), and blender::ed::view3d::geometry_nodes_gizmos::LinearGizmo::update_transform().
|
static |
Definition at line 102 of file view3d_gizmo_geometry_nodes.cc.
References BLI_assert, blender::math::from_rotation(), blender::math::is_unit_scale(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), rotation_between_vecs_to_quat(), and blender::math::to_vector().
Referenced by blender::ed::view3d::geometry_nodes_gizmos::TransformGizmos::get_axis_gizmo_matrix_basis(), blender::ed::view3d::geometry_nodes_gizmos::DialGizmo::update_transform(), and blender::ed::view3d::geometry_nodes_gizmos::LinearGizmo::update_transform().
|
static |
Definition at line 1107 of file view3d_gizmo_geometry_nodes.cc.
|
static |
Definition at line 910 of file view3d_gizmo_geometry_nodes.cc.
References CTX_wm_area(), View3D::gizmo_flag, and V3D_GIZMO_HIDE_MODIFIER.
|
static |
Definition at line 930 of file view3d_gizmo_geometry_nodes.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos::apply_change, blender::nodes::gizmos::apply_gizmo_change(), C, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), create_gizmo_node_gizmos(), CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_wm_manager(), CTX_wm_view3d(), wmGizmoGroup::customdata, DEG_get_evaluated_object(), DEG_id_tag_update_for_side_effect_request(), depsgraph, ED_node_tree_propagate_change(), blender::nodes::geo_eval_log::GeoTreeLog::ensure_evaluated_gizmo_nodes(), blender::nodes::geo_eval_log::GeoTreeLog::ensure_socket_values(), blender::nodes::geo_eval_log::GeoTreeLog::evaluated_gizmo_nodes, find_geometry_for_gizmo(), find_gizmo_geometry_transform(), blender::nodes::gizmos::foreach_active_gizmo(), blender::nodes::gizmos::get_editable_gizmo_elem(), blender::ed::view3d::geometry_nodes_gizmos::GeoNodesObjectGizmoID::gizmo_id, gizmo_is_interacting(), wmGizmoGroup::gizmos, blender::ComputeContext::hash(), blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos::hide_all(), Object::id, ID_RECALC_GEOMETRY, bNode::identifier, blender::MatBase< float, 4, 4 >::identity(), blender::ed::view3d::geometry_nodes_gizmos::UpdateReport::invalid_transform, blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos::is_any_interacting(), main(), blender::ed::view3d::geometry_nodes_gizmos::UpdateReport::missing_socket_logs, NC_GEOM, ND_DATA, NodesModifierData::node_group, wmGizmoGroup::parent_gzmap, NodesModifierData::runtime, blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos::show_all(), blender::ed::view3d::geometry_nodes_gizmos::NodeGizmos::update(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values(), WM_GIZMO_HIDDEN, WM_GIZMO_NEEDS_UNDO, WM_gizmo_set_flag(), WM_gizmo_unlink(), and WM_main_add_notifier().
|
static |
Definition at line 920 of file view3d_gizmo_geometry_nodes.cc.
References wmGizmoGroup::customdata, wmGizmoGroup::customdata_free, and data.