|
Blender V4.3
|
Inherits BlendfileLoadingBaseTest.
Public Member Functions | |
| OBJImportTest () | |
| void | import_and_check (const char *path, const Expectation *expect, size_t expect_count, int expect_mat_count, int expect_image_count=0) |
Public Attributes | |
| OBJImportParams | params |
Additional Inherited Members | |
| Static Public Member Functions inherited from BlendfileLoadingBaseTest | |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
| Protected Member Functions inherited from BlendfileLoadingBaseTest | |
| virtual void | TearDown () |
| bool | blendfile_load (const char *filepath) |
| void | blendfile_free () |
| virtual void | depsgraph_create (eEvaluationMode depsgraph_evaluation_mode) |
| virtual void | depsgraph_free () |
| Protected Attributes inherited from BlendfileLoadingBaseTest | |
| struct BlendFileData * | bfile = nullptr |
| struct Depsgraph * | depsgraph = nullptr |
Definition at line 52 of file obj_importer_tests.cc.
|
inline |
Definition at line 54 of file obj_importer_tests.cc.
References IO_AXIS_NEGATIVE_Z, IO_AXIS_Y, and params.
|
inline |
Definition at line 67 of file obj_importer_tests.cc.
References BlendfileLoadingBaseTest::bfile, BKE_curve_nurbs_vert_coords_alloc(), BKE_object_get_evaluated_mesh(), BKE_object_material_get(), BlendfileLoadingBaseTest::blendfile_load(), BLI_findlink(), BLI_listbase_count(), CD_PROP_COLOR, CD_PROP_FLOAT2, blender::bke::Corner, Mesh::corner_data, Mesh::corners_num, CU_NURB_ENDPOINT, CustomData_get_layer(), CustomData_has_layer(), DAG_EVAL_VIEWPORT, Object::data, DEG_get_evaluated_object(), DEG_ITER_OBJECT_FLAG_DUPLI, DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY, DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET, DEG_ITER_OBJECT_FLAG_VISIBLE, DEG_OBJECT_ITER_BEGIN, DEG_OBJECT_ITER_END, BlendfileLoadingBaseTest::depsgraph, DEGObjectIterSettings::depsgraph, BlendfileLoadingBaseTest::depsgraph_create(), Mesh::edges_num, exp(), EXPECT_EQ(), Mesh::faces_num, blender::Span< T >::first(), DEGObjectIterSettings::flags, Nurb::flagu, float, Material::id, blender::io::obj::importer_main(), blender::Span< T >::last(), M_PI_2, MEM_freeN(), ID::name, Curve::nurb, OB_CURVES_LEGACY, OB_MESH, Nurb::orderu, params, printf, SEP_STR, STREQ, STRNCPY, Mesh::vert_data, and Mesh::verts_num.
| OBJImportParams blender::io::obj::OBJImportTest::params |
Definition at line 192 of file obj_importer_tests.cc.
Referenced by import_and_check(), and OBJImportTest().