Blender  V3.3
Public Member Functions | Public Attributes | List of all members
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 22 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 32 of file BKE_crazyspace.hh.

Referenced by blender::bke::crazyspace::get_evaluated_curves_deformation().

◆ positions

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

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