Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
blender::io::usd::USDNurbsReader Class Reference

#include <usd_reader_nurbs.h>

Inheritance diagram for blender::io::usd::USDNurbsReader:
blender::io::usd::USDGeomReader blender::io::usd::USDXformReader blender::io::usd::USDPrimReader

Public Member Functions

 USDNurbsReader (const pxr::UsdPrim &prim, const USDImportParams &import_params, const ImportSettings &settings)
 
bool valid () const override
 
void create_object (Main *bmain, double motionSampleTime) override
 
void read_object_data (Main *bmain, double motionSampleTime) override
 
void read_curve_sample (Curve *cu, double motionSampleTime)
 
Meshread_mesh (struct Mesh *existing_mesh, double motionSampleTime, int read_flag, const char **err_str) override
 
- Public Member Functions inherited from blender::io::usd::USDGeomReader
 USDGeomReader (const pxr::UsdPrim &prim, const USDImportParams &import_params, const ImportSettings &settings)
 
virtual bool topology_changed (const Mesh *, double)
 
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, double motionSampleTime) override
 
void read_object_data (Main *bmain, double motionSampleTime) override
 
void read_matrix (float r_mat[4][4], float time, float scale, bool *r_is_constant)
 
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
 
Objectobject () const
 
void object (Object *ob)
 
USDPrimReaderparent () const
 
void parent (USDPrimReader *parent)
 
int refcount () const
 
void incref ()
 
void decref ()
 
const std::string & name () const
 
const std::string & prim_path () const
 

Protected Attributes

pxr::UsdGeomNurbsCurves curve_prim_
 
Curvecurve_
 
- Protected Attributes inherited from blender::io::usd::USDPrimReader
std::string name_
 
std::string prim_path_
 
Objectobject_
 
pxr::UsdPrim prim_
 
const USDImportParamsimport_params_
 
USDPrimReaderparent_reader_
 
const ImportSettingssettings_
 
int refcount_
 

Additional Inherited Members

- Protected Member Functions inherited from blender::io::usd::USDXformReader
bool is_root_xform_prim () const
 

Detailed Description

Definition at line 15 of file usd_reader_nurbs.h.

Constructor & Destructor Documentation

◆ USDNurbsReader()

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

Definition at line 21 of file usd_reader_nurbs.h.

Member Function Documentation

◆ create_object()

void blender::io::usd::USDNurbsReader::create_object ( Main bmain,
double  motionSampleTime 
)
overridevirtual

◆ read_curve_sample()

void blender::io::usd::USDNurbsReader::read_curve_sample ( Curve cu,
double  motionSampleTime 
)

◆ read_mesh()

Mesh * blender::io::usd::USDNurbsReader::read_mesh ( struct Mesh existing_mesh,
double  motionSampleTime,
int  read_flag,
const char **  err_str 
)
overridevirtual

◆ read_object_data()

void blender::io::usd::USDNurbsReader::read_object_data ( Main bmain,
double  motionSampleTime 
)
overridevirtual

◆ valid()

bool blender::io::usd::USDNurbsReader::valid ( ) const
inlineoverridevirtual

Reimplemented from blender::io::usd::USDPrimReader.

Definition at line 28 of file usd_reader_nurbs.h.

References curve_prim_.

Member Data Documentation

◆ curve_

Curve* blender::io::usd::USDNurbsReader::curve_
protected

Definition at line 18 of file usd_reader_nurbs.h.

Referenced by create_object(), and read_curve_sample().

◆ curve_prim_

pxr::UsdGeomNurbsCurves blender::io::usd::USDNurbsReader::curve_prim_
protected

Definition at line 17 of file usd_reader_nurbs.h.

Referenced by read_curve_sample(), read_mesh(), read_object_data(), and valid().


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