|
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 OBJImportParams::clamp_size, OBJImportParams::clear_selection, OBJImportParams::forward_axis, OBJImportParams::global_scale, OBJImportParams::import_vertex_groups, IO_AXIS_NEGATIVE_Z, IO_AXIS_Y, params, OBJImportParams::relative_paths, OBJImportParams::up_axis, OBJImportParams::use_split_groups, OBJImportParams::use_split_objects, and OBJImportParams::validate_meshes.
|
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, CU_NURB_ENDPOINT, BlendFileData::cur_view_layer, BlendFileData::curscene, 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(), exp(), EXPECT_EQ(), OBJImportParams::filepath, Nurb::flagu, float, Material::id, Main::images, blender::io::obj::importer_main(), M_PI_2, BlendFileData::main, Main::materials, MEM_freeN(), ID::name, OB_CURVES_LEGACY, OB_MESH, Nurb::orderu, params, printf, SEP_STR, STREQ, STRNCPY, and float3::x.
| OBJImportParams blender::io::obj::OBJImportTest::params |
Definition at line 192 of file obj_importer_tests.cc.
Referenced by import_and_check(), and OBJImportTest().