|
Blender V5.3
|
Classes | |
| struct | GeometryDeformation |
Functions | |
| GeometryDeformation | get_evaluated_curves_deformation (const Object *ob_eval, const Object &ob_orig) |
| GeometryDeformation | get_evaluated_curves_deformation (const Depsgraph &depsgraph, const Object &ob_orig) |
| GeometryDeformation | get_evaluated_grease_pencil_drawing_deformation (const Object *ob_eval, const Object &ob_orig, const bke::greasepencil::Drawing &drawing_orig) |
| GeometryDeformation | get_evaluated_grease_pencil_drawing_deformation (const Depsgraph &depsgraph, const Object &ob_orig, const bke::greasepencil::Drawing &drawing_orig) |
| static const GreasePencilDrawingEditHints * | get_drawing_edit_hint_for_original_drawing (const GreasePencilEditHints *edit_hints, const bke::greasepencil::Drawing &drawing_orig) |
|
static |
Definition at line 633 of file crazyspace.cc.
References blender::bke::GreasePencilEditHints::drawing_hints, blender::bke::GreasePencilDrawingEditHints::drawing_orig, and get_drawing_edit_hint_for_original_drawing().
Referenced by get_drawing_edit_hint_for_original_drawing(), and get_evaluated_grease_pencil_drawing_deformation().
| GeometryDeformation blender::bke::crazyspace::get_evaluated_curves_deformation | ( | const Depsgraph & | depsgraph, |
| const Object & | ob_orig ) |
Definition at line 626 of file crazyspace.cc.
References blender::DEG_get_evaluated(), and get_evaluated_curves_deformation().
| GeometryDeformation blender::bke::crazyspace::get_evaluated_curves_deformation | ( | const Object * | ob_eval, |
| const Object & | ob_orig ) |
During evaluation of the object, deformation data may have been generated for this object. This function either retrieves the deformation data from the evaluated object, or falls back to returning the original data.
Definition at line 572 of file crazyspace.cc.
References blender::BLI_assert(), blender::bke::GeometryComponentEditData::curves_edit_hints_, blender::bke::CurvesEditHints::curves_id_orig, blender::Object::data, blender::bke::crazyspace::GeometryDeformation::deform_mats, blender::bke::CurvesEditHints::deform_mats, blender::bke::ObjectRuntime::geometry_set_eval, blender::bke::CurveComponent::get(), blender::bke::GeometrySet::get_component(), get_evaluated_curves_deformation(), blender::OB_CURVES, blender::bke::CurvesGeometry::points_num(), blender::bke::crazyspace::GeometryDeformation::positions, blender::bke::CurvesEditHints::positions(), blender::bke::CurvesGeometry::positions(), blender::Object::runtime, and blender::Object::type.
Referenced by blender::ed::sculpt_paint::CombOperationExecutor::comb_projected(), blender::ed::sculpt_paint::CombOperationExecutor::comb_spherical(), blender::ed::transform::curves::createTransCurvesVerts(), blender::curves_select_circle(), blender::curves_select_lasso(), blender::ed::sculpt_paint::CutOperationExecutor::cut_curves(), blender::do_curves_select_box(), blender::draw::DRW_curves_batch_cache_create_requested(), blender::ed_curves_select_pick(), blender::ED_view3d_minmax_verts(), blender::ed::sculpt_paint::DeleteOperationExecutor::execute(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::execute(), blender::ed::sculpt_paint::SlideOperationExecutor::execute(), blender::ed::curves::find_closest_curve(), blender::ed::sculpt_paint::PuffOperationExecutor::find_curve_weights_projected(), blender::ed::sculpt_paint::PuffOperationExecutor::find_curves_weights_spherical(), blender::ed::sculpt_paint::CutOperationExecutor::find_projected_points_in_stroke(), blender::ed::sculpt_paint::SmoothOperationExecutor::find_projected_smooth_factors(), blender::ed::sculpt_paint::CutOperationExecutor::find_spherical_points_in_stroke(), blender::ed::sculpt_paint::SmoothOperationExecutor::find_spherical_smooth_factors(), blender::ed::sculpt_paint::CurvesEffectOperationExecutor::gather_influences_projected(), blender::ed::sculpt_paint::CurvesEffectOperationExecutor::gather_influences_spherical(), get_evaluated_curves_deformation(), get_evaluated_curves_deformation(), blender::ed::transform::gizmo_3d_foreach_selected(), blender::ed::sculpt_paint::SelectionPaintOperationExecutor::paint_curve_selection_projected(), blender::ed::sculpt_paint::SelectionPaintOperationExecutor::paint_curve_selection_spherical(), blender::ed::sculpt_paint::SelectionPaintOperationExecutor::paint_point_selection_projected(), blender::ed::sculpt_paint::SelectionPaintOperationExecutor::paint_point_selection_spherical(), blender::ed::sculpt_paint::PinchOperationExecutor::pinch_projected(), blender::ed::sculpt_paint::PinchOperationExecutor::pinch_spherical(), blender::ed::sculpt_paint::DensityAddOperationExecutor::prepare_curve_roots_kdtrees(), blender::ed::sculpt_paint::SnakeHookOperatorExecutor::projected_snake_hook(), blender::ed::sculpt_paint::sample_curves_3d_brush(), blender::ed::sculpt_paint::SnakeHookOperatorExecutor::spherical_snake_hook(), and blender::ed::sculpt_paint::use_add_density_mode().
| GeometryDeformation blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation | ( | const Depsgraph & | depsgraph, |
| const Object & | ob_orig, | ||
| const bke::greasepencil::Drawing & | drawing_orig ) |
Definition at line 719 of file crazyspace.cc.
References blender::DEG_get_evaluated(), and get_evaluated_grease_pencil_drawing_deformation().
| GeometryDeformation blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation | ( | const Object * | ob_eval, |
| const Object & | ob_orig, | ||
| const bke::greasepencil::Drawing & | drawing_orig ) |
Definition at line 644 of file crazyspace.cc.
References blender::BLI_assert(), blender::IndexRange::contains(), blender::Object::data, blender::bke::crazyspace::GeometryDeformation::deform_mats, blender::bke::ObjectRuntime::geometry_set_eval, blender::bke::GeometrySet::get_component(), get_drawing_edit_hint_for_original_drawing(), get_evaluated_grease_pencil_drawing_deformation(), blender::bke::GeometrySet::get_grease_pencil(), blender::bke::GeometryComponentEditData::grease_pencil_edit_hints_, blender::bke::GeometrySet::has(), blender::Span< T >::index_range(), blender::OB_GREASE_PENCIL, blender::bke::CurvesGeometry::points_num(), blender::bke::crazyspace::GeometryDeformation::positions, blender::bke::CurvesGeometry::positions(), blender::Object::runtime, blender::bke::greasepencil::Drawing::strokes(), and blender::Object::type.
Referenced by blender::ed::transform::greasepencil::createTransGreasePencilVerts(), blender::do_grease_pencil_box_select(), blender::do_lasso_select_grease_pencil(), blender::ed_grease_pencil_select_pick(), blender::ED_view3d_minmax_verts(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::execute(), blender::ed::greasepencil::execute_carver_on_drawing(), blender::ed::greasepencil::execute_trim_on_drawing(), blender::ed::greasepencil::get_boundary_bounds(), blender::ed::sculpt_paint::greasepencil::get_drawing_deformation(), get_evaluated_grease_pencil_drawing_deformation(), get_evaluated_grease_pencil_drawing_deformation(), blender::ed::transform::gizmo_3d_foreach_selected(), blender::grease_pencil_circle_select(), blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin(), and blender::ed::greasepencil::weight_sample_invoke().