Blender
V3.3
|
Namespaces | |
alembic | |
gpencil | |
obj | |
serialize | |
stl | |
usd | |
Classes | |
class | TestingHierarchyIterator |
class | AbstractHierarchyIteratorTest |
class | AbstractHierarchyIteratorInvisibleTest |
class | DupliParentFinder |
class | HierarchyContextOrderTest |
class | ObjectIdentifierOrderTest |
class | PersistentIDTest |
struct | HierarchyContext |
class | AbstractHierarchyWriter |
struct | ExportSubset |
class | EnsuredWriter |
class | ObjectIdentifier |
class | AbstractHierarchyIterator |
class | PersistentID |
bool blender::io::operator< | ( | const ObjectIdentifier & | obj_ident_a, |
const ObjectIdentifier & | obj_ident_b | ||
) |
Definition at line 54 of file object_identifier.cc.
References blender::io::ObjectIdentifier::duplicated_by, blender::io::ObjectIdentifier::object, and blender::io::ObjectIdentifier::persistent_id.
bool blender::io::operator< | ( | const PersistentID & | persistent_id_a, |
const PersistentID & | persistent_id_b | ||
) |
Definition at line 94 of file dupli_persistent_id.cc.
std::ostream& blender::io::operator<< | ( | std::ostream & | os, |
const PersistentID & | persistent_id | ||
) |
Definition at line 135 of file dupli_persistent_id.cc.
bool blender::io::operator== | ( | const ObjectIdentifier & | obj_ident_a, |
const ObjectIdentifier & | obj_ident_b | ||
) |
Definition at line 73 of file object_identifier.cc.
References blender::io::ObjectIdentifier::duplicated_by, blender::io::ObjectIdentifier::object, and blender::io::ObjectIdentifier::persistent_id.
bool blender::io::operator== | ( | const PersistentID & | persistent_id_a, |
const PersistentID & | persistent_id_b | ||
) |
Definition at line 115 of file dupli_persistent_id.cc.
std::string blender::io::path_reference | ( | StringRefNull | filepath, |
StringRefNull | base_src, | ||
StringRefNull | base_dst, | ||
ePathReferenceMode | mode, | ||
Set< std::pair< std::string, std::string >> * | copy_set = nullptr |
||
) |
Return a filepath relative to a destination directory, for use with exporters.
When PATH_REFERENCE_COPY mode is used, the file path pair (source path, destination path) is added to the copy_set
.
Equivalent of bpy_extras.io_utils.path_reference.
Definition at line 9 of file path_util.cc.
References BLI_assert_msg, BLI_path_abs(), BLI_path_basename(), BLI_path_contains(), BLI_path_is_rel(), BLI_path_join(), BLI_path_normalize(), BLI_path_rel(), BLI_strncpy(), blender::StringRefNull::c_str(), PATH_MAX, PATH_REFERENCE_ABSOLUTE, PATH_REFERENCE_AUTO, PATH_REFERENCE_COPY, PATH_REFERENCE_MATCH, PATH_REFERENCE_RELATIVE, and PATH_REFERENCE_STRIP.
void blender::io::path_reference_copy | ( | const Set< std::pair< std::string, std::string >> & | copy_set | ) |
Execute copying files of path_reference.
Definition at line 59 of file path_util.cc.
References BLI_copy(), BLI_exists(), BLI_make_existing_file(), BLI_path_cmp_normalized(), copy(), and src.
Referenced by blender::io::obj::MTLWriter::write_materials().
|
static |
Definition at line 355 of file abstract_hierarchy_iterator.cc.
References blender::compositor::context, and blender::io::ObjectIdentifier::for_hierarchy_context().
blender::io::TEST_F | ( | AbstractHierarchyIteratorInvisibleTest | , |
ExportInvisibleTest | |||
) |
Definition at line 321 of file abstract_hierarchy_iterator_test.cc.
References DAG_EVAL_RENDER, and EXPECT_EQ().
blender::io::TEST_F | ( | AbstractHierarchyIteratorTest | , |
ExportHierarchyTest | |||
) |
Definition at line 122 of file abstract_hierarchy_iterator_test.cc.
References DAG_EVAL_RENDER, and EXPECT_EQ().
blender::io::TEST_F | ( | AbstractHierarchyIteratorTest | , |
ExportSubsetTest | |||
) |
Definition at line 197 of file abstract_hierarchy_iterator_test.cc.
References DAG_EVAL_RENDER, EXPECT_EQ(), blender::io::ExportSubset::shapes, and blender::io::ExportSubset::transforms.
blender::io::TEST_F | ( | HierarchyContextOrderTest | , |
DuplicatorPointerTest | |||
) |
Definition at line 38 of file hierarchy_context_order_test.cc.
References blender::io::HierarchyContext::duplicator, blender::io::HierarchyContext::export_name, and blender::io::HierarchyContext::object.
blender::io::TEST_F | ( | HierarchyContextOrderTest | , |
ExportParentTest | |||
) |
Definition at line 55 of file hierarchy_context_order_test.cc.
References blender::io::HierarchyContext::export_parent, and blender::io::HierarchyContext::object.
blender::io::TEST_F | ( | HierarchyContextOrderTest | , |
ObjectPointerTest | |||
) |
Definition at line 23 of file hierarchy_context_order_test.cc.
References blender::io::HierarchyContext::duplicator, and blender::io::HierarchyContext::object.
blender::io::TEST_F | ( | HierarchyContextOrderTest | , |
TransitiveTest | |||
) |
Definition at line 70 of file hierarchy_context_order_test.cc.
References blender::io::HierarchyContext::duplicator, blender::io::HierarchyContext::export_name, blender::io::HierarchyContext::export_parent, and blender::io::HierarchyContext::object.
blender::io::TEST_F | ( | ObjectIdentifierOrderTest | , |
behavior_as_map_keys | |||
) |
Definition at line 116 of file object_identifier_test.cc.
References EXPECT_EQ(), blender::io::ObjectIdentifier::for_graph_root(), blender::io::ObjectIdentifier::for_real_object(), and graph.
blender::io::TEST_F | ( | ObjectIdentifierOrderTest | , |
duplicated_objects | |||
) |
Definition at line 96 of file object_identifier_test.cc.
References blender::io::ObjectIdentifier::for_real_object().
blender::io::TEST_F | ( | ObjectIdentifierOrderTest | , |
graph_root | |||
) |
Definition at line 69 of file object_identifier_test.cc.
References blender::io::ObjectIdentifier::for_graph_root(), and blender::io::ObjectIdentifier::for_real_object().
blender::io::TEST_F | ( | ObjectIdentifierOrderTest | , |
map_copy_and_update | |||
) |
Definition at line 142 of file object_identifier_test.cc.
References EXPECT_EQ(), blender::io::ObjectIdentifier::for_graph_root(), blender::io::ObjectIdentifier::for_real_object(), graph, blender::io::HierarchyContext::object, and size().
blender::io::TEST_F | ( | ObjectIdentifierOrderTest | , |
real_objects | |||
) |
Definition at line 88 of file object_identifier_test.cc.
References blender::io::ObjectIdentifier::for_real_object().
blender::io::TEST_F | ( | PersistentIDTest | , |
as_object_name_suffix | |||
) |
Definition at line 204 of file object_identifier_test.cc.
References EXPECT_EQ().
blender::io::TEST_F | ( | PersistentIDTest | , |
instancer_id | |||
) |
Definition at line 190 of file object_identifier_test.cc.
References EXPECT_EQ(), and blender::io::PersistentID::instancer_pid().
blender::io::TEST_F | ( | PersistentIDTest | , |
is_from_same_instancer | |||
) |
Definition at line 180 of file object_identifier_test.cc.
References blender::io::PersistentID::is_from_same_instancer_as().