Blender V5.0
blender::bke::crazyspace::GeometryDeformation Struct Reference

#include <BKE_crazyspace.hh>

Public Member Functions

float3 translation_from_deformed_to_original (const int position_i, const float3 &translation) const

Public Attributes

Span< float3positions
Span< float3x3deform_mats

Detailed Description

Contains information about how points have been deformed during evaluation. This allows mapping edits on evaluated data back to original data in some cases.

Definition at line 32 of file BKE_crazyspace.hh.

Member Function Documentation

◆ translation_from_deformed_to_original()

Member Data Documentation

◆ deform_mats

Span<float3x3> blender::bke::crazyspace::GeometryDeformation::deform_mats

Matrices that transform point translations on original data into corresponding translations in evaluated data. This may be empty if not available.

Definition at line 42 of file BKE_crazyspace.hh.

Referenced by blender::ed::transform::curves::curve_populate_trans_data_structs(), blender::bke::crazyspace::get_evaluated_curves_deformation(), and blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation().

◆ positions

Span<float3> blender::bke::crazyspace::GeometryDeformation::positions

Positions of the deformed points. This may also point to the original position if no deformation data is available.

Definition at line 37 of file BKE_crazyspace.hh.

Referenced by blender::ed::sculpt_paint::greasepencil::calculate_view_positions(), blender::ed::sculpt_paint::greasepencil::calculate_view_radii(), blender::ed::sculpt_paint::CombOperationExecutor::comb_projected(), blender::ed::sculpt_paint::CombOperationExecutor::comb_spherical(), blender::ed::sculpt_paint::greasepencil::compute_orig_delta(), blender::draw::create_edit_points_position(), ED_view3d_minmax_verts(), blender::ed::sculpt_paint::DeleteOperationExecutor::execute(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::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(), blender::ed::greasepencil::get_boundary_bounds(), blender::bke::crazyspace::get_evaluated_curves_deformation(), blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation(), blender::ed::curves::get_selection_attribute_positions(), blender::ed::transform::gizmo_3d_foreach_selected(), blender::ed::curves::init_selectable_foreach(), blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin(), 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::greasepencil::weight_sample_invoke().


The documentation for this struct was generated from the following file: