|
Blender V5.3
|
#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 |
| pxr::UsdStageRefPtr | get_stage () const |
| const Map< pxr::SdfPath, Vector< ID * > > & | get_exported_prim_map () const |
| void | add_to_prim_map (const pxr::SdfPath &usd_path, const ID *id) 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 = Map<std::string, AbstractHierarchyWriter *> |
| using | ExportChildren = Set<HierarchyContext *> |
| using | ExportGraph = Map<ObjectIdentifier, ExportChildren> |
| using | ExportPathMap = Map<ID *, std::string> |
| using | ExportUsedNameMap = Map<std::string, Set<std::string>> |
| using | DupliSources = 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 28 of file usd_hierarchy_iterator.hh.
| blender::io::usd::USDHierarchyIterator::USDHierarchyIterator | ( | Main * | bmain, |
| Depsgraph * | depsgraph, | ||
| pxr::UsdStageRefPtr | stage, | ||
| const USDExportParams & | params ) |
Definition at line 41 of file usd_hierarchy_iterator.cc.
References blender::io::AbstractHierarchyIterator::AbstractHierarchyIterator().
| void blender::io::usd::USDHierarchyIterator::add_to_prim_map | ( | const pxr::SdfPath & | usd_path, |
| const ID * | id ) const |
Definition at line 468 of file usd_hierarchy_iterator.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::BKE_libblock_find_name(), blender::io::AbstractHierarchyIterator::bmain_, blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), and blender::GS().
Referenced by blender::io::usd::USDAbstractWriter::add_to_prim_map().
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 276 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(), blender::OB_ARMATURE, blender::OB_CAMERA, blender::OB_CURVES, blender::OB_CURVES_LEGACY, blender::OB_EMPTY, blender::OB_FONT, blender::OB_GREASE_PENCIL, blender::OB_LAMP, blender::OB_LATTICE, blender::OB_LIGHTPROBE, blender::OB_MBALL, blender::OB_MESH, blender::OB_POINTCLOUD, blender::OB_SPEAKER, blender::OB_SURF, blender::OB_TYPE_MAX, blender::OB_VOLUME, blender::io::usd::USDAbstractWriter::usd_path(), blender::io::usd::USDExporterContext::usd_path, blender::io::usd::USDArmatureWriter::USDArmatureWriter(), blender::io::usd::USDCameraWriter::USDCameraWriter(), blender::io::usd::USDCurvesWriter::USDCurvesWriter(), blender::io::usd::USDLightWriter::USDLightWriter(), blender::io::usd::USDMeshWriter::USDMeshWriter(), blender::io::usd::USDMetaballWriter::USDMetaballWriter(), blender::io::usd::USDPointInstancerWriter::USDPointInstancerWriter(), blender::io::usd::USDPointsWriter::USDPointsWriter(), blender::io::usd::USDTextWriter::USDTextWriter(), and blender::io::usd::USDVolumeWriter::USDVolumeWriter().
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 413 of file usd_hierarchy_iterator.cc.
References blender::io::usd::USDHairWriter::USDHairWriter().
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 421 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 259 of file usd_hierarchy_iterator.cc.
References determine_point_instancers(), and blender::io::usd::USDTransformWriter::USDTransformWriter().
|
protected |
Definition at line 162 of file usd_hierarchy_iterator.cc.
References blender::BKE_reportf(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), blender::io::AbstractHierarchyIterator::graph_children(), blender::OB_ARMATURE, and blender::RPT_WARNING.
Referenced by create_transform_writer().
| const Map< pxr::SdfPath, Vector< ID * > > & blender::io::usd::USDHierarchyIterator::get_exported_prim_map | ( | ) | const |
Definition at line 458 of file usd_hierarchy_iterator.cc.
| pxr::UsdStageRefPtr blender::io::usd::USDHierarchyIterator::get_stage | ( | ) | const |
Definition at line 463 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 434 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 427 of file usd_hierarchy_iterator.cc.
|
overridevirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 89 of file usd_hierarchy_iterator.cc.
References blender::io::usd::make_safe_name().
|
overrideprotectedvirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 49 of file usd_hierarchy_iterator.cc.
References blender::BASE_SELECTED, blender::OB_ARMATURE, blender::OB_CAMERA, blender::OB_CURVES, blender::OB_CURVES_LEGACY, blender::OB_EMPTY, blender::OB_FONT, blender::OB_LAMP, blender::OB_MBALL, blender::OB_MESH, blender::OB_POINTCLOUD, blender::OB_SURF, and blender::OB_VOLUME.
| void blender::io::usd::USDHierarchyIterator::process_usd_skel | ( | ) | const |
Definition at line 94 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 84 of file usd_hierarchy_iterator.cc.
| void blender::io::usd::USDHierarchyIterator::set_export_frame | ( | float | frame_nr | ) |
Definition at line 105 of file usd_hierarchy_iterator.cc.
Referenced by blender::io::usd::export_to_stage().