Blender V5.0
usd_hook.cc File Reference
#include "usd_hook.hh"
#include "usd.hh"
#include "usd_asset_utils.hh"
#include "usd_hash_types.hh"
#include "usd_reader_prim.hh"
#include "usd_reader_stage.hh"
#include "usd_writer_material.hh"
#include "BLI_map.hh"
#include "BLI_utildefines.h"
#include "BLI_vector.hh"
#include "BKE_report.hh"
#include "DNA_material_types.h"
#include "DNA_windowmanager_types.h"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "RNA_types.hh"
#include "bpy_rna.hh"
#include <list>
#include <memory>
#include <string>
#include <boost/python/call_method.hpp>
#include <boost/python/class.hpp>
#include <boost/python/import.hpp>
#include <boost/python/return_value_policy.hpp>
#include <boost/python/to_python_converter.hpp>
#include <boost/python/tuple.hpp>

Go to the source code of this file.

Classes

struct  blender::io::usd::PointerRNAToPython
class  blender::io::usd::USDSceneExportContext
class  blender::io::usd::USDSceneImportContext
class  blender::io::usd::USDMaterialExportContext
class  blender::io::usd::USDMaterialImportContext
class  blender::io::usd::USDHookInvoker
class  blender::io::usd::OnExportInvoker
class  blender::io::usd::OnMaterialExportInvoker
class  blender::io::usd::OnImportInvoker
class  blender::io::usd::MaterialImportPollInvoker
class  blender::io::usd::OnMaterialImportInvoker

Namespaces

namespace  blender
namespace  blender::io
namespace  blender::io::usd

Macros

#define PYTHON_NS   boost::python
#define REF   boost::ref

Typedefs

using blender::io::usd::USDHookList = std::list<std::unique_ptr<USDHook>>
using blender::io::usd::ImportedPrimMap = Map<pxr::SdfPath, Vector<PointerRNA>>

Functions

static USDHookListblender::io::usd::hook_list ()
void blender::io::usd::USD_register_hook (std::unique_ptr< USDHook > hook)
void blender::io::usd::USD_unregister_hook (const USDHook *hook)
USDHookblender::io::usd::USD_find_hook_name (const char idname[])
void blender::io::usd::register_hook_converters ()
static void blender::io::usd::handle_python_error (USDHook *hook, ReportList *reports)
void blender::io::usd::call_export_hooks (pxr::UsdStageRefPtr stage, Depsgraph *depsgraph, ReportList *reports)
void blender::io::usd::call_material_export_hooks (pxr::UsdStageRefPtr stage, Material *material, const pxr::UsdShadeMaterial &usd_material, const USDExportParams &export_params, ReportList *reports)
void blender::io::usd::call_import_hooks (USDStageReader *archive, ReportList *reports)
bool blender::io::usd::have_material_import_hook (pxr::UsdStageRefPtr stage, const pxr::UsdShadeMaterial &usd_material, const USDImportParams &import_params, ReportList *reports)
bool blender::io::usd::call_material_import_hooks (pxr::UsdStageRefPtr stage, Material *material, const pxr::UsdShadeMaterial &usd_material, const USDImportParams &import_params, ReportList *reports)

Macro Definition Documentation

◆ PYTHON_NS

#define PYTHON_NS   boost::python

Definition at line 53 of file usd_hook.cc.

◆ REF

#define REF   boost::ref

Definition at line 54 of file usd_hook.cc.