Blender V4.3
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 28 of file BKE_crazyspace.hh.

Member Function Documentation

◆ translation_from_deformed_to_original()

float3 blender::bke::crazyspace::GeometryDeformation::translation_from_deformed_to_original ( const int position_i,
const float3 & translation ) const
inline

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 38 of file BKE_crazyspace.hh.

◆ 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 33 of file BKE_crazyspace.hh.

Referenced by blender::bke::crazyspace::get_evaluated_curves_deformation(), and blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation().


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