Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_spline.hh
| Show First 20 Lines • Show All 680 Lines • ▼ Show 20 Lines | public: | ||||
| * \warning Call #reallocate on the spline's attributes after adding all splines. | * \warning Call #reallocate on the spline's attributes after adding all splines. | ||||
| */ | */ | ||||
| void add_spline(SplinePtr spline); | void add_spline(SplinePtr spline); | ||||
| void add_splines(blender::MutableSpan<SplinePtr> splines); | void add_splines(blender::MutableSpan<SplinePtr> splines); | ||||
| void remove_splines(blender::IndexMask mask); | void remove_splines(blender::IndexMask mask); | ||||
| void translate(const blender::float3 &translation); | void translate(const blender::float3 &translation); | ||||
| void transform(const blender::float4x4 &matrix); | void transform(const blender::float4x4 &matrix); | ||||
| void bounds_min_max(blender::float3 &min, blender::float3 &max, const bool use_evaluated) const; | bool bounds_min_max(blender::float3 &min, blender::float3 &max, const bool use_evaluated) const; | ||||
| /** | /** | ||||
| * Return the start indices for each of the curve spline's control points, if they were part | * Return the start indices for each of the curve spline's control points, if they were part | ||||
| * of a flattened array. This can be used to facilitate parallelism by avoiding the need to | * of a flattened array. This can be used to facilitate parallelism by avoiding the need to | ||||
| * accumulate an offset while doing more complex calculations. | * accumulate an offset while doing more complex calculations. | ||||
| * | * | ||||
| * \note The result is one longer than the spline count; the last element is the total size. | * \note The result is one longer than the spline count; the last element is the total size. | ||||
| */ | */ | ||||
| Show All 29 Lines | |||||