Blender V4.3
blender::io::obj::NurbsElement Struct Reference

#include <obj_import_objects.hh>

Public Attributes

std::string group_
 
int degree = 0
 
float2 range {0.0f, 1.0f}
 
Vector< intcurv_indices
 
Vector< floatparm
 

Detailed Description

Contains data for one single NURBS curve in the OBJ file.

Definition at line 96 of file obj_import_objects.hh.

Member Data Documentation

◆ curv_indices

Vector<int> blender::io::obj::NurbsElement::curv_indices

Indices into the global list of vertex coordinates. Must be non-negative.

Definition at line 107 of file obj_import_objects.hh.

Referenced by blender::io::obj::CurveFromGeometry::create_curve_object(), and blender::io::obj::geom_add_curve_vertex_indices().

◆ degree

int blender::io::obj::NurbsElement::degree = 0

Definition at line 102 of file obj_import_objects.hh.

Referenced by blender::io::obj::geom_set_curve_degree().

◆ group_

std::string blender::io::obj::NurbsElement::group_

For curves, groups may be used to specify multiple splines in the same curve object. It may also serve as the name of the curve if not specified explicitly.

Definition at line 101 of file obj_import_objects.hh.

Referenced by blender::io::obj::CurveFromGeometry::create_curve_object(), and blender::io::obj::geom_set_curve_type().

◆ parm

Vector<float> blender::io::obj::NurbsElement::parm

Definition at line 109 of file obj_import_objects.hh.

Referenced by blender::io::obj::geom_add_curve_parameters().

◆ range

float2 blender::io::obj::NurbsElement::range {0.0f, 1.0f}

The documentation for this struct was generated from the following file: