17 return curves.selection_curve_float();
19 return curves.adapt_domain(
40 return curves.adapt_domain(
43 return curves.selection_point_float();
71 curves.curves_range(), 512, r_indices, [&](
const int curve_i) {
72 for (const int i : curves.points_for_curve(curve_i)) {
73 if (selection[i] > 0.0f) {
87 curves.curves_range(), 2048, r_indices, [&](
const int i) {
88 return selection[i] > 0.0f;
119 curves.points_range(), 2048, r_indices, [&](
const int i) {
120 return selection[i] > 0.0f;
132 curves.points_range(), 2048, r_indices, [&](
const int i) {
133 return point_selection[i] > 0.0f;
Low-level operations for curves.
#define BLI_assert_unreachable()
@ CV_SCULPT_SELECTION_ENABLED
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to curves
T get_internal_single() const
static VArray ForSingle(T value, const int64_t size)
static CurvesGeometry & wrap(::CurvesGeometry &dna_struct)
static struct PartialUpdateUser * wrap(PartialUpdateUserImpl *user)
IndexMask retrieve_selected_curves(const Curves &curves_id, Vector< int64_t > &r_indices)
VArray< float > get_curves_selection(const Curves &curves_id)
VArray< float > get_point_selection(const Curves &curves_id)
static IndexMask retrieve_selected_curves(const CurvesGeometry &curves, const eAttrDomain domain, Vector< int64_t > &r_indices)
IndexMask retrieve_selected_points(const Curves &curves_id, Vector< int64_t > &r_indices)
IndexMask find_indices_based_on_predicate(const IndexMask indices_to_check, const int64_t parallel_grain_size, Vector< int64_t > &r_indices, const Predicate &predicate)