Blender V4.3
transform_convert_curves.cc File Reference
#include <optional>
#include "BLI_array.hh"
#include "BLI_array_utils.hh"
#include "BLI_inplace_priority_queue.hh"
#include "BLI_math_matrix.h"
#include "BLI_span.hh"
#include "BKE_attribute.hh"
#include "BKE_curves.hh"
#include "BKE_curves_utils.hh"
#include "ED_curves.hh"
#include "MEM_guardedalloc.h"
#include "transform.hh"
#include "transform_convert.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::transform
 
namespace  blender::ed::transform::curves
 

Functions

static void blender::ed::transform::curves::calculate_curve_point_distances_for_proportional_editing (const Span< float3 > positions, MutableSpan< float > r_distances)
 
static MutableSpan< float3blender::ed::transform::curves::append_positions_to_custom_data (const IndexMask selection, Span< float3 > positions, TransCustomData &custom_data)
 
static void blender::ed::transform::curves::createTransCurvesVerts (bContext *, TransInfo *t)
 
static void blender::ed::transform::curves::recalcData_curves (TransInfo *t)
 
static OffsetIndices< intblender::ed::transform::curves::recent_position_offsets (TransCustomData &custom_data, int num)
 
static void blender::ed::transform::curves::fill_map (const CurveType curve_type, const IndexRange curve_points, const OffsetIndices< int > position_offsets_in_td, const int handles_offset, MutableSpan< int > map)
 
Curve/Surfaces Transform Creation
CurvesTransformDatacreate_curves_transform_custom_data (TransCustomData &custom_data)
 
void copy_positions_from_curves_transform_custom_data (const TransCustomData &custom_data, const int layer, blender::MutableSpan< blender::float3 > positions_dst)
 
void curve_populate_trans_data_structs (TransDataContainer &tc, blender::bke::CurvesGeometry &curves, const blender::float4x4 &transform, std::optional< blender::MutableSpan< float > > value_attribute, const blender::Span< blender::IndexMask > points_to_transform_per_attr, const blender::IndexMask &affected_curves, bool use_connected_only, const blender::IndexMask &bezier_curves)
 

Variables

TransConvertTypeInfo TransConvertType_Curves
 

Function Documentation

◆ copy_positions_from_curves_transform_custom_data()

◆ create_curves_transform_custom_data()

◆ curve_populate_trans_data_structs()

Variable Documentation

◆ TransConvertType_Curves