|
Blender V5.0
|
#include <usd_writer_curves.hh>
Inherits blender::io::usd::USDAbstractWriter.
Public Member Functions | |
| USDCurvesWriter (const USDExporterContext &ctx) | |
| ~USDCurvesWriter () final=default | |
| Public Member Functions inherited from blender::io::usd::USDAbstractWriter | |
| USDAbstractWriter (const USDExporterContext &usd_export_context) | |
| void | write (HierarchyContext &context) override |
| virtual bool | is_supported (const HierarchyContext *context) const |
| const pxr::SdfPath & | usd_path () const |
| ReportList * | reports () const |
| Public Member Functions inherited from blender::io::AbstractHierarchyWriter | |
| virtual | ~AbstractHierarchyWriter ()=default |
Protected Member Functions | |
| void | do_write (HierarchyContext &context) override |
| void | assign_materials (const HierarchyContext &context, const pxr::UsdGeomCurves &usd_curves) |
| Protected Member Functions inherited from blender::io::usd::USDAbstractWriter | |
| std::string | get_export_file_path () const |
| pxr::UsdTimeCode | get_export_time_code () const |
| pxr::SdfPath | get_material_library_path () const |
| pxr::SdfPath | get_proto_material_root_path (const HierarchyContext &context) const |
| pxr::UsdShadeMaterial | ensure_usd_material_created (const HierarchyContext &context, Material *material) const |
| pxr::UsdShadeMaterial | ensure_usd_material (const HierarchyContext &context, Material *material) const |
| void | write_id_properties (const pxr::UsdPrim &prim, const ID &id, pxr::UsdTimeCode=pxr::UsdTimeCode::Default()) const |
| void | write_user_properties (const pxr::UsdPrim &prim, IDProperty *properties, pxr::UsdTimeCode=pxr::UsdTimeCode::Default()) const |
| void | write_visibility (const HierarchyContext &context, const pxr::UsdTimeCode time, const pxr::UsdGeomImageable &usd_geometry) |
| virtual bool | mark_as_instance (const HierarchyContext &context, const pxr::UsdPrim &prim) |
| void | author_extent (const pxr::UsdGeomBoundable &boundable, const pxr::UsdTimeCode time) |
| void | author_extent (const pxr::UsdGeomBoundable &boundable, const std::optional< Bounds< float3 > > &bounds, const pxr::UsdTimeCode time) |
| Protected Member Functions inherited from blender::io::AbstractHierarchyWriter | |
| virtual bool | check_is_animated (const HierarchyContext &context) const |
Additional Inherited Members | |
| Static Protected Member Functions inherited from blender::io::AbstractHierarchyWriter | |
| static bool | check_has_physics (const HierarchyContext &context) |
| static bool | check_has_deforming_physics (const HierarchyContext &context) |
| Protected Attributes inherited from blender::io::usd::USDAbstractWriter | |
| const USDExporterContext | usd_export_context_ |
| pxr::UsdUtilsSparseValueWriter | usd_value_writer_ |
| bool | frame_has_been_written_ |
| bool | is_animated_ |
Definition at line 20 of file usd_writer_curves.hh.
|
inline |
Definition at line 22 of file usd_writer_curves.hh.
References blender::io::usd::USDAbstractWriter::USDAbstractWriter().
|
finaldefault |
References assign_materials(), do_write(), final, override, and verts.
|
protected |
Definition at line 689 of file usd_writer_curves.cc.
References BKE_object_material_get(), Material::blend_flag, blender::io::usd::USDAbstractWriter::ensure_usd_material(), and MA_BL_CULL_BACKFACE.
Referenced by do_write(), and ~USDCurvesWriter().
|
overrideprotectedvirtual |
Implements blender::io::usd::USDAbstractWriter.
Definition at line 542 of file usd_writer_curves.cc.
References assign_materials(), blender::io::usd::USDAbstractWriter::author_extent(), BKE_id_free(), BKE_report(), BKE_reportf(), BLI_assert_unreachable, blender::array_utils::booleans_mix_calc(), blender::bke::CurvesGeometry::bounds_min_max(), count, blender::bke::curve_legacy_to_curves(), CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, blender::bke::CurvesGeometry::curve_type_counts(), CURVE_TYPE_NURBS, CURVE_TYPE_POLY, blender::bke::CurvesGeometry::curve_types(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::cyclic(), blender::VArrayCommon< T >::first(), Curves::geometry, blender::io::usd::USDAbstractWriter::get_export_time_code(), Curves::id, IFACE_, is_cyclic(), blender::bke::CurvesGeometry::is_empty(), blender::array_utils::Mixed, OB_CURVES, OB_CURVES_LEGACY, blender::io::usd::populate_curve_props(), blender::io::usd::populate_curve_props_for_bezier(), blender::io::usd::populate_curve_props_for_nurbs(), blender::io::usd::USDAbstractWriter::reports(), rna_enum_curves_type_items, RNA_enum_name_from_value(), RPT_WARNING, blender::io::usd::USDAbstractWriter::usd_export_context_, verts, and blender::io::usd::USDAbstractWriter::write_id_properties().
Referenced by ~USDCurvesWriter().