Blender V5.3
abc_reader_mesh.cc File Reference
#include "abc_reader_mesh.h"
#include "abc_axis_conversion.h"
#include "abc_customdata.h"
#include "abc_util.h"
#include "DNA_material_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "BLI_compiler_compat.hh"
#include "BLI_listbase.hh"
#include "BLI_map.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_offset_indices.hh"
#include "BLI_ordered_edge.hh"
#include "BLI_vector.hh"
#include "BLT_translation.hh"
#include "BKE_customdata.hh"
#include "BKE_geometry_set.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_material.hh"
#include "BKE_mesh.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_subdiv.hh"
#include "CLG_log.h"
#include "IO_validate.hh"
#include <algorithm>

Go to the source code of this file.

Classes

struct  blender::io::alembic::AbcMeshData

Namespaces

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

Functions

static std::map< std::string, Material * > blender::io::alembic::utils::build_material_map (const Main *bmain)
static void blender::io::alembic::utils::assign_materials (Main *bmain, Object *ob, const std::map< std::string, int > &mat_index_map)
static void blender::io::alembic::read_mverts_interp (float3 *vert_positions, const P3fArraySamplePtr &positions, const P3fArraySamplePtr &ceil_positions, const double weight)
static void blender::io::alembic::read_mverts (CDStreamConfig &config, const AbcMeshData &mesh_data)
void blender::io::alembic::read_mverts (Mesh &mesh, const P3fArraySamplePtr positions, const N3fArraySamplePtr normals)
static void blender::io::alembic::config_reload_mesh (CDStreamConfig &config)
static CDStreamConfig blender::io::alembic::get_config (Mesh *mesh)
static void blender::io::alembic::read_mpolys (CDStreamConfig &config, const AbcMeshData &mesh_data)
static void blender::io::alembic::process_no_normals (CDStreamConfig &)
static void blender::io::alembic::process_loop_normals (CDStreamConfig &config, const N3fArraySamplePtr loop_normals_ptr)
static void blender::io::alembic::process_vertex_normals (CDStreamConfig &config, const N3fArraySamplePtr vertex_normals_ptr)
static void blender::io::alembic::process_normals (CDStreamConfig &config, const IN3fGeomParam &normals, const ISampleSelector &selector)
BLI_INLINE void blender::io::alembic::read_uvs_params (CDStreamConfig &config, const IV2fGeomParam &uv, const ISampleSelector &selector)
template<typename SampleType>
static bool blender::io::alembic::samples_have_same_topology (const SampleType &sample, const SampleType &ceil_sample)
static bool blender::io::alembic::topology_changed (const AbcMeshData &abc_mesh_data, const Mesh *existing_mesh, const bool is_reading_a_file_sequence)
static Mesh * blender::io::alembic::read_mesh_sample (const AbcMeshData &abc_mesh_data, const ISampleSelector &selector, const AbcReadGeometryParams &read_params, Mesh *existing_mesh, const char **r_err_str, const bool is_reading_a_file_sequence)
static AbcMeshData blender::io::alembic::extract_mesh_data (const IObject &iobject, const IPolyMeshSchema &schema, const ISampleSelector &selector, const AbcReadGeometryParams &params, const bool for_topology_check)
template<class typedGeomParam>
bool blender::io::alembic::is_valid_animated (const ICompoundProperty arbGeomParams, const PropertyHeader &prop_header)
static bool blender::io::alembic::has_animated_geom_params (const ICompoundProperty arbGeomParams)
static Vector< std::string > blender::io::alembic::get_face_set_names (const IPolyMeshSchema &schema)
template<>
bool blender::io::alembic::has_animations (Alembic::AbcGeom::IPolyMeshSchema &schema, ImportSettings *settings)
template<>
bool blender::io::alembic::has_animations (Alembic::AbcGeom::ISubDSchema &schema, ImportSettings *settings)
static AbcMeshData blender::io::alembic::extract_mesh_data (const IObject &iobject, const ISubDSchema &schema, const ISampleSelector &selector, const AbcReadGeometryParams &params, const bool for_topology_check)
static void blender::io::alembic::read_vertex_creases (Mesh *mesh, const Int32ArraySamplePtr &indices, const FloatArraySamplePtr &sharpnesses, const ImportSettings *settings)
static void blender::io::alembic::read_edge_creases (Mesh *mesh, const Int32ArraySamplePtr &indices, const FloatArraySamplePtr &sharpnesses, const ImportSettings *settings)

Variables

static CLG_LogRef blender::io::alembic::LOG = {"io.alembic"}