Blender V5.0
blender::io::usd::USDShapeReader Class Reference

#include <usd_reader_shape.hh>

Inherits blender::io::usd::USDGeomReader.

Public Member Functions

 USDShapeReader (const pxr::UsdPrim &prim, const USDImportParams &import_params, const ImportSettings &settings)
void create_object (Main *bmain) override
void read_object_data (Main *bmain, pxr::UsdTimeCode time) override
void read_geometry (bke::GeometrySet &, USDMeshReadParams, const char **) override
bool is_time_varying ()
bool topology_changed (const Mesh *, pxr::UsdTimeCode) override
Public Member Functions inherited from blender::io::usd::USDGeomReader
 USDGeomReader (const pxr::UsdPrim &prim, const USDImportParams &import_params, const ImportSettings &settings)
void add_cache_modifier ()
void add_subdiv_modifier ()
Public Member Functions inherited from blender::io::usd::USDXformReader
 USDXformReader (const pxr::UsdPrim &prim, const USDImportParams &import_params, const ImportSettings &settings)
void create_object (Main *bmain) override
void read_object_data (Main *bmain, pxr::UsdTimeCode time) override
pxr::SdfPath object_prim_path () const override
void read_matrix (float r_mat[4][4], pxr::UsdTimeCode time, float scale, bool *r_is_constant) const
bool use_parent_xform () const
void set_use_parent_xform (bool flag)
bool prim_has_xform_ops () const
Public Member Functions inherited from blender::io::usd::USDPrimReader
 USDPrimReader (const pxr::UsdPrim &prim, const USDImportParams &import_params, const ImportSettings &settings)
virtual ~USDPrimReader ()
const pxr::UsdPrim & prim () const
virtual bool valid () const
Objectobject () const
void object (Object *ob)
USDPrimReaderparent () const
void parent (USDPrimReader *parent)
ReportListreports () const
int refcount () const
void incref ()
void decref ()
StringRefNull name () const
pxr::SdfPath prim_path () const
virtual pxr::SdfPath data_prim_path () const
void set_is_in_instancer_proto (bool flag)
bool is_in_instancer_proto () const
bool is_in_proto () const

Additional Inherited Members

Protected Member Functions inherited from blender::io::usd::USDXformReader
bool is_root_xform_prim () const
virtual std::optional< XformResultget_local_usd_xform (pxr::UsdTimeCode time) const
Protected Member Functions inherited from blender::io::usd::USDPrimReader
void set_props (bool merge_with_parent=false, pxr::UsdTimeCode time=pxr::UsdTimeCode::Default())
Protected Attributes inherited from blender::io::usd::USDPrimReader
StringRefNull name_
Objectobject_
pxr::UsdPrim prim_
USDPrimReaderparent_reader_
const USDImportParamsimport_params_
const ImportSettingssettings_
int refcount_
bool is_in_instancer_proto_

Detailed Description

Definition at line 19 of file usd_reader_shape.hh.

Constructor & Destructor Documentation

◆ USDShapeReader()

blender::io::usd::USDShapeReader::USDShapeReader ( const pxr::UsdPrim & prim,
const USDImportParams & import_params,
const ImportSettings & settings )

Member Function Documentation

◆ create_object()

void blender::io::usd::USDShapeReader::create_object ( Main * bmain)
overridevirtual

◆ is_time_varying()

bool blender::io::usd::USDShapeReader::is_time_varying ( )

◆ read_geometry()

void blender::io::usd::USDShapeReader::read_geometry ( bke::GeometrySet & geometry_set,
USDMeshReadParams params,
const char ** r_err_str )
overridevirtual

◆ read_object_data()

◆ topology_changed()

bool blender::io::usd::USDShapeReader::topology_changed ( const Mesh * ,
pxr::UsdTimeCode  )
inlineoverridevirtual

Reimplemented from blender::io::usd::USDGeomReader.

Definition at line 67 of file usd_reader_shape.hh.


The documentation for this class was generated from the following files: