Blender
V3.3
|
#include <stl_import_mesh.hh>
Public Member Functions | |
STLMeshHelper (int tris_num, bool use_custom_normals) | |
bool | add_triangle (const float3 &a, const float3 &b, const float3 &c) |
void | add_triangle (const float3 &a, const float3 &b, const float3 &c, const float3 &custom_normal) |
Mesh * | to_mesh (Main *bmain, char *mesh_name) |
Definition at line 48 of file stl_import_mesh.hh.
blender::io::stl::STLMeshHelper::STLMeshHelper | ( | int | tris_num, |
bool | use_custom_normals | ||
) |
Definition at line 24 of file stl_import_mesh.cc.
bool blender::io::stl::STLMeshHelper::add_triangle | ( | const float3 & | a, |
const float3 & | b, | ||
const float3 & | c | ||
) |
Definition at line 37 of file stl_import_mesh.cc.
References Freestyle::a, usdtokens::b(), and Freestyle::c.
Referenced by add_triangle(), blender::io::stl::read_stl_ascii(), and blender::io::stl::read_stl_binary().
void blender::io::stl::STLMeshHelper::add_triangle | ( | const float3 & | a, |
const float3 & | b, | ||
const float3 & | c, | ||
const float3 & | custom_normal | ||
) |
Definition at line 53 of file stl_import_mesh.cc.
References Freestyle::a, add_triangle(), usdtokens::b(), and Freestyle::c.
Definition at line 63 of file stl_import_mesh.cc.
References BKE_mesh_add(), CD_CALLOC, CD_MLOOP, CD_MPOLY, CD_MVERT, MVert::co, copy_v3_v3(), CustomData_add_layer(), Mesh::id, id_us_min(), Mesh::ldata, mesh, Mesh::mloop, Mesh::mpoly, Mesh::mvert, blender::threading::parallel_for(), Mesh::pdata, Mesh::totloop, Mesh::totpoly, Mesh::totvert, and Mesh::vdata.
Referenced by blender::io::stl::read_stl_ascii(), and blender::io::stl::read_stl_binary().