|
Blender V5.3
|
#include <algorithm>#include <cfloat>#include <cmath>#include <cstring>#include <optional>#include "DNA_armature_types.h"#include "DNA_curve_types.h"#include "DNA_lattice_types.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_meta_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "MEM_guardedalloc.h"#include "BLT_translation.hh"#include "BLI_array.hh"#include "BLI_array_utils_c.hh"#include "BLI_bit_vector.hh"#include "BLI_bounds.hh"#include "BLI_listbase.hh"#include "BLI_math_matrix.hh"#include "BLI_math_matrix_c.hh"#include "BLI_math_rotation_c.hh"#include "BLI_math_vector.hh"#include "BLI_math_vector_c.hh"#include "BLI_string_utf8.hh"#include "BLI_utildefines.hh"#include "BLI_vector.hh"#include "BKE_action.hh"#include "BKE_armature.hh"#include "BKE_context.hh"#include "BKE_curve.hh"#include "BKE_curves.hh"#include "BKE_curves_utils.hh"#include "BKE_customdata.hh"#include "BKE_deform.hh"#include "BKE_editmesh.hh"#include "BKE_layer.hh"#include "BKE_library.hh"#include "BKE_mesh_types.hh"#include "BKE_object.hh"#include "BKE_object_deform.h"#include "BKE_object_types.hh"#include "BKE_report.hh"#include "BKE_screen.hh"#include "DEG_depsgraph.hh"#include "WM_api.hh"#include "WM_types.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "ED_curves.hh"#include "ED_grease_pencil.hh"#include "ED_mesh.hh"#include "ED_object.hh"#include "ED_object_vgroup.hh"#include "ED_screen.hh"#include "ED_transform.hh"#include "ANIM_bone_collections.hh"#include "UI_interface.hh"#include "UI_interface_layout.hh"#include "UI_resources.hh"#include "view3d_intern.hh"Go to the source code of this file.
Classes | |
| struct | blender::TransformMedian_Generic |
| struct | blender::TransformMedian_Mesh |
| struct | blender::TransformMedian_Curve |
| struct | blender::TransformMedian_Lattice |
| struct | blender::TransformMedian_Curves |
| union | blender::TransformMedian |
| struct | blender::CurvesDataPanelState |
| struct | blender::TransformCoordsOrig |
| struct | blender::TransformProperties |
| struct | blender::CurvesPointSelectionStatus |
| struct | blender::StatusValue< T > |
| struct | blender::CurvesSelectionStatus |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
Transform Properties | |
| static TransformProperties * | blender::v3d_transform_props_ensure (View3D *v3d) |
Panel Interaction | |
Active while dragging for edit-mesh updates, freeing stored coordinates on exit. | |
| static void | blender::coords_orig_free (const bContext *C) |
| static void * | blender::transform_panel_interaction_begin_fn (bContext *C, const ui::BlockInteraction_Params *params, void *arg1) |
| static void | blender::transform_panel_interaction_end_fn (bContext *C, const ui::BlockInteraction_Params *, void *, void *user_data) |
| static void | blender::transform_panel_interaction_update_fn (bContext *C, const ui::BlockInteraction_Params *, void *arg1, void *user_data) |
Median Utilities | |
| static Bounds< float3 > | blender::median_bounds_init () |
| static bool | blender::median_bounds_is_set (const Bounds< float3 > &bounds) |
| static void | blender::median_bounds_add (float location[3], Bounds< float3 > &bounds, const float4x4 *matrix, const float co[3]) |
| static void | blender::dims_apply_store (TransformCoordsOrig &coords_orig, const float4x4 &mat, float3 &co) |
| static void | blender::dims_apply_restore (TransformCoordsOrig &coords_orig, const float4x4 &mat, float3 &co) |
| static std::optional< float4x4 > | blender::median_dims_scale_matrix_calc (const Object &ob, const float4x4 *matrix, const float3 &pivot_world, const float3 &dims_orig, const float3 &dims_new) |
| static float | blender::compute_scale_factor (const float ve_median, const float median) |
| static void | blender::apply_raw_diff (float *val, const int tot, const float ve_median, const float median) |
| static void | blender::apply_raw_diff_v3 (float val[3], const int tot, const float ve_median[3], const float median[3]) |
| static void | blender::apply_scale_factor (float *val, const int tot, const float ve_median, const float median, const float sca) |
| static void | blender::apply_scale_factor_clamp (float *val, const int tot, const float ve_median, const float sca) |
Curves Selection Status | |
| static bool | blender::grease_pencil_layer_is_skipped (const float4x4 &grease_pencil_layer_to_object) |
| static CurvesPointSelectionStatus | blender::init_curves_point_selection_status (const bke::CurvesGeometry &curves, const float4x4 *grease_pencil_layer_to_object, const float4x4 *bounds_matrix) |
| static float4x4 | blender::object_to_grease_pencil_layer_calc (const float4x4 &grease_pencil_layer_to_object) |
| static bool | blender::apply_to_curves_point_selection (const int tot, const TransformMedian_Curves &median, const TransformMedian_Curves &ve_median, const std::optional< float4x4 > &dims_mat_object, const float4x4 *grease_pencil_layer_to_object, TransformCoordsOrig *coords_orig, bke::CurvesGeometry &curves) |
| static CurvesSelectionStatus | blender::init_curves_selection_status (const bke::CurvesGeometry &curves) |
| template<typename T> | |
| static StatusValue< T > | blender::init_status_from_attribute (const blender::VArray< T > &attribute, const blender::IndexMask &selection, const T &default_value) |
| static CurvesSelectionStatus | blender::init_grease_pencil_selection_status (const blender::bke::CurvesGeometry &curves) |
Edit Vertex Buttons | |
| static void | blender::calc_median_bmesh (BMesh &bm, const float4x4 *bounds_matrix, TransformMedian_Mesh &median, Bounds< float3 > &r_select_bounds, int &tot, int &totedgedata) |
| static void | blender::apply_median_to_bmesh (BMesh &bm, const TransformMedian_Mesh &median, const TransformMedian_Mesh &ve_median, const int tot, const bool apply_vcos, const FunctionRef< void(float co[3])> apply_coord_fn) |
| static void | blender::v3d_editvertex_buts (const bContext *C, ui::Layout *layout, View3D *v3d, Object *ob, float lim) |
Object Dimension Buttons | |
| static void | blender::v3d_object_dimension_buts (bContext *C, ui::Layout *layout, View3D *v3d, Object *ob) |
Transform Buttons | |
| static void | blender::v3d_transform_butsR (ui::Layout &layout, PointerRNA *ptr) |
| static void | blender::v3d_posearmature_buts (ui::Layout &layout, Object *ob) |
| static void | blender::v3d_editarmature_buts (ui::Layout &layout, Object *ob) |
| static void | blender::v3d_editmetaball_buts (ui::Layout &layout, Object *ob) |
Transform Panel | |
| static void | blender::do_view3d_region_buttons (bContext *C, void *, int event) |
| static bool | blender::view3d_panel_transform_poll (const bContext *C, PanelType *) |
| static void | blender::view3d_panel_transform (const bContext *C, Panel *panel) |
Registration | |
| void | blender::view3d_buttons_register (ARegionType *art) |
Object Mode Pie or Toggle Operator | |
| static wmOperatorStatus | blender::view3d_object_mode_menu_exec (bContext *C, wmOperator *op) |
| void | blender::VIEW3D_OT_object_mode_pie_or_toggle (wmOperatorType *ot) |
Transform Panel Types | |
| #define | TRANSFORM_MEDIAN_ARRAY_LEN (sizeof(TransformMedian) / sizeof(float)) |
| enum | { blender::B_TRANSFORM_PANEL_MEDIAN = 1008 , blender::B_TRANSFORM_PANEL_OBJECT_DIMS = 1009 , blender::B_TRANSFORM_PANEL_ELEM_DIMS = 1010 } |
Vertex Group Panel | |
| #define | B_VGRP_PNL_EDIT_SINGLE 8 |
| static void | blender::do_view3d_vgroup_buttons (bContext *C, void *, int event) |
| static bool | blender::view3d_panel_vgroup_poll (const bContext *C, PanelType *) |
| static void | blender::update_active_vertex_weight (bContext *C, void *arg1, void *) |
| static void | blender::view3d_panel_vgroup (const bContext *C, Panel *panel) |
| #define B_VGRP_PNL_EDIT_SINGLE 8 |
Definition at line 2270 of file view3d_buttons.cc.
Referenced by blender::do_view3d_vgroup_buttons(), and blender::view3d_panel_vgroup().
Definition at line 206 of file view3d_buttons.cc.
Referenced by blender::v3d_editvertex_buts().