|
Blender V4.3
|
Classes | |
| struct | Cache |
Enumerations | |
| enum class | FilterOrientation { Local = 0 , World = 1 , View = 2 } |
| enum class | MeshFilterType { Smooth = 0 , Scale = 1 , Inflate = 2 , Sphere = 3 , Random = 4 , Relax = 5 , RelaxFaceSets = 6 , SurfaceSmooth = 7 , Sharpen = 8 , EnhanceDetails = 9 , EraseDisplacement = 10 } |
| enum | eMeshFilterDeformAxis { MESH_FILTER_DEFORM_X = 1 << 0 , MESH_FILTER_DEFORM_Y = 1 << 1 , MESH_FILTER_DEFORM_Z = 1 << 2 } |
| enum | { FILTER_MESH_MODAL_CANCEL = 1 , FILTER_MESH_MODAL_CONFIRM } |
Functions | |
| void | cache_init (bContext *C, Object &ob, const Sculpt &sd, undo::Type undo_type, const float mval_fl[2], float area_normal_radius, float start_strength) |
| void | register_operator_props (wmOperatorType *ot) |
| float3x3 | to_orientation_space (const filter::Cache &filter_cache) |
| float3x3 | to_object_space (const filter::Cache &filter_cache) |
| void | zero_disabled_axis_components (const filter::Cache &filter_cache, MutableSpan< float3 > vectors) |
| static bool | sculpt_mesh_filter_needs_pmap (MeshFilterType filter_type) |
| static bool | sculpt_mesh_filter_is_continuous (MeshFilterType type) |
| static BLI_NOINLINE void | clamp_factors (const MutableSpan< float > factors, const float min, const float max) |
| static void | calc_smooth_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static void | calc_inflate_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static void | calc_scale_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static BLI_NOINLINE void | calc_sphere_translations (const Span< float3 > positions, const Span< float > factors, const MutableSpan< float3 > translations) |
| static void | calc_sphere_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static BLI_NOINLINE void | randomize_factors (const Span< float3 > positions, const int seed, const MutableSpan< float > factors) |
| static void | calc_random_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static void | calc_relax_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static void | calc_relax_face_sets_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static void | calc_surface_smooth_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static BLI_NOINLINE void | calc_sharpen_detail_translations (const filter::Cache &filter_cache, const Span< float3 > positions, const Span< float3 > smooth_positions, const Span< float > sharpen_factors, const Span< float3 > detail_directions, const MutableSpan< float3 > translations) |
| static void | calc_sharpen_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static void | calc_enhance_details_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static void | calc_erase_displacement_filter (const Depsgraph &depsgraph, const Sculpt &sd, const float strength, Object &object, const IndexMask &node_mask) |
| static void | mesh_filter_surface_smooth_init (Object &object, const float shape_preservation, const float current_vertex_displacement) |
| static void | calc_limit_surface_positions (const Object &object, MutableSpan< float3 > limit_positions) |
| static void | mesh_filter_sharpen_init (const Depsgraph &depsgraph, const Object &object, const float smooth_ratio, const float intensify_detail_strength, const int curvature_smooth_iterations, filter::Cache &filter_cache) |
| wmKeyMap * | modal_keymap (wmKeyConfig *keyconf) |
| static void | sculpt_mesh_update_status_bar (bContext *C, wmOperator *) |
| static void | sculpt_mesh_filter_apply (bContext *C, wmOperator *op) |
| static void | sculpt_mesh_update_strength (wmOperator *op, SculptSession &ss, float2 prev_press_mouse, float2 mouse) |
| static void | sculpt_mesh_filter_apply_with_history (bContext *C, wmOperator *op) |
| static void | sculpt_mesh_filter_end (bContext *C) |
| static int | sculpt_mesh_filter_confirm (SculptSession &ss, wmOperator *op, const MeshFilterType filter_type) |
| static void | sculpt_mesh_filter_cancel (bContext *C, wmOperator *) |
| static int | sculpt_mesh_filter_modal (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | sculpt_filter_specific_init (const Depsgraph &depsgraph, const MeshFilterType filter_type, wmOperator *op, Object &object) |
| static int | sculpt_mesh_filter_start (bContext *C, wmOperator *op) |
| static int | sculpt_mesh_filter_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static int | sculpt_mesh_filter_exec (bContext *C, wmOperator *op) |
| static void | sculpt_mesh_ui_exec (bContext *, wmOperator *op) |
| void | SCULPT_OT_mesh_filter (wmOperatorType *ot) |
Variables | |
| static EnumPropertyItem | prop_mesh_filter_types [] |
| static EnumPropertyItem | prop_mesh_filter_deform_axis_items [] |
| static EnumPropertyItem | prop_mesh_filter_orientation_items [] |
| anonymous enum |
| Enumerator | |
|---|---|
| FILTER_MESH_MODAL_CANCEL | |
| FILTER_MESH_MODAL_CONFIRM | |
Definition at line 2112 of file sculpt_filter_mesh.cc.
| Enumerator | |
|---|---|
| MESH_FILTER_DEFORM_X | |
| MESH_FILTER_DEFORM_Y | |
| MESH_FILTER_DEFORM_Z | |
Definition at line 275 of file sculpt_filter_mesh.cc.
|
strong |
| Enumerator | |
|---|---|
| Local | |
| World | |
| View | |
Definition at line 43 of file sculpt_filter.hh.
|
strong |
| Enumerator | |
|---|---|
| Smooth | |
| Scale | |
| Inflate | |
| Sphere | |
| Random | |
| Relax | |
| RelaxFaceSets | |
| SurfaceSmooth | |
| Sharpen | |
| EnhanceDetails | |
| EraseDisplacement | |
Definition at line 230 of file sculpt_filter_mesh.cc.
| void blender::ed::sculpt_paint::filter::cache_init | ( | bContext * | C, |
| Object & | ob, | ||
| const Sculpt & | sd, | ||
| undo::Type | undo_type, | ||
| const float | mval_fl[2], | ||
| float | area_normal_radius, | ||
| float | start_strength ) |
Definition at line 129 of file sculpt_filter_mesh.cc.
References add_v3_v3(), UnifiedPaintSettings::average_stroke_accum, UnifiedPaintSettings::average_stroke_counter, BKE_brush_size_get(), BKE_brush_unprojected_radius_get(), BKE_brush_use_locked_size(), BKE_paint_brush_for_read(), blender::ed::sculpt_paint::calc_area_normal(), copy_m3_m4(), copy_m4_m4(), copy_v3_v3(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), depsgraph, ED_view3d_viewcontext_init(), SculptSession::filter_cache, blender::ed::sculpt_paint::filter::Cache::initial_normal, invert_m4_m4(), SculptSession::last_normal, UnifiedPaintSettings::last_stroke_valid, mul_m3_v3(), mul_m4_v3(), blender::ed::sculpt_paint::node_fully_masked_or_hidden(), blender::ed::sculpt_paint::node_in_sphere(), blender::ed::sculpt_paint::filter::Cache::node_mask, blender::ed::sculpt_paint::filter::Cache::node_mask_memory, normalize_v3_v3(), blender::ed::sculpt_paint::filter::Cache::obmat, blender::ed::sculpt_paint::filter::Cache::obmat_inv, Sculpt::paint, paint_calc_object_space_radius(), blender::bke::object::pbvh_get(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::ed::sculpt_paint::undo::push_nodes(), blender::ed::sculpt_paint::filter::Cache::random_seed, Object::runtime, ViewContext::rv3d, Object::sculpt, SCULPT_stroke_get_location(), blender::bke::pbvh::search_nodes(), UnifiedPaintSettings::size, blender::math::square(), blender::ed::sculpt_paint::filter::Cache::start_filter_strength, blender::ed::sculpt_paint::filter::Cache::vc, blender::ed::sculpt_paint::filter::Cache::view_normal, RegionView3D::viewinv, blender::ed::sculpt_paint::filter::Cache::viewmat, RegionView3D::viewmat, and blender::ed::sculpt_paint::filter::Cache::viewmat_inv.
Referenced by blender::ed::sculpt_paint::init_transform(), blender::ed::sculpt_paint::cloth::sculpt_cloth_filter_invoke(), and blender::ed::sculpt_paint::color::sculpt_color_filter_init().
|
static |
Definition at line 1809 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::ed::sculpt_paint::filter::Cache::automasking, BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, SculptSession::bm_log, blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::filter::Cache::detail_directions, blender::ed::sculpt_paint::PositionDeformData::eval, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_bmesh(), blender::ed::sculpt_paint::gather_data_grids(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::bke::pbvh::Tree::nodes(), blender::ed::sculpt_paint::orig_position_data_gather_bmesh(), blender::ed::sculpt_paint::orig_position_data_get_grids(), blender::ed::sculpt_paint::orig_position_data_get_mesh(), blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::LocalData::positions, blender::ed::sculpt_paint::OrigPositionData::positions, blender::ed::sculpt_paint::reset_translations_to_original(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), blender::ed::sculpt_paint::scale_translations(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 1915 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::ed::sculpt_paint::filter::Cache::automasking, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), clamp_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), depsgraph, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_data_grids(), blender::ed::sculpt_paint::gather_grids_positions(), blender::ed::sculpt_paint::filter::Cache::limit_surface_co, blender::threading::EnumerableThreadSpecific< T >::local(), blender::bke::pbvh::Tree::nodes(), blender::ed::sculpt_paint::orig_position_data_get_grids(), blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::LocalData::positions, blender::ed::sculpt_paint::OrigPositionData::positions, blender::ed::sculpt_paint::reset_translations_to_original(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), blender::ed::sculpt_paint::scale_translations(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::ed::sculpt_paint::translations_from_new_positions(), and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 479 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::ed::sculpt_paint::filter::Cache::automasking, BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, SculptSession::bm_log, blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::MutableSpan< T >::copy_from(), depsgraph, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::threading::EnumerableThreadSpecific< T >::local(), blender::bke::pbvh::Mesh, blender::bke::pbvh::Tree::nodes(), blender::ed::sculpt_paint::OrigPositionData::normals, blender::ed::sculpt_paint::orig_position_data_gather_bmesh(), blender::ed::sculpt_paint::orig_position_data_get_grids(), blender::ed::sculpt_paint::orig_position_data_get_mesh(), blender::bke::object::pbvh_get(), blender::bke::Point, blender::ed::sculpt_paint::LocalData::positions, blender::ed::sculpt_paint::OrigPositionData::positions, blender::ed::sculpt_paint::reset_translations_to_original(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), blender::ed::sculpt_paint::scale_translations(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 1973 of file sculpt_filter_mesh.cc.
References BKE_subdiv_ccg_key_top_level(), SubdivCCG::grids_num, blender::threading::parallel_for(), and SculptSession::subdiv_ccg.
Referenced by sculpt_filter_specific_init().
|
static |
Definition at line 831 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::ed::sculpt_paint::filter::Cache::automasking, BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, SculptSession::bm_log, blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::MutableSpan< T >::copy_from(), blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::PositionDeformData::eval, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::bke::pbvh::Tree::nodes(), blender::ed::sculpt_paint::OrigPositionData::normals, blender::ed::sculpt_paint::orig_position_data_gather_bmesh(), blender::ed::sculpt_paint::orig_position_data_get_grids(), blender::ed::sculpt_paint::orig_position_data_get_mesh(), blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::LocalData::positions, blender::ed::sculpt_paint::OrigPositionData::positions, blender::ed::sculpt_paint::filter::Cache::random_seed, randomize_factors(), blender::ed::sculpt_paint::reset_translations_to_original(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), blender::ed::sculpt_paint::scale_translations(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 1093 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), Geometry::attributes, blender::ed::sculpt_paint::filter::Cache::automasking, BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, blender::bke::pbvh::BMesh, SculptVertexInfo::boundary, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_bmesh(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_faces(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_grids(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), CD_PROP_INT32, clamp_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), CustomData_get_offset_named(), blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::PositionDeformData::eval, blender::bke::Face, blender::ed::sculpt_paint::MeshAttributeData::face_sets, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_bmesh(), blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_grids(), blender::ed::sculpt_paint::face_set::filter_verts_with_unique_face_sets_mesh(), blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_poly, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::ed::sculpt_paint::filter::Cache::iteration_count, blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::bke::pbvh::Tree::nodes(), blender::bke::object::pbvh_get(), BMesh::pdata, blender::ed::sculpt_paint::LocalData::positions, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), blender::bke::pbvh::update_normals(), blender::bke::pbvh::vert_normals_eval(), SculptSession::vertex_info, verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 943 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), Geometry::attributes, blender::ed::sculpt_paint::filter::Cache::automasking, BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, blender::bke::pbvh::BMesh, SculptVertexInfo::boundary, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_bmesh(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_faces(), blender::ed::sculpt_paint::smooth::calc_relaxed_translations_grids(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), CD_PROP_INT32, clamp_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), CustomData_get_offset_named(), blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::PositionDeformData::eval, blender::bke::Face, blender::ed::sculpt_paint::MeshAttributeData::face_sets, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_poly, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::bke::pbvh::Tree::nodes(), blender::bke::object::pbvh_get(), BMesh::pdata, blender::ed::sculpt_paint::LocalData::positions, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), blender::bke::pbvh::update_normals(), blender::bke::pbvh::vert_normals_eval(), SculptSession::vertex_info, verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 589 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::ed::sculpt_paint::filter::Cache::automasking, BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, SculptSession::bm_log, blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::MutableSpan< T >::copy_from(), blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::PositionDeformData::eval, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::bke::pbvh::Tree::nodes(), blender::ed::sculpt_paint::orig_position_data_gather_bmesh(), blender::ed::sculpt_paint::orig_position_data_get_grids(), blender::ed::sculpt_paint::orig_position_data_get_mesh(), blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::LocalData::positions, blender::ed::sculpt_paint::OrigPositionData::positions, blender::ed::sculpt_paint::reset_translations_to_original(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), blender::ed::sculpt_paint::scale_translations(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 1535 of file sculpt_filter_mesh.cc.
References pow2f(), blender::ed::sculpt_paint::filter::Cache::sharpen_intensify_detail_strength, and blender::ed::sculpt_paint::filter::Cache::sharpen_smooth_ratio.
Referenced by calc_sharpen_filter().
|
static |
Definition at line 1555 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::ed::sculpt_paint::filter::Cache::automasking, blender::ed::sculpt_paint::smooth::average_data_grids(), BKE_pbvh_bmesh_node_unique_verts(), BKE_subdiv_ccg_key_top_level(), BKE_subdiv_ccg_neighbor_coords_get(), bm, SculptSession::bm, BM_elem_index_get, BM_mesh_elem_index_ensure(), BM_VERT, blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), calc_sharpen_detail_translations(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::calc_vert_neighbors(), CCG_grid_xy_to_index(), clamp_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), SubdivCCGNeighbors::coords, blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::filter::Cache::detail_directions, blender::ed::sculpt_paint::PositionDeformData::eval, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_bmesh(), blender::ed::sculpt_paint::gather_data_grids(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), CCGKey::grid_area, CCGKey::grid_size, blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_poly, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::Span< T >::index_range(), blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::ed::sculpt_paint::smooth::neighbor_data_average_mesh_check_loose(), blender::ed::sculpt_paint::smooth::neighbor_position_average_bmesh(), blender::bke::pbvh::Tree::nodes(), blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::LocalData::positions, SubdivCCG::positions, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), blender::ed::sculpt_paint::scale_translations(), blender::ed::sculpt_paint::filter::Cache::sharpen_factor, SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), blender::ed::sculpt_paint::vert_neighbors_get_bmesh(), verts, x, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 336 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::ed::sculpt_paint::filter::Cache::automasking, BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, SculptSession::bm_log, blender::bke::pbvh::BMesh, SculptVertexInfo::boundary, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::calc_vert_neighbors_interior(), clamp_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::PositionDeformData::eval, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_poly, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::ed::sculpt_paint::smooth::neighbor_data_average_mesh_check_loose(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_bmesh(), blender::ed::sculpt_paint::smooth::neighbor_position_average_interior_grids(), blender::bke::pbvh::Tree::nodes(), blender::ed::sculpt_paint::orig_position_data_gather_bmesh(), blender::ed::sculpt_paint::orig_position_data_get_grids(), blender::ed::sculpt_paint::orig_position_data_get_mesh(), blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::LocalData::positions, blender::ed::sculpt_paint::OrigPositionData::positions, blender::ed::sculpt_paint::reset_translations_to_original(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), blender::ed::sculpt_paint::scale_translations(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::ed::sculpt_paint::translations_from_new_positions(), blender::bke::pbvh::Tree::type(), SculptSession::vertex_info, verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 714 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::ed::sculpt_paint::filter::Cache::automasking, BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, SculptSession::bm_log, blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), calc_sphere_translations(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::PositionDeformData::eval, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::bke::pbvh::Tree::nodes(), blender::ed::sculpt_paint::orig_position_data_gather_bmesh(), blender::ed::sculpt_paint::orig_position_data_get_grids(), blender::ed::sculpt_paint::orig_position_data_get_mesh(), blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::LocalData::positions, blender::ed::sculpt_paint::OrigPositionData::positions, blender::ed::sculpt_paint::reset_translations_to_original(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 697 of file sculpt_filter_mesh.cc.
References blender::math::abs(), blender::MatBase< float, 3, 3 >::identity(), blender::math::midpoint(), blender::math::normalize(), and scale_m3_fl().
Referenced by calc_sphere_filter().
|
static |
Definition at line 1270 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::apply_translations(), blender::MutableSpan< T >::as_span(), blender::ed::sculpt_paint::filter::Cache::automasking, blender::ed::sculpt_paint::smooth::average_data_bmesh(), blender::ed::sculpt_paint::smooth::average_data_grids(), beta(), BKE_pbvh_bmesh_node_unique_verts(), bm, SculptSession::bm, SculptSession::bm_log, blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::calc_vert_neighbors(), clamp_factors(), blender::ed::sculpt_paint::clip_and_lock_translations(), blender::ed::sculpt_paint::PositionDeformData::deform(), depsgraph, blender::ed::sculpt_paint::PositionDeformData::eval, blender::ed::sculpt_paint::LocalData::factors, SculptSession::filter_cache, blender::index_mask::IndexMask::foreach_index(), blender::ed::sculpt_paint::gather_bmesh_positions(), blender::ed::sculpt_paint::gather_data_bmesh(), blender::ed::sculpt_paint::gather_data_grids(), blender::ed::sculpt_paint::gather_data_mesh(), blender::ed::sculpt_paint::gather_grids_positions(), blender::bke::pbvh::Grids, blender::ed::sculpt_paint::MeshAttributeData::hide_poly, blender::ed::sculpt_paint::MeshAttributeData::hide_vert, blender::threading::EnumerableThreadSpecific< T >::local(), blender::ed::sculpt_paint::MeshAttributeData::mask, blender::bke::pbvh::Mesh, blender::ed::sculpt_paint::smooth::neighbor_data_average_mesh_check_loose(), blender::ed::sculpt_paint::smooth::neighbor_position_average_bmesh(), blender::bke::pbvh::Tree::nodes(), blender::ed::sculpt_paint::orig_position_data_gather_bmesh(), blender::ed::sculpt_paint::orig_position_data_get_grids(), blender::ed::sculpt_paint::orig_position_data_get_mesh(), blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::LocalData::positions, blender::ed::sculpt_paint::OrigPositionData::positions, SubdivCCG::positions, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::ed::sculpt_paint::scale_factors(), blender::ed::sculpt_paint::scale_translations(), blender::ed::sculpt_paint::scatter_data_bmesh(), blender::ed::sculpt_paint::scatter_data_grids(), blender::ed::sculpt_paint::scatter_data_mesh(), blender::Span< T >::size(), SculptSession::subdiv_ccg, blender::ed::sculpt_paint::filter::Cache::surface_smooth_current_vertex, blender::ed::sculpt_paint::smooth::surface_smooth_displace_step(), blender::ed::sculpt_paint::filter::Cache::surface_smooth_laplacian_disp, blender::ed::sculpt_paint::smooth::surface_smooth_laplacian_step(), blender::ed::sculpt_paint::filter::Cache::surface_smooth_shape_preservation, blender::ed::sculpt_paint::LocalData::translations, blender::bke::pbvh::Tree::type(), verts, and zero_disabled_axis_components().
Referenced by sculpt_mesh_filter_apply().
|
static |
Definition at line 327 of file sculpt_filter_mesh.cc.
References min.
Referenced by calc_erase_displacement_filter(), calc_relax_face_sets_filter(), calc_relax_filter(), calc_sharpen_filter(), calc_smooth_filter(), and calc_surface_smooth_filter().
|
static |
Definition at line 1987 of file sculpt_filter_mesh.cc.
References blender::MutableSpan< T >::as_span(), blender::ed::sculpt_paint::smooth::average_data_bmesh(), blender::ed::sculpt_paint::smooth::average_data_grids(), BKE_pbvh_bmesh_node_unique_verts(), BKE_subdiv_ccg_key_top_level(), blender::bke::pbvh::BMesh, blender::ed::sculpt_paint::calc_smooth_translations(), blender::ed::sculpt_paint::calc_vert_neighbors(), depsgraph, blender::ed::sculpt_paint::filter::Cache::detail_directions, blender::index_mask::IndexMask::foreach_index(), CCGKey::grid_area, blender::bke::pbvh::Grids, blender::math::length(), blender::threading::EnumerableThreadSpecific< T >::local(), blender::bke::pbvh::Mesh, mesh_filter_sharpen_init(), blender::ed::sculpt_paint::smooth::neighbor_data_average_mesh_check_loose(), blender::ed::sculpt_paint::filter::Cache::node_mask, blender::bke::pbvh::Tree::nodes(), blender::bke::object::pbvh_get(), pow2f(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::ed::sculpt_paint::scatter_data_bmesh(), blender::ed::sculpt_paint::scatter_data_grids(), blender::ed::sculpt_paint::scatter_data_mesh(), SCULPT_vertex_count_get(), blender::ed::sculpt_paint::filter::Cache::sharpen_curvature_smooth_iterations, blender::ed::sculpt_paint::filter::Cache::sharpen_factor, blender::ed::sculpt_paint::filter::Cache::sharpen_intensify_detail_strength, blender::ed::sculpt_paint::filter::Cache::sharpen_smooth_ratio, blender::Span< T >::size(), SculptSession::subdiv_ccg, blender::bke::pbvh::Tree::type(), and verts.
Referenced by mesh_filter_sharpen_init(), and sculpt_filter_specific_init().
|
static |
Definition at line 1960 of file sculpt_filter_mesh.cc.
References SculptSession::filter_cache, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), SCULPT_vertex_count_get(), blender::ed::sculpt_paint::filter::Cache::surface_smooth_current_vertex, blender::ed::sculpt_paint::filter::Cache::surface_smooth_laplacian_disp, and blender::ed::sculpt_paint::filter::Cache::surface_smooth_shape_preservation.
Referenced by sculpt_filter_specific_init().
| wmKeyMap * blender::ed::sculpt_paint::filter::modal_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 2117 of file sculpt_filter_mesh.cc.
References FILTER_MESH_MODAL_CANCEL, FILTER_MESH_MODAL_CONFIRM, wmKeyMap::modal_items, WM_modalkeymap_assign(), WM_modalkeymap_ensure(), and WM_modalkeymap_find().
Referenced by blender::ed::sculpt_paint::keymap_sculpt().
|
static |
Definition at line 819 of file sculpt_filter_mesh.cc.
References BLI_assert, BLI_hash_int_2d(), float, hash, seed, and blender::MutableSpan< T >::size().
Referenced by calc_random_filter().
| void blender::ed::sculpt_paint::filter::register_operator_props | ( | wmOperatorType * | ot | ) |
Definition at line 2504 of file sculpt_filter_mesh.cc.
References ot, PROP_HIDDEN, PROP_SKIP_SAVE, register_operator_props(), RNA_def_collection_runtime(), RNA_def_float(), RNA_def_int(), RNA_def_int_array(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by register_operator_props(), blender::ed::sculpt_paint::cloth::SCULPT_OT_cloth_filter(), blender::ed::sculpt_paint::color::SCULPT_OT_color_filter(), and SCULPT_OT_mesh_filter().
|
static |
Definition at line 2354 of file sculpt_filter_mesh.cc.
References calc_limit_surface_positions(), blender::ed::sculpt_paint::calc_smooth_translations(), depsgraph, blender::ed::sculpt_paint::filter::Cache::detail_directions, SculptSession::filter_cache, blender::ed::sculpt_paint::filter::Cache::limit_surface_co, mesh_filter_sharpen_init(), mesh_filter_surface_smooth_init(), blender::ed::sculpt_paint::filter::Cache::node_mask, wmOperator::ptr, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), RNA_float_get(), RNA_int_get(), sculpt_filter_specific_init(), and SCULPT_vertex_count_get().
Referenced by sculpt_filter_specific_init(), and sculpt_mesh_filter_start().
|
static |
Definition at line 2146 of file sculpt_filter_mesh.cc.
References calc_enhance_details_filter(), calc_erase_displacement_filter(), calc_inflate_filter(), calc_random_filter(), calc_relax_face_sets_filter(), calc_relax_filter(), calc_scale_filter(), calc_sharpen_filter(), calc_smooth_filter(), calc_sphere_filter(), calc_surface_smooth_filter(), CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_tool_settings(), depsgraph, SculptSession::filter_cache, blender::ed::sculpt_paint::flush_update_step(), blender::ed::sculpt_paint::filter::Cache::iteration_count, blender::ed::sculpt_paint::filter::Cache::node_mask, blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::Position, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), Object::sculpt, ToolSettings::sculpt, sculpt_mesh_filter_apply(), SCULPT_vertex_random_access_ensure(), blender::bke::pbvh::Tree::tag_positions_changed(), and blender::bke::pbvh::update_bounds().
Referenced by sculpt_mesh_filter_apply(), sculpt_mesh_filter_apply_with_history(), and sculpt_mesh_filter_modal().
|
static |
Definition at line 2213 of file sculpt_filter_mesh.cc.
References CTX_data_active_object(), SculptSession::filter_cache, wmOperator::ptr, RNA_BEGIN, RNA_collection_length(), RNA_END, RNA_float_get_array(), RNA_float_set(), Object::sculpt, sculpt_mesh_filter_apply(), sculpt_mesh_filter_apply_with_history(), sculpt_mesh_update_strength(), and blender::ed::sculpt_paint::filter::Cache::start_filter_strength.
Referenced by sculpt_mesh_filter_apply_with_history(), and sculpt_mesh_filter_exec().
|
static |
Definition at line 2268 of file sculpt_filter_mesh.cc.
References CTX_data_active_object(), CTX_data_depsgraph_pointer(), depsgraph, blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::undo::restore_position_from_undo_step(), Object::sculpt, sculpt_mesh_filter_cancel(), and blender::bke::pbvh::update_bounds().
Referenced by sculpt_mesh_filter_cancel(), sculpt_mesh_filter_modal(), and SCULPT_OT_mesh_filter().
|
static |
Definition at line 2255 of file sculpt_filter_mesh.cc.
References SculptSession::filter_cache, OPERATOR_FINISHED, wmOperator::ptr, RNA_float_set(), sculpt_mesh_filter_confirm(), sculpt_mesh_filter_is_continuous(), and blender::ed::sculpt_paint::filter::Cache::start_filter_strength.
Referenced by sculpt_mesh_filter_confirm(), and sculpt_mesh_filter_modal().
|
static |
Definition at line 2245 of file sculpt_filter_mesh.cc.
References CTX_data_active_object(), SculptSession::filter_cache, blender::ed::sculpt_paint::flush_update_done(), blender::ed::sculpt_paint::Position, Object::sculpt, and sculpt_mesh_filter_end().
Referenced by sculpt_mesh_filter_end(), sculpt_mesh_filter_exec(), and sculpt_mesh_filter_modal().
|
static |
Definition at line 2485 of file sculpt_filter_mesh.cc.
References OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, ret, RNA_int_get(), sculpt_mesh_filter_apply_with_history(), sculpt_mesh_filter_end(), sculpt_mesh_filter_exec(), and sculpt_mesh_filter_start().
Referenced by sculpt_mesh_filter_exec(), and SCULPT_OT_mesh_filter().
|
static |
Definition at line 2472 of file sculpt_filter_mesh.cc.
References wmEvent::mval, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, wmOperator::ptr, ret, RNA_int_set_array(), sculpt_mesh_filter_invoke(), sculpt_mesh_filter_start(), and WM_event_add_modal_handler().
Referenced by sculpt_mesh_filter_invoke(), and SCULPT_OT_mesh_filter().
|
static |
Definition at line 318 of file sculpt_filter_mesh.cc.
References ELEM, Relax, RelaxFaceSets, Sharpen, and Smooth.
Referenced by sculpt_mesh_filter_confirm(), and sculpt_mesh_filter_modal().
|
static |
Definition at line 2284 of file sculpt_filter_mesh.cc.
References BKE_sculpt_update_object_for_edit(), CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_wm_window(), depsgraph, ED_workspace_status_text(), EVT_MODAL_MAP, FILTER_MESH_MODAL_CANCEL, FILTER_MESH_MODAL_CONFIRM, MOUSEMOVE, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmEvent::prev_press_xy, wmOperator::ptr, blender::ed::sculpt_paint::undo::push_end_ex(), ret, RNA_collection_add(), RNA_collection_length(), RNA_enum_get(), RNA_float_set(), RNA_float_set_array(), Object::sculpt, sculpt_mesh_filter_apply(), sculpt_mesh_filter_cancel(), sculpt_mesh_filter_confirm(), sculpt_mesh_filter_end(), sculpt_mesh_filter_is_continuous(), sculpt_mesh_filter_modal(), sculpt_mesh_update_status_bar(), sculpt_mesh_update_strength(), wmEvent::type, wmEvent::val, WM_CURSOR_EW_SCROLL, WM_cursor_modal_restore(), WM_cursor_modal_set(), WM_event_tablet_data(), and wmEvent::xy.
Referenced by sculpt_mesh_filter_modal(), and SCULPT_OT_mesh_filter().
|
static |
Definition at line 307 of file sculpt_filter_mesh.cc.
References ELEM, EnhanceDetails, Relax, RelaxFaceSets, Sharpen, Smooth, and SurfaceSmooth.
Referenced by sculpt_mesh_filter_start().
|
static |
Definition at line 2393 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::filter::Cache::active_face_set, blender::ed::sculpt_paint::filter::Cache::automasking, BKE_base_is_visible(), BKE_sculpt_update_object_for_edit(), blender::ed::sculpt_paint::auto_mask::cache_init(), CTX_data_active_base(), CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_scene(), CTX_data_tool_settings(), CTX_wm_view3d(), depsgraph, blender::ed::sculpt_paint::filter::Cache::enabled_axis, blender::ed::sculpt_paint::boundary::ensure_boundary_info(), SculptSession::filter_cache, float, blender::bke::pbvh::Grids, blender::ed::sculpt_paint::auto_mask::is_enabled(), MESH_FILTER_DEFORM_X, MESH_FILTER_DEFORM_Y, MESH_FILTER_DEFORM_Z, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, blender::ed::sculpt_paint::filter::Cache::orientation, blender::bke::object::pbvh_get(), blender::ed::sculpt_paint::undo::Position, wmOperator::ptr, blender::ed::sculpt_paint::undo::push_begin(), blender::ed::sculpt_paint::report_if_shape_key_is_locked(), wmOperator::reports, RNA_enum_get(), RNA_float_get(), RNA_int_get_array(), Object::sculpt, ToolSettings::sculpt, SCULPT_cursor_geometry_info_update(), SCULPT_FACE_SET_NONE, sculpt_filter_specific_init(), sculpt_mesh_filter_needs_pmap(), sculpt_mesh_filter_start(), SCULPT_vertex_random_access_ensure(), and blender::bke::pbvh::Tree::type().
Referenced by sculpt_mesh_filter_exec(), sculpt_mesh_filter_invoke(), and sculpt_mesh_filter_start().
|
static |
Definition at line 2537 of file sculpt_filter_mesh.cc.
References wmOperator::layout, wmOperator::ptr, sculpt_mesh_ui_exec(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, uiItemR(), and uiLayoutRow().
Referenced by sculpt_mesh_ui_exec(), and SCULPT_OT_mesh_filter().
|
static |
Definition at line 2139 of file sculpt_filter_mesh.cc.
References IFACE_, WorkspaceStatus::item(), and sculpt_mesh_update_status_bar().
Referenced by sculpt_mesh_filter_modal(), and sculpt_mesh_update_status_bar().
|
static |
Definition at line 2203 of file sculpt_filter_mesh.cc.
References SculptSession::filter_cache, len, wmOperator::ptr, RNA_float_set(), sculpt_mesh_update_strength(), blender::ed::sculpt_paint::filter::Cache::start_filter_strength, and UI_SCALE_FAC.
Referenced by sculpt_mesh_filter_apply_with_history(), sculpt_mesh_filter_modal(), and sculpt_mesh_update_strength().
| void blender::ed::sculpt_paint::filter::SCULPT_OT_mesh_filter | ( | wmOperatorType * | ot | ) |
Definition at line 2548 of file sculpt_filter_mesh.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MESH_FILTER_DEFORM_X, MESH_FILTER_DEFORM_Y, MESH_FILTER_DEFORM_Z, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_mesh_filter_deform_axis_items, prop_mesh_filter_orientation_items, prop_mesh_filter_types, register_operator_props(), RNA_def_enum(), RNA_def_enum_flag(), RNA_def_float(), RNA_def_int(), RNA_def_property_translation_context(), sculpt_mesh_filter_cancel(), sculpt_mesh_filter_exec(), sculpt_mesh_filter_invoke(), sculpt_mesh_filter_modal(), sculpt_mesh_ui_exec(), SCULPT_mode_poll(), SCULPT_OT_mesh_filter(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by blender::ed::sculpt_paint::operatortypes_sculpt(), and SCULPT_OT_mesh_filter().
| float3x3 blender::ed::sculpt_paint::filter::to_object_space | ( | const filter::Cache & | filter_cache | ) |
Definition at line 82 of file sculpt_filter_mesh.cc.
References BLI_assert_unreachable, blender::MatBase< float, 3, 3 >::identity(), Local, blender::ed::sculpt_paint::filter::Cache::obmat_inv, blender::ed::sculpt_paint::filter::Cache::orientation, View, blender::ed::sculpt_paint::filter::Cache::viewmat_inv, and World.
Referenced by blender::ed::sculpt_paint::cloth::calc_gravity_forces(), and zero_disabled_axis_components().
| float3x3 blender::ed::sculpt_paint::filter::to_orientation_space | ( | const filter::Cache & | filter_cache | ) |
Definition at line 68 of file sculpt_filter_mesh.cc.
References BLI_assert_unreachable, blender::MatBase< float, 3, 3 >::identity(), Local, blender::ed::sculpt_paint::filter::Cache::obmat, blender::ed::sculpt_paint::filter::Cache::orientation, View, blender::ed::sculpt_paint::filter::Cache::viewmat, and World.
Referenced by zero_disabled_axis_components().
| void blender::ed::sculpt_paint::filter::zero_disabled_axis_components | ( | const filter::Cache & | filter_cache, |
| MutableSpan< float3 > | vectors ) |
Definition at line 96 of file sculpt_filter_mesh.cc.
References blender::ed::sculpt_paint::filter::Cache::enabled_axis, blender::MutableSpan< T >::index_range(), Local, blender::ed::sculpt_paint::filter::Cache::orientation, to_object_space(), to_orientation_space(), and vector.
Referenced by blender::ed::sculpt_paint::cloth::apply_scale_filter(), calc_enhance_details_filter(), calc_erase_displacement_filter(), calc_inflate_filter(), calc_random_filter(), calc_relax_face_sets_filter(), calc_relax_filter(), calc_scale_filter(), calc_sharpen_filter(), calc_smooth_filter(), calc_sphere_filter(), and calc_surface_smooth_filter().
|
static |
Definition at line 281 of file sculpt_filter_mesh.cc.
Referenced by SCULPT_OT_mesh_filter().
|
static |
Definition at line 288 of file sculpt_filter_mesh.cc.
Referenced by SCULPT_OT_mesh_filter().
|
static |
Definition at line 244 of file sculpt_filter_mesh.cc.
Referenced by SCULPT_OT_mesh_filter().