|
Blender V4.3
|
Inherits BlendfileLoadingBaseTest.
Public Member Functions | |
| stl_importer_test () | |
| void | import_and_check (const char *path, const Expectation &expect) |
Public Attributes | |
| STLImportParams | 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 27 of file stl_importer_tests.cc.
|
inline |
Definition at line 29 of file stl_importer_tests.cc.
References STLImportParams::forward_axis, STLImportParams::global_scale, IO_AXIS_NEGATIVE_Z, IO_AXIS_Y, params, STLImportParams::up_axis, STLImportParams::use_facet_normal, STLImportParams::use_mesh_validate, and STLImportParams::use_scene_unit.
|
inline |
Definition at line 39 of file stl_importer_tests.cc.
References BlendfileLoadingBaseTest::bfile, BKE_object_get_evaluated_mesh(), BlendfileLoadingBaseTest::blendfile_load(), blender::io::stl::Expectation::corners_num, BlendFileData::cur_view_layer, BlendFileData::curscene, DAG_EVAL_VIEWPORT, 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(), blender::io::stl::Expectation::edges_num, EXPECT_EQ(), blender::io::stl::Expectation::faces_num, STLImportParams::filepath, blender::io::stl::importer_main(), M_PI_2, BlendFileData::main, OB_MESH, params, printf, SEP_STR, STRNCPY, blender::io::stl::Expectation::vert_first, blender::io::stl::Expectation::vert_last, and blender::io::stl::Expectation::verts_num.
| STLImportParams blender::io::stl::stl_importer_test::params |
Definition at line 107 of file stl_importer_tests.cc.
Referenced by import_and_check(), and stl_importer_test().