|
Blender
V2.93
|
#include <hair.h>
Public Member Functions | |
| int | num_segments () const |
| void | bounds_grow (const int k, const float3 *curve_keys, const float *curve_radius, BoundBox &bounds) const |
| void | bounds_grow (float4 keys[4], BoundBox &bounds) const |
| void | bounds_grow (const int k, const float3 *curve_keys, const float *curve_radius, const Transform &aligned_space, BoundBox &bounds) const |
| void | motion_keys (const float3 *curve_keys, const float *curve_radius, const float3 *key_steps, size_t num_curve_keys, size_t num_steps, float time, size_t k0, size_t k1, float4 r_keys[2]) const |
| void | cardinal_motion_keys (const float3 *curve_keys, const float *curve_radius, const float3 *key_steps, size_t num_curve_keys, size_t num_steps, float time, size_t k0, size_t k1, size_t k2, size_t k3, float4 r_keys[4]) const |
| void | keys_for_step (const float3 *curve_keys, const float *curve_radius, const float3 *key_steps, size_t num_curve_keys, size_t num_steps, size_t step, size_t k0, size_t k1, float4 r_keys[2]) const |
| void | cardinal_keys_for_step (const float3 *curve_keys, const float *curve_radius, const float3 *key_steps, size_t num_curve_keys, size_t num_steps, size_t step, size_t k0, size_t k1, size_t k2, size_t k3, float4 r_keys[4]) const |
Public Attributes | |
| int | first_key |
| int | num_keys |
| CCL_NAMESPACE_BEGIN void Hair::Curve::bounds_grow | ( | const int | k, |
| const float3 * | curve_keys, | ||
| const float * | curve_radius, | ||
| BoundBox & | bounds | ||
| ) | const |
Definition at line 27 of file hair.cpp.
References Geometry::bounds, curvebounds(), first_key, BoundBox::grow(), max, min, num_keys, P(), float3::x, float3::y, and float3::z.
| void Hair::Curve::bounds_grow | ( | const int | k, |
| const float3 * | curve_keys, | ||
| const float * | curve_radius, | ||
| const Transform & | aligned_space, | ||
| BoundBox & | bounds | ||
| ) | const |
Definition at line 52 of file hair.cpp.
References Geometry::bounds, curvebounds(), first_key, BoundBox::grow(), max, min, num_keys, P(), transform_point(), float3::x, float3::y, and float3::z.
| void Hair::Curve::bounds_grow | ( | float4 | keys[4], |
| BoundBox & | bounds | ||
| ) | const |
Definition at line 83 of file hair.cpp.
References Geometry::bounds, curvebounds(), float4_to_float3(), BoundBox::grow(), max, P(), w(), float3::x, float3::y, and float3::z.
|
inline |
| int Hair::Curve::first_key |
Definition at line 30 of file hair.h.
Referenced by bounds_grow(), cardinal_keys_for_step(), keys_for_step(), and Hair::pack_curves().
| int Hair::Curve::num_keys |
Definition at line 31 of file hair.h.
Referenced by bounds_grow(), cardinal_keys_for_step(), count_curve_segments(), keys_for_step(), num_segments(), and Hair::pack_curves().