Blender V4.3
blender::bke::crazyspace Namespace Reference

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)
 

Function Documentation

◆ get_evaluated_curves_deformation() [1/2]

GeometryDeformation blender::bke::crazyspace::get_evaluated_curves_deformation ( const Depsgraph & depsgraph,
const Object & ob_orig )

◆ get_evaluated_curves_deformation() [2/2]

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().

◆ get_evaluated_grease_pencil_drawing_deformation() [1/2]

GeometryDeformation blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation ( const Depsgraph & depsgraph,
const Object & ob_orig,
int layer_index,
int frame )

◆ get_evaluated_grease_pencil_drawing_deformation() [2/2]