Blender
V3.3
|
#include <BKE_curves.hh>
Public Member Functions | |
CurvesEditHints (const Curves &curves_id_orig) | |
bool | is_valid () const |
Public Attributes | |
const Curves & | curves_id_orig |
std::optional< Array< float3 > > | positions |
std::optional< Array< float3x3 > > | deform_mats |
Used to propagate deformation data through modifier evaluation so that sculpt tools can work on evaluated data.
Definition at line 424 of file BKE_curves.hh.
|
inline |
Definition at line 441 of file BKE_curves.hh.
bool blender::bke::CurvesEditHints::is_valid | ( | ) | const |
The edit hints have to correspond to the original curves, i.e. the number of deformed points is the same as the number of original points.
Definition at line 422 of file curves.cc.
References curves_id_orig, deform_mats, Curves::geometry, CurvesGeometry::point_num, and positions.
const Curves& blender::bke::CurvesEditHints::curves_id_orig |
Original data that the edit hints below are meant to be used for.
Definition at line 429 of file BKE_curves.hh.
Referenced by blender::bke::crazyspace::get_evaluated_curves_deformation(), is_valid(), blender::nodes::node_geo_deform_curves_on_surface_cc::node_geo_exec(), and blender::nodes::transform_curve_edit_hints().
Matrices which transform point movement vectors from original data to corresponding movements of evaluated data.
Definition at line 439 of file BKE_curves.hh.
Referenced by blender::bke::crazyspace::get_evaluated_curves_deformation(), is_valid(), blender::nodes::node_geo_deform_curves_on_surface_cc::node_geo_exec(), and blender::nodes::transform_curve_edit_hints().
Evaluated positions for the points in #curves_orig. If this is empty, the positions from the evaluated Curves should be used if possible.
Definition at line 434 of file BKE_curves.hh.
Referenced by blender::bke::crazyspace::get_evaluated_curves_deformation(), is_valid(), blender::nodes::node_geo_deform_curves_on_surface_cc::node_geo_exec(), blender::nodes::transform_curve_edit_hints(), and blender::nodes::translate_curve_edit_hints().