|
Blender V4.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) |
| virtual 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 | 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 | |
| typedef std::map< std::string, AbstractHierarchyWriter * > | WriterMap |
| typedef std::set< HierarchyContext * > | ExportChildren |
| typedef std::map< ObjectIdentifier, ExportChildren > | ExportGraph |
| typedef std::map< ID *, std::string > | ExportPathMap |
Protected Attributes inherited from blender::io::AbstractHierarchyIterator | |
| ExportGraph | export_graph_ |
| ExportPathMap | duplisource_export_path_ |
| Main * | bmain_ |
| Depsgraph * | depsgraph_ |
| WriterMap | writers_ |
| ExportSubset | export_subset_ |
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 35 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 129 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_shapekeys, blender::io::usd::USDExportParams::export_volumes, blender::io::usd::USDAbstractWriter::is_supported(), OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_FONT, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_TYPE_MAX, OB_VOLUME, and blender::io::usd::USDAbstractWriter::usd_path().
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 226 of file usd_hierarchy_iterator.cc.
References blender::io::usd::USDExportParams::export_hair.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 234 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 123 of file usd_hierarchy_iterator.cc.
|
overridevirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 81 of file usd_hierarchy_iterator.cc.
References blender::io::usd::USDExportParams::allow_unicode, and blender::io::usd::make_safe_name().
|
overrideprotectedvirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 43 of file usd_hierarchy_iterator.cc.
References BASE_SELECTED, 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::USDExportParams::export_points, blender::io::usd::USDExportParams::export_volumes, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_LAMP, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_VOLUME, and blender::io::usd::USDExportParams::selected_objects_only.
| void blender::io::usd::USDHierarchyIterator::process_usd_skel | ( | ) | const |
Definition at line 86 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 76 of file usd_hierarchy_iterator.cc.
| void blender::io::usd::USDHierarchyIterator::set_export_frame | ( | float | frame_nr | ) |
Definition at line 97 of file usd_hierarchy_iterator.cc.
Referenced by blender::io::usd::export_to_stage().