Blender
V3.3
|
#include <BKE_curves.hh>
Public Attributes | |
std::array< int, CURVE_TYPES_NUM > | type_counts |
Vector< int > | evaluated_offsets_cache |
Vector< int > | bezier_evaluated_offsets |
std::mutex | offsets_cache_mutex |
bool | offsets_cache_dirty = true |
Vector< curves::nurbs::BasisCache > | nurbs_basis_cache |
std::mutex | nurbs_basis_cache_mutex |
bool | nurbs_basis_cache_dirty = true |
Vector< float3 > | evaluated_position_cache |
std::mutex | position_cache_mutex |
bool | position_cache_dirty = true |
Span< float3 > | evaluated_positions_span |
Vector< float > | evaluated_length_cache |
std::mutex | length_cache_mutex |
bool | length_cache_dirty = true |
Vector< float3 > | evaluated_tangent_cache |
std::mutex | tangent_cache_mutex |
bool | tangent_cache_dirty = true |
Vector< float3 > | evaluated_normal_cache |
std::mutex | normal_cache_mutex |
bool | normal_cache_dirty = true |
Contains derived data, caches, and other information not saved in files, besides a few pointers to arrays that are kept in the non-runtime struct to avoid dereferencing this whenever they are accessed.
Definition at line 68 of file BKE_curves.hh.
|
mutable |
Definition at line 81 of file BKE_curves.hh.
Cache of lengths along each evaluated curve for for each evaluated point. If a curve is cyclic, it needs one more length value to correspond to the last segment, so in order to make slicing this array for a curve fast, an extra float is stored for every curve.
Definition at line 104 of file BKE_curves.hh.
Normal direction vectors for each evaluated point.
Definition at line 114 of file BKE_curves.hh.
|
mutable |
Cache of offsets into the evaluated array for each curve, accounting for all previous evaluated points, Bezier curve vector segments, different resolutions per curve, etc.
Definition at line 80 of file BKE_curves.hh.
Cache of evaluated positions.
Definition at line 90 of file BKE_curves.hh.
The evaluated positions result, using a separate span in case all curves are poly curves, in which case a separate array of evaluated positions is unnecessary.
Definition at line 97 of file BKE_curves.hh.
Direction of the curve at each evaluated point.
Definition at line 109 of file BKE_curves.hh.
|
mutable |
Definition at line 106 of file BKE_curves.hh.
|
mutable |
Definition at line 105 of file BKE_curves.hh.
|
mutable |
Definition at line 116 of file BKE_curves.hh.
|
mutable |
Definition at line 115 of file BKE_curves.hh.
|
mutable |
Definition at line 85 of file BKE_curves.hh.
|
mutable |
Definition at line 87 of file BKE_curves.hh.
|
mutable |
Definition at line 86 of file BKE_curves.hh.
|
mutable |
Definition at line 83 of file BKE_curves.hh.
|
mutable |
Definition at line 82 of file BKE_curves.hh.
|
mutable |
Definition at line 92 of file BKE_curves.hh.
|
mutable |
Definition at line 91 of file BKE_curves.hh.
|
mutable |
Definition at line 111 of file BKE_curves.hh.
|
mutable |
Definition at line 110 of file BKE_curves.hh.
std::array<int, CURVE_TYPES_NUM> blender::bke::CurvesGeometryRuntime::type_counts |
The cached number of curves with each type. Unlike other caches here, this is not computed lazily, since it is needed so often and types are not adjusted much anyway.
Definition at line 74 of file BKE_curves.hh.