Blender V4.3
usd_reader_curve.cc File Reference
#include "usd_reader_curve.hh"
#include "usd.hh"
#include "usd_attribute_utils.hh"
#include "usd_hash_types.hh"
#include "BKE_attribute.hh"
#include "BKE_curves.hh"
#include "BKE_geometry_set.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BLI_index_range.hh"
#include "BLI_math_vector_types.hh"
#include "DNA_curves_types.h"
#include "DNA_object_types.h"
#include <pxr/base/vt/types.h>
#include <pxr/usd/usdGeom/basisCurves.h>
#include <pxr/usd/usdGeom/primvarsAPI.h>

Go to the source code of this file.

Namespaces

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

Functions

static float3 blender::io::usd::to_float3 (pxr::GfVec3f vec3f)
 
static int blender::io::usd::bezier_point_count (int usd_count, bool is_cyclic)
 
static int blender::io::usd::point_count (int usdCount, CurveType curve_type, bool is_cyclic)
 
static Array< intblender::io::usd::calc_curve_offsets (const pxr::VtIntArray &usdCounts, const CurveType curve_type, bool is_cyclic)
 
static void blender::io::usd::add_bezier_control_point (int cp, int offset, MutableSpan< float3 > positions, MutableSpan< float3 > handles_left, MutableSpan< float3 > handles_right, const Span< pxr::GfVec3f > usdPoints)
 
static bool blender::io::usd::curves_topology_changed (const bke::CurvesGeometry &curves, const Span< int > usd_offsets)
 
static CurveType blender::io::usd::get_curve_type (pxr::TfToken type, pxr::TfToken basis)
 
static std::optional< bke::AttrDomainblender::io::usd::convert_usd_interp_to_blender (const pxr::TfToken usd_domain)