|
Blender V5.3
|
#include <draw_curves.bsl.hh>
Public Member Functions | |
| curves::Segment | segment_get (uint vertex_id) const |
| curves::Indirection | indirection_get (curves::Segment segment) const |
| int | point_id_get (curves::Segment segment, curves::Indirection indirection) const |
| float | azimuthal_offset_get (curves::Segment segment) const |
| float4 | point_position_and_radius_get (uint point_id) const |
| float3 | point_position_get (uint point_id) const |
| curves::Point | point_get (uint vertex_id) const |
| curves::Point | object_to_world (curves::Point pt, float4x4 object_to_world) const |
| curves::ShapePoint | shape_point_get (const curves::Point pt, const float3 V) const |
| float3 | get_curve_root_pos (const int point_id, const int curve_segment) const |
Public Attributes | |
| samplerBuffer | curves_pos_rad_buf |
| isamplerBuffer | curves_indirection_buf |
| CurvesInfos & | drw_curves |
Definition at line 78 of file draw_curves.bsl.hh.
|
inline |
Definition at line 160 of file draw_curves.bsl.hh.
References drw_curves, float, and CurvesInfos::half_cylinder_face_count.
Referenced by point_get().
|
inline |
Definition at line 249 of file draw_curves.bsl.hh.
References curves_pos_rad_buf, and texelFetch().
|
inline |
Definition at line 103 of file draw_curves.bsl.hh.
References draw::curves::Indirection::curve_id, draw::curves::Indirection::curve_segment, curves_indirection_buf, drw_curves, CurvesInfos::half_cylinder_face_count, INT_MAX, draw::curves::Indirection::is_cyclic_point, draw::curves::Indirection::is_end_of_curve, and texelFetch().
Referenced by point_get().
|
inline |
Definition at line 219 of file draw_curves.bsl.hh.
References length(), M_SQRT1_3, normalize, object_to_world(), draw::curves::Point::P, draw::curves::Point::radius, draw::curves::Point::T, to_scale(), transform_direction(), and transform_point().
Referenced by object_to_world().
|
inline |
Definition at line 188 of file draw_curves.bsl.hh.
References draw::curves::Point::azimuthal_offset, azimuthal_offset_get(), draw::curves::Indirection::curve_id, draw::curves::Point::curve_id, draw::curves::Indirection::curve_segment, draw::curves::Point::curve_segment, indirection_get(), draw::curves::Indirection::is_cyclic_point, draw::curves::Indirection::is_end_of_curve, NAN_FLT, draw::curves::Point::P, draw::curves::Point::point_id, point_id_get(), point_position_and_radius_get(), point_position_get(), draw::curves::Point::radius, segment_get(), draw::curves::Point::T, vertex_id, and float4::w.
|
inline |
Definition at line 151 of file draw_curves.bsl.hh.
References draw::curves::Indirection::curve_id, drw_curves, and CurvesInfos::half_cylinder_face_count.
Referenced by point_get().
|
inline |
Definition at line 177 of file draw_curves.bsl.hh.
References curves_pos_rad_buf, and texelFetch().
Referenced by point_get().
|
inline |
Definition at line 182 of file draw_curves.bsl.hh.
References curves_pos_rad_buf, and texelFetch().
Referenced by point_get().
|
inline |
Definition at line 85 of file draw_curves.bsl.hh.
References drw_curves, CurvesInfos::half_cylinder_face_count, vertex_id, and CurvesInfos::vertex_per_segment.
Referenced by point_get().
|
inline |
Return the position of the expanded position in world-space.
Definition at line 232 of file draw_curves.bsl.hh.
References abs, draw::curves::Point::azimuthal_offset, cross, draw::curves::ShapePoint::curve_B, draw::curves::ShapePoint::curve_N, draw::curves::ShapePoint::curve_T, drw_curves, CurvesInfos::half_cylinder_face_count, draw::curves::ShapePoint::N, normalize, draw::curves::Point::P, draw::curves::ShapePoint::P, draw::curves::Point::radius, sin_from_cos(), draw::curves::Point::T, V, float2::x, and float2::y.
| isamplerBuffer draw::Curves::curves_indirection_buf |
Definition at line 80 of file draw_curves.bsl.hh.
Referenced by indirection_get().
| samplerBuffer draw::Curves::curves_pos_rad_buf |
Definition at line 79 of file draw_curves.bsl.hh.
Referenced by get_curve_root_pos(), point_position_and_radius_get(), and point_position_get().
| CurvesInfos& draw::Curves::drw_curves |
Definition at line 82 of file draw_curves.bsl.hh.
Referenced by azimuthal_offset_get(), indirection_get(), point_id_get(), segment_get(), and shape_point_get().