|
Blender V5.0
|
#include <usd_hierarchy_iterator.hh>
Inherits blender::io::AbstractHierarchyIterator.
Public Member Functions | |
| USDHierarchyIterator (Main *bmain, Depsgraph *depsgraph, pxr::UsdStageRefPtr stage, const USDExportParams ¶ms) | |
| void | set_export_frame (float frame_nr) |
| std::string | make_valid_name (const std::string &name) const override |
| void | process_usd_skel () const |
| Public Member Functions inherited from blender::io::AbstractHierarchyIterator | |
| AbstractHierarchyIterator (Main *bmain, Depsgraph *depsgraph) | |
| virtual | ~AbstractHierarchyIterator () |
| virtual void | iterate_and_write () |
| void | release_writers () |
| void | set_export_subset (ExportSubset export_subset) |
| virtual std::string | make_unique_name (const std::string &original_name, Set< std::string > &used_names) |
| virtual std::string | get_id_name (const ID *id) const |
| virtual std::string | get_object_data_path (const HierarchyContext *context) const |
Additional Inherited Members | |
| Public Types inherited from blender::io::AbstractHierarchyIterator | |
| using | WriterMap = blender::Map<std::string, AbstractHierarchyWriter *> |
| using | ExportChildren = blender::Set<HierarchyContext *> |
| using | ExportGraph = blender::Map<ObjectIdentifier, ExportChildren> |
| using | ExportPathMap = blender::Map<ID *, std::string> |
| using | ExportUsedNameMap = blender::Map<std::string, blender::Set<std::string>> |
| using | DupliSources = blender::Set<ID *> |
| Protected Attributes inherited from blender::io::AbstractHierarchyIterator | |
| ExportGraph | export_graph_ |
| ExportPathMap | duplisource_export_path_ |
| Main * | bmain_ |
| Depsgraph * | depsgraph_ |
| WriterMap | writers_ |
| ExportSubset | export_subset_ |
| DupliSources | duplisources_ |
| ExportUsedNameMap | used_names_ |
Definition at line 26 of file usd_hierarchy_iterator.hh.
| blender::io::usd::USDHierarchyIterator::USDHierarchyIterator | ( | Main * | bmain, |
| Depsgraph * | depsgraph, | ||
| pxr::UsdStageRefPtr | stage, | ||
| const USDExportParams & | params ) |
Definition at line 40 of file usd_hierarchy_iterator.cc.
References blender::io::AbstractHierarchyIterator::AbstractHierarchyIterator(), depsgraph, and params.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 266 of file usd_hierarchy_iterator.cc.
References BLI_assert_msg, BLI_assert_unreachable, blender::io::usd::USDExportParams::export_armatures, blender::io::usd::USDExportParams::export_cameras, blender::io::usd::USDExportParams::export_curves, blender::io::usd::USDExportParams::export_lights, blender::io::usd::USDExportParams::export_meshes, blender::io::usd::USDExporterContext::export_params, blender::io::usd::USDExportParams::export_points, blender::io::usd::USDExportParams::export_volumes, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::io::usd::USDAbstractWriter::is_supported(), OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_FONT, OB_GREASE_PENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_TYPE_MAX, OB_VOLUME, blender::io::usd::USDAbstractWriter::usd_path(), and blender::io::usd::USDExporterContext::usd_path.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 401 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 409 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 249 of file usd_hierarchy_iterator.cc.
References determine_point_instancers().
|
protected |
Definition at line 152 of file usd_hierarchy_iterator.cc.
References add(), BKE_reportf(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), blender::io::AbstractHierarchyIterator::graph_children(), OB_ARMATURE, and RPT_WARNING.
Referenced by create_transform_writer().
|
overrideprotectedvirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 422 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 415 of file usd_hierarchy_iterator.cc.
|
overridevirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 87 of file usd_hierarchy_iterator.cc.
References blender::io::usd::make_safe_name(), and name.
|
overrideprotectedvirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 48 of file usd_hierarchy_iterator.cc.
References Object::base_flag, BASE_SELECTED, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_FONT, OB_LAMP, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_VOLUME, and Object::type.
| void blender::io::usd::USDHierarchyIterator::process_usd_skel | ( | ) | const |
Definition at line 92 of file usd_hierarchy_iterator.cc.
References blender::io::usd::create_skel_roots(), blender::io::AbstractHierarchyIterator::depsgraph_, and blender::io::usd::skel_export_chaser().
Referenced by blender::io::usd::export_to_stage().
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 82 of file usd_hierarchy_iterator.cc.
| void blender::io::usd::USDHierarchyIterator::set_export_frame | ( | float | frame_nr | ) |
Definition at line 103 of file usd_hierarchy_iterator.cc.
Referenced by blender::io::usd::export_to_stage().