Blender V5.0
abc_reader_curves.cc File Reference
#include "abc_reader_curves.h"
#include "abc_axis_conversion.h"
#include "abc_util.h"
#include <cstdio>
#include "DNA_curves_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "BKE_attribute.hh"
#include "BKE_curves.hh"
#include "BKE_geometry_set.hh"
#include "BKE_object.hh"
#include "BLI_vector.hh"
#include "BLT_translation.hh"

Go to the source code of this file.

Classes

struct  blender::io::alembic::PreprocessedSampleData

Namespaces

namespace  blender
namespace  blender::io
namespace  blender::io::alembic

Functions

static int16_t blender::io::alembic::get_curve_resolution (const ICurvesSchema &schema, const Alembic::Abc::ISampleSelector &sample_sel)
static int16_t blender::io::alembic::get_curve_order (const Alembic::AbcGeom::CurveType abc_curve_type, const UcharArraySamplePtr orders, const size_t curve_index)
static int8_t blender::io::alembic::get_knot_mode (const Alembic::AbcGeom::CurveType abc_curve_type)
static int blender::io::alembic::get_curve_overlap (const P3fArraySamplePtr positions, const int idx, const int num_verts, const int16_t order)
static CurveType blender::io::alembic::get_curve_type (const Alembic::AbcGeom::BasisType basis)
static int blender::io::alembic::bezier_point_count (int alembic_count, bool is_cyclic)
static float3 blender::io::alembic::to_zup_float3 (Imath::V3f v)
static bool blender::io::alembic::curves_topology_changed (const bke::CurvesGeometry &curves, Span< int > preprocessed_offsets)
template<typename SampleType>
static bool blender::io::alembic::samples_have_same_topology (const SampleType &sample, const SampleType &ceil_sample)
static std::optional< PreprocessedSampleDatablender::io::alembic::preprocess_sample (StringRefNull iobject_name, bool use_interpolation, const ICurvesSchema &schema, const ISampleSelector sample_sel)
BLI_INLINE float3 blender::io::alembic::interpolate_to_zup (const Span< Imath::V3f > &floor_positions, const Span< Imath::V3f > &ceil_positions, int i, float weight)
static void blender::io::alembic::add_bezier_control_point (int cp, int offset, const Span< Imath::V3f > floor_positions, const Span< Imath::V3f > ceil_positions, MutableSpan< float3 > positions, MutableSpan< float3 > handles_left, MutableSpan< float3 > handles_right, float weight)