|
Blender V4.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, int layer_index, int frame) |
| GeometryDeformation | get_evaluated_grease_pencil_drawing_deformation (const Depsgraph &depsgraph, const Object &ob_orig, int layer_index, int frame) |
| GeometryDeformation blender::bke::crazyspace::get_evaluated_curves_deformation | ( | const Depsgraph & | depsgraph, |
| const Object & | ob_orig ) |
Definition at line 620 of file crazyspace.cc.
References DEG_get_evaluated_object(), depsgraph, 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 566 of file crazyspace.cc.
References BLI_assert, blender::bke::GeometryComponentEditData::curves_edit_hints_, blender::bke::CurvesEditHints::curves_id_orig, Object::data, blender::bke::CurvesEditHints::deform_mats, Curves::geometry, blender::bke::CurveComponent::get(), blender::bke::GeometrySet::get_component(), OB_CURVES, blender::bke::CurvesGeometry::points_num(), blender::bke::crazyspace::GeometryDeformation::positions, blender::bke::CurvesEditHints::positions(), blender::bke::CurvesGeometry::positions(), Object::runtime, and Object::type.
Referenced by blender::ed::sculpt_paint::CombOperationExecutor::comb_projected(), blender::ed::sculpt_paint::CombOperationExecutor::comb_spherical(), blender::ed::sculpt_paint::DeleteOperationExecutor::execute(), blender::ed::sculpt_paint::SlideOperationExecutor::execute(), blender::ed::sculpt_paint::PuffOperationExecutor::find_curve_weights_projected(), blender::ed::sculpt_paint::PuffOperationExecutor::find_curves_weights_spherical(), blender::ed::sculpt_paint::SmoothOperationExecutor::find_projected_smooth_factors(), 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(), gizmo_3d_foreach_selected(), 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::SnakeHookOperatorExecutor::projected_snake_hook(), blender::ed::sculpt_paint::sample_curves_3d_brush(), and blender::ed::sculpt_paint::SnakeHookOperatorExecutor::spherical_snake_hook().
| GeometryDeformation blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation | ( | const Depsgraph & | depsgraph, |
| const Object & | ob_orig, | ||
| int | layer_index, | ||
| int | frame ) |
Definition at line 694 of file crazyspace.cc.
References DEG_get_evaluated_object(), depsgraph, 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, | ||
| int | layer_index, | ||
| int | frame ) |
Definition at line 627 of file crazyspace.cc.
References BLI_assert, Object::data, blender::bke::GeometrySet::get_component(), blender::bke::GeometryComponentEditData::grease_pencil_edit_hints_, blender::bke::GeometrySet::has(), OB_GREASE_PENCIL, blender::bke::CurvesGeometry::points_num(), blender::bke::crazyspace::GeometryDeformation::positions, blender::bke::CurvesGeometry::positions(), blender::bke::GreasePencilDrawingEditHints::positions(), Object::runtime, blender::Span< T >::size(), blender::bke::greasepencil::Drawing::strokes(), and Object::type.
Referenced by blender::io::grease_pencil::compute_drawing_bounds(), blender::ed::greasepencil::execute_trim_on_drawing(), blender::ed::sculpt_paint::greasepencil::get_drawing_deformation(), get_evaluated_grease_pencil_drawing_deformation(), gizmo_3d_foreach_selected(), and blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin().