Blender
V3.3
|
#include <BKE_crazyspace.hh>
Public Member Functions | |
float3 | translation_from_deformed_to_original (const int position_i, const float3 &translation) const |
Public Attributes | |
Span< float3 > | positions |
Span< float3x3 > | deform_mats |
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 22 of file BKE_crazyspace.hh.
|
inline |
Definition at line 34 of file BKE_crazyspace.hh.
References blender::float3x3::inverted(), and blender::Span< T >::is_empty().
Matrices that transform point translations on original data into corresponding translations in evaluated data. This may be empty if not available.
Definition at line 32 of file BKE_crazyspace.hh.
Referenced by blender::bke::crazyspace::get_evaluated_curves_deformation().
Positions of the deformed points. This may also point to the original position if no deformation data is available.
Definition at line 27 of file BKE_crazyspace.hh.
Referenced by blender::ed::sculpt_paint::DeleteOperationExecutor::execute(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::execute(), blender::ed::sculpt_paint::SlideOperationExecutor::execute(), blender::bke::crazyspace::get_evaluated_curves_deformation(), blender::ed::sculpt_paint::DensityAddOperationExecutor::prepare_curve_roots_kdtrees(), and blender::ed::sculpt_paint::sample_curves_3d_brush().