|
Blender
V2.93
|
#include <usd_hierarchy_iterator.h>
Inherits blender::io::AbstractHierarchyIterator.
Public Member Functions | |
| USDHierarchyIterator (Depsgraph *depsgraph, pxr::UsdStageRefPtr stage, const USDExportParams ¶ms) | |
| void | set_export_frame (float frame_nr) |
| const pxr::UsdTimeCode & | get_export_time_code () const |
| virtual std::string | make_valid_name (const std::string &name) const override |
Public Member Functions inherited from blender::io::AbstractHierarchyIterator | |
| AbstractHierarchyIterator (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_ |
| Depsgraph * | depsgraph_ |
| WriterMap | writers_ |
| ExportSubset | export_subset_ |
Definition at line 39 of file usd_hierarchy_iterator.h.
| blender::io::usd::USDHierarchyIterator::USDHierarchyIterator | ( | Depsgraph * | depsgraph, |
| pxr::UsdStageRefPtr | stage, | ||
| const USDExportParams & | params | ||
| ) |
Definition at line 47 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 94 of file usd_hierarchy_iterator.cc.
References BLI_assert, context, blender::io::usd::USDAbstractWriter::is_supported(), OB_ARMATURE, OB_CAMERA, OB_CURVE, OB_EMPTY, OB_FONT, OB_GPENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_SPEAKER, OB_SURF, and OB_TYPE_MAX.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 136 of file usd_hierarchy_iterator.cc.
References context, and USDExportParams::export_hair.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 144 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 88 of file usd_hierarchy_iterator.cc.
References context.
| const pxr::UsdTimeCode & blender::io::usd::USDHierarchyIterator::get_export_time_code | ( | ) | const |
Definition at line 78 of file usd_hierarchy_iterator.cc.
Referenced by blender::io::usd::USDAbstractWriter::get_export_time_code().
|
overridevirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 67 of file usd_hierarchy_iterator.cc.
|
overrideprotectedvirtual |
Reimplemented from blender::io::AbstractHierarchyIterator.
Definition at line 54 of file usd_hierarchy_iterator.cc.
References Object::base_flag, BASE_SELECTED, and USDExportParams::selected_objects_only.
|
overrideprotectedvirtual |
Implements blender::io::AbstractHierarchyIterator.
Definition at line 62 of file usd_hierarchy_iterator.cc.
| void blender::io::usd::USDHierarchyIterator::set_export_frame | ( | float | frame_nr | ) |
Definition at line 72 of file usd_hierarchy_iterator.cc.
Referenced by blender::io::usd::export_startjob().