Blender V4.3
abc_customdata.cc File Reference
#include "abc_customdata.h"
#include "abc_axis_conversion.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.h"
#include "BLI_math_vector.h"
#include "BLI_math_vector_types.hh"
#include "BLI_utildefines.h"
#include "BKE_attribute.hh"
#include "BKE_customdata.hh"
#include "BKE_mesh.hh"

Go to the source code of this file.

Namespaces

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

Functions

static const std::string blender::io::alembic::propNameOriginalCoordinates ("Pref")
 
static void blender::io::alembic::get_uvs (const CDStreamConfig &config, std::vector< Imath::V2f > &uvs, std::vector< uint32_t > &uvidx, const void *cd_data)
 
const char * blender::io::alembic::get_uv_sample (UVSample &sample, const CDStreamConfig &config, CustomData *data)
 
static void blender::io::alembic::write_uv (const OCompoundProperty &prop, CDStreamConfig &config, const void *data, const char *name)
 
static void blender::io::alembic::get_cols (const CDStreamConfig &config, std::vector< Imath::C4f > &buffer, std::vector< uint32_t > &uvidx, const void *cd_data)
 
static void blender::io::alembic::write_mcol (const OCompoundProperty &prop, CDStreamConfig &config, const void *data, const char *name)
 
void blender::io::alembic::write_generated_coordinates (const OCompoundProperty &prop, CDStreamConfig &config)
 
void blender::io::alembic::write_custom_data (const OCompoundProperty &prop, CDStreamConfig &config, CustomData *data, int data_type)
 
static void blender::io::alembic::read_uvs (const CDStreamConfig &config, void *data, const AbcUvScope uv_scope, const Alembic::AbcGeom::V2fArraySamplePtr &uvs, const UInt32ArraySamplePtr &indices)
 
static size_t blender::io::alembic::mcols_out_of_bounds_check (const size_t color_index, const size_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)