Blender V4.3
usd_capi_import.cc File Reference
#include "IO_types.hh"
#include "usd.hh"
#include "usd_hook.hh"
#include "usd_light_convert.hh"
#include "usd_reader_geom.hh"
#include "usd_reader_prim.hh"
#include "usd_reader_stage.hh"
#include "BKE_cachefile.hh"
#include "BKE_collection.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BLI_listbase.h"
#include "BLI_math_matrix.h"
#include "BLI_math_rotation.h"
#include "BLI_path_utils.hh"
#include "BLI_string.h"
#include "BLI_timeit.hh"
#include "BLT_translation.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "DNA_cachefile_types.h"
#include "DNA_collection_types.h"
#include "DNA_layer_types.h"
#include "DNA_listBase.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
#include "ED_undo.hh"
#include "MEM_guardedalloc.h"
#include "WM_api.hh"
#include "WM_types.hh"
#include <pxr/usd/usd/stage.h>
#include <pxr/usd/usdGeom/metrics.h>
#include <pxr/usd/usdGeom/tokens.h>
#include <iostream>

Go to the source code of this file.

Classes

struct  blender::io::usd::ImportJobData
 

Namespaces

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

Enumerations

enum  { blender::io::usd::USD_NO_ERROR = 0 , blender::io::usd::USD_ARCHIVE_FAIL }
 

Functions

static CacheArchiveHandleblender::io::usd::handle_from_stage_reader (USDStageReader *reader)
 
static USDStageReaderblender::io::usd::stage_reader_from_handle (CacheArchiveHandle *handle)
 
static bool blender::io::usd::gather_objects_paths (const pxr::UsdPrim &object, ListBase *object_paths)
 
static void blender::io::usd::convert_to_z_up (pxr::UsdStageRefPtr stage, ImportSettings *r_settings)
 
static void blender::io::usd::find_prefix_to_skip (pxr::UsdStageRefPtr stage, ImportSettings *r_settings)
 
static void blender::io::usd::report_job_duration (const ImportJobData *data)
 
static void blender::io::usd::import_startjob (void *customdata, wmJobWorkerStatus *worker_status)
 
static void blender::io::usd::import_endjob (void *customdata)
 
static void blender::io::usd::import_freejob (void *user_data)
 
bool blender::io::usd::USD_import (const bContext *C, const char *filepath, const USDImportParams *params, bool as_background_job, ReportList *reports)
 
static USDPrimReaderblender::io::usd::get_usd_reader (CacheReader *reader, const Object *, const char **r_err_str)
 
USDMeshReadParams blender::io::usd::create_mesh_read_params (const double motion_sample_time, const int read_flags)
 
void blender::io::usd::USD_read_geometry (CacheReader *reader, const Object *ob, blender::bke::GeometrySet &geometry_set, const USDMeshReadParams params, const char **r_err_str)
 
bool blender::io::usd::USD_mesh_topology_changed (CacheReader *reader, const Object *ob, const Mesh *existing_mesh, const double time, const char **r_err_str)
 
CacheReaderblender::io::usd::CacheReader_open_usd_object (CacheArchiveHandle *handle, CacheReader *reader, Object *object, const char *object_path)
 
void blender::io::usd::USD_CacheReader_free (CacheReader *reader)
 
CacheArchiveHandleblender::io::usd::USD_create_handle (Main *, const char *filepath, ListBase *object_paths)
 
void blender::io::usd::USD_free_handle (CacheArchiveHandle *handle)
 
void blender::io::usd::USD_get_transform (CacheReader *reader, float r_mat_world[4][4], float time, float scale)