Blender V5.3
abc_customdata.cc File Reference
#include "abc_customdata.h"
#include "BLI_color_types.hh"
#include "abc_axis_conversion.h"
#include "abc_util.h"
#include <Alembic/Abc/ICompoundProperty.h>
#include <Alembic/Abc/ISampleSelector.h>
#include <Alembic/Abc/OCompoundProperty.h>
#include <Alembic/Abc/TypedArraySample.h>
#include <Alembic/AbcCoreAbstract/PropertyHeader.h>
#include <Alembic/AbcGeom/GeometryScope.h>
#include <Alembic/AbcGeom/IGeomParam.h>
#include <Alembic/AbcGeom/OGeomParam.h>
#include "DNA_customdata_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "BLI_math_base_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_utildefines.hh"
#include "BKE_attribute.h"
#include "BKE_attribute.hh"
#include "BKE_customdata.hh"
#include "BKE_mesh.hh"
#include "IO_validate.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::io
namespace  blender::io::alembic

Functions

static void blender::io::alembic::get_uvs (const CDStreamConfig &config, std::vector< Imath::V2f > &uvs, std::vector< uint32_t > &uvidx, const Span< float2 > uv_map_array)
const char * blender::io::alembic::get_uv_sample (UVSample &sample, const CDStreamConfig &config, const Mesh &mesh)
static void blender::io::alembic::write_uv (const OCompoundProperty &prop, CDStreamConfig &config, const Span< float2 > data, const std::string &uv_map_name)
void blender::io::alembic::write_generated_coordinates (const OCompoundProperty &prop, CDStreamConfig &config)
void blender::io::alembic::write_uv_maps (const OCompoundProperty &prop, CDStreamConfig &config, const Mesh &mesh)
static void blender::io::alembic::read_uvs (const CDStreamConfig &config, MutableSpan< float2 > uv_map, const AbcUvScope uv_scope, const Alembic::AbcGeom::V2fArraySamplePtr &uvs, const UInt32ArraySamplePtr &indices)
static int64_t blender::io::alembic::mcols_out_of_bounds_check (const int64_t color_index, const int64_t array_size, const std::string &iobject_full_name, const PropertyHeader &prop_header, bool &r_is_out_of_bounds, bool &r_bounds_warning_given)
static void blender::io::alembic::read_custom_data_mcols (const std::string &iobject_full_name, const ICompoundProperty &arbGeomParams, const PropertyHeader &prop_header, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss)
static void blender::io::alembic::read_custom_data_uvs (const ICompoundProperty &prop, const PropertyHeader &prop_header, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss)
void blender::io::alembic::read_velocity (const V3fArraySamplePtr &velocities, const CDStreamConfig &config, const float velocity_scale)
void blender::io::alembic::read_generated_coordinates (const ICompoundProperty &prop, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss)
void blender::io::alembic::read_custom_data (const std::string &iobject_full_name, const ICompoundProperty &prop, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss)
AbcUvScope blender::io::alembic::get_uv_scope (const Alembic::AbcGeom::GeometryScope scope, const CDStreamConfig &config, const Alembic::AbcGeom::UInt32ArraySamplePtr &indices)
static std::string blender::io::alembic::get_string_property (const ICompoundProperty &prop, const StringRefNull name, const Alembic::AbcGeom::ISampleSelector &sample_sel)
void blender::io::alembic::read_active_and_default_color_attributes (Mesh &mesh, const ICompoundProperty &user_props, const Alembic::AbcGeom::ISampleSelector &sample_sel)