|
Blender V5.3
|
#include <obj_export_nurbs.hh>
Inherits blender::io::obj::IOBJCurve, and blender::blender::NonCopyable.
Public Member Functions | |
| ~OBJCurves () override=default | |
OBJCurves | |
| OBJCurves (const bke::CurvesGeometry &curve, const float4x4 &transform, const std::string &name) | |
| const float4x4 & | object_transform () const override |
| const char * | get_curve_name () const override |
| int | total_splines () const override |
| int | total_spline_vertices (int spline_index) const override |
| int | num_control_points_u (int spline_index) const override |
| int | num_control_points_v (int spline_index) const override |
| int | get_nurbs_degree_u (int spline_index) const override |
| int | get_nurbs_degree_v (int spline_index) const override |
| bool | get_cyclic_u (int spline_index) const override |
| Span< float > | get_knots_u (int spline_index, Vector< float > &buffer) const override |
| Span< float3 > | vertex_coordinates (int spline_index, Vector< float3 > &dynamic_point_buffer) const override |
| Public Member Functions inherited from blender::io::obj::IOBJCurve | |
| virtual | ~IOBJCurve ()=default |
Definition at line 95 of file obj_export_nurbs.hh.
| blender::io::obj::OBJCurves::OBJCurves | ( | const bke::CurvesGeometry & | curve, |
| const float4x4 & | transform, | ||
| const std::string & | name ) |
Definition at line 93 of file obj_export_nurbs.cc.
Referenced by blender::io::obj::OBJCurvesTest::write_curves().
|
overridedefault |
|
overridevirtual |
Implements blender::io::obj::IOBJCurve.
Definition at line 105 of file obj_export_nurbs.cc.
Referenced by ~OBJCurves().
|
overridevirtual |
True if the indexed spline is cyclic along U dimension.
Implements blender::io::obj::IOBJCurve.
Definition at line 142 of file obj_export_nurbs.cc.
Referenced by num_control_points_u(), and ~OBJCurves().
|
overridevirtual |
Get the knot vector for the U-dimension. Computes knots using the buffer if necessary.
Implements blender::io::obj::IOBJCurve.
Definition at line 147 of file obj_export_nurbs.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::knots_num(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), and blender::Span< T >::size().
Referenced by ~OBJCurves().
|
overridevirtual |
Get the degree of the NURBS spline for the U-dimension.
Implements blender::io::obj::IOBJCurve.
Definition at line 132 of file obj_export_nurbs.cc.
Referenced by num_control_points_u(), and ~OBJCurves().
|
overridevirtual |
Get the degree of the NURBS spline for the V-dimension.
Implements blender::io::obj::IOBJCurve.
Definition at line 137 of file obj_export_nurbs.cc.
Referenced by ~OBJCurves().
|
overridevirtual |
Get the number of control points on the U-dimension.
Implements blender::io::obj::IOBJCurve.
Definition at line 120 of file obj_export_nurbs.cc.
References blender::bke::curves::nurbs::control_points_num(), get_cyclic_u(), and get_nurbs_degree_u().
Referenced by ~OBJCurves().
|
overridevirtual |
Get the number of control points on the V-dimension.
Implements blender::io::obj::IOBJCurve.
Definition at line 127 of file obj_export_nurbs.cc.
Referenced by ~OBJCurves().
|
overridevirtual |
Implements blender::io::obj::IOBJCurve.
Definition at line 100 of file obj_export_nurbs.cc.
Referenced by ~OBJCurves().
|
overridevirtual |
| spline_index | Zero-based index of spline of interest. |
Implements blender::io::obj::IOBJCurve.
Definition at line 115 of file obj_export_nurbs.cc.
Referenced by ~OBJCurves().
|
overridevirtual |
Number of splines associated with the Curve object.assign_if_different
Implements blender::io::obj::IOBJCurve.
Definition at line 110 of file obj_export_nurbs.cc.
Referenced by ~OBJCurves().
|
overridevirtual |
Get coordinates for the (non-looped) spline control points.
Implements blender::io::obj::IOBJCurve.
Definition at line 160 of file obj_export_nurbs.cc.
References blender::IndexRange::slice().
Referenced by ~OBJCurves().