Blender  V2.93
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
blender::io::alembic Namespace Reference

Namespaces

 utils
 

Classes

class  ABCArchive
 
class  CustomPropertiesExporter
 
struct  ABCWriterConstructorArgs
 
class  ABCHierarchyIterator
 
class  SubdivModifierDisabler
 
class  ABCAbstractWriter
 
class  ABCCameraWriter
 
class  ABCCurveWriter
 
class  ABCCurveMeshWriter
 
class  ABCHairWriter
 
class  ABCInstanceWriter
 
class  ABCMetaballWriter
 
class  ABCGenericMeshWriter
 
class  ABCMeshWriter
 
class  ABCNurbsWriter
 
class  ABCNurbsMeshWriter
 
class  ABCPointsWriter
 
class  ABCTransformWriter
 
struct  UVSample
 
struct  CDStreamConfig
 
class  ArchiveReader
 
class  AbcCameraReader
 
class  AbcCurveReader
 
struct  AbcMeshData
 
class  AbcMeshReader
 
class  AbcSubDReader
 
class  AbcNurbsReader
 
struct  ImportSettings
 
class  AbcObjectReader
 
class  AbcPointsReader
 
class  AbcEmptyReader
 
class  ScopeTimer
 
class  SimpleLogger
 
class  AlembicExportTest
 

Typedefs

using index_time_pair_t = std::pair< Alembic::AbcCoreAbstract::index_t, float >
 

Enumerations

enum  AbcAxisSwapMode { ABC_ZUP_FROM_YUP = 1 , ABC_YUP_FROM_ZUP = 2 }
 
enum  AbcMatrixMode { ABC_MATRIX_WORLD = 1 , ABC_MATRIX_LOCAL = 2 }
 

Functions

static MetaData create_abc_metadata (const Main *bmain, double scene_fps)
 
static OArchive * create_archive (std::ofstream *abc_ostream, const std::string &filename, MetaData &abc_metadata)
 
static void get_shutter_samples (double scene_fps, const AlembicExportParams &params, int nr_of_samples, bool time_relative, std::vector< double > &r_samples)
 
static TimeSamplingPtr create_time_sampling (double scene_fps, const AlembicExportParams &params, int nr_of_samples)
 
static void get_frames (double scene_fps, const AlembicExportParams &params, unsigned int nr_of_samples, std::set< double > &r_frames)
 
static void build_depsgraph (Depsgraph *depsgraph, const bool visible_objects_only)
 
static void export_startjob (void *customdata, short *stop, short *do_update, float *progress)
 
static void export_endjob (void *customdata)
 
const std::string ABC_CURVE_RESOLUTION_U_PROPNAME ("blender:resolution")
 
static void get_vertices (struct Mesh *mesh, std::vector< Imath::V3f > &points)
 
static void get_topology (struct Mesh *mesh, std::vector< int32_t > &poly_verts, std::vector< int32_t > &loop_counts, bool &r_has_flat_shaded_poly)
 
static void get_creases (struct Mesh *mesh, std::vector< int32_t > &indices, std::vector< int32_t > &lengths, std::vector< float > &sharpnesses)
 
static void get_loop_normals (struct Mesh *mesh, std::vector< Imath::V3f > &normals, bool has_flat_shaded_poly)
 
static void get_knots (std::vector< float > &knots, const int num_knots, float *nu_knots)
 
void create_swapped_rotation_matrix (float rot_x_mat[3][3], float rot_y_mat[3][3], float rot_z_mat[3][3], const float euler[3], AbcAxisSwapMode mode)
 
void copy_m44_axis_swap (float dst_mat[4][4], float src_mat[4][4], AbcAxisSwapMode mode)
 
void create_transform_matrix (Object *obj, float r_yup_mat[4][4], AbcMatrixMode mode, Object *proxy_from)
 
BLI_INLINE void copy_zup_from_yup (float zup[3], const float yup[3])
 
BLI_INLINE void copy_zup_from_yup (short zup[3], const short yup[3])
 
BLI_INLINE void copy_yup_from_zup (float yup[3], const float zup[3])
 
BLI_INLINE void copy_yup_from_zup (short yup[3], const short zup[3])
 
static void get_uvs (const CDStreamConfig &config, std::vector< Imath::V2f > &uvs, std::vector< uint32_t > &uvidx, void *cd_data)
 
const char * get_uv_sample (UVSample &sample, const CDStreamConfig &config, CustomData *data)
 
static void write_uv (const OCompoundProperty &prop, CDStreamConfig &config, void *data, const char *name)
 
static void write_mcol (const OCompoundProperty &prop, const CDStreamConfig &config, void *data, const char *name)
 
void write_custom_data (const OCompoundProperty &prop, CDStreamConfig &config, CustomData *data, int data_type)
 
static void read_uvs (const CDStreamConfig &config, void *data, const Alembic::AbcGeom::V2fArraySamplePtr &uvs, const Alembic::AbcGeom::UInt32ArraySamplePtr &indices)
 
static size_t 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 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 read_custom_data_uvs (const ICompoundProperty &prop, const PropertyHeader &prop_header, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss)
 
void read_custom_data (const std::string &iobject_full_name, const ICompoundProperty &prop, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss)
 
static IArchive open_archive (const std::string &filename, const std::vector< std::istream * > &input_streams)
 
static void read_mverts_interp (MVert *mverts, const P3fArraySamplePtr &positions, const P3fArraySamplePtr &ceil_positions, const float weight)
 
static void read_mverts (CDStreamConfig &config, const AbcMeshData &mesh_data)
 
void read_mverts (MVert *mverts, const P3fArraySamplePtr positions, const N3fArraySamplePtr normals)
 
static void read_mpolys (CDStreamConfig &config, const AbcMeshData &mesh_data)
 
static void process_no_normals (CDStreamConfig &config)
 
static void process_loop_normals (CDStreamConfig &config, const N3fArraySamplePtr loop_normals_ptr)
 
static void process_vertex_normals (CDStreamConfig &config, const N3fArraySamplePtr vertex_normals_ptr)
 
static void process_normals (CDStreamConfig &config, const IN3fGeomParam &normals, const ISampleSelector &selector)
 
BLI_INLINE void read_uvs_params (CDStreamConfig &config, AbcMeshData &abc_data, const IV2fGeomParam &uv, const ISampleSelector &selector)
 
static void * add_customdata_cb (Mesh *mesh, const char *name, int data_type)
 
static void get_weight_and_index (CDStreamConfig &config, Alembic::AbcCoreAbstract::TimeSamplingPtr time_sampling, size_t samples_number)
 
static void read_mesh_sample (const std::string &iobject_full_name, ImportSettings *settings, const IPolyMeshSchema &schema, const ISampleSelector &selector, CDStreamConfig &config)
 
CDStreamConfig get_config (Mesh *mesh, const bool use_vertex_interpolation)
 
template<class typedGeomParam >
bool is_valid_animated (const ICompoundProperty arbGeomParams, const PropertyHeader &prop_header)
 
static bool has_animated_geom_params (const ICompoundProperty arbGeomParams)
 
template<>
bool has_animations (Alembic::AbcGeom::IPolyMeshSchema &schema, ImportSettings *settings)
 
BLI_INLINE MEdge * find_edge (MEdge *edges, int totedge, int v1, int v2)
 
static void read_subd_sample (const std::string &iobject_full_name, ImportSettings *settings, const ISubDSchema &schema, const ISampleSelector &selector, CDStreamConfig &config)
 
void read_mverts (MVert *mverts, const Alembic::AbcGeom::P3fArraySamplePtr positions, const Alembic::AbcGeom::N3fArraySamplePtr normals)
 
static bool set_knots (const FloatArraySamplePtr &knots, float *&nu_knots)
 
static Imath::M44d blend_matrices (const Imath::M44d &m0, const Imath::M44d &m1, const float weight)
 
Imath::M44d get_matrix (const IXformSchema &schema, const float time)
 
template<typename Schema >
static bool has_animations (Schema &schema, ImportSettings *settings)
 
Imath::M44d get_matrix (const Alembic::AbcGeom::IXformSchema &schema, const float time)
 
void read_points_sample (const IPointsSchema &schema, const ISampleSelector &selector, CDStreamConfig &config)
 
void read_points_sample (const Alembic::AbcGeom::IPointsSchema &schema, const Alembic::AbcGeom::ISampleSelector &selector, CDStreamConfig &config)
 
std::string get_id_name (const Object *const ob)
 
std::string get_id_name (const ID *const id)
 
std::string get_valid_abc_name (const char *name)
 
std::string get_object_dag_path_name (const Object *const ob, Object *dupli_parent)
 get_object_dag_path_name returns the name under which the object will be exported in the Alembic file. It is of the form "[../grandparent/]parent/object" if dupli_parent is NULL, or "dupli_parent/[../grandparent/]parent/object" otherwise. More...
 
Imath::M44d convert_matrix_datatype (float mat[4][4])
 
void convert_matrix_datatype (const Imath::M44d &xform, float r_mat[4][4])
 
void split (const std::string &s, const char delim, std::vector< std::string > &tokens)
 
bool has_property (const Alembic::Abc::ICompoundProperty &prop, const std::string &name)
 
float get_weight_and_index (float time, const Alembic::AbcCoreAbstract::TimeSamplingPtr &time_sampling, int samples_number, Alembic::AbcGeom::index_t &i0, Alembic::AbcGeom::index_t &i1)
 
AbcObjectReader * create_reader (const Alembic::AbcGeom::IObject &object, ImportSettings &settings)
 
std::ostream & operator<< (std::ostream &os, const SimpleLogger &logger)
 
template<class TContainer >
bool begins_with (const TContainer &input, const TContainer &match)
 
template<typename Schema >
void get_min_max_time_ex (const Schema &schema, chrono_t &min, chrono_t &max)
 
template<typename Schema >
void get_min_max_time (const Alembic::AbcGeom::IObject &object, const Schema &schema, chrono_t &min, chrono_t &max)
 
 TEST_F (AlembicExportTest, TimeSamplesFullShutterUniform)
 
 TEST_F (AlembicExportTest, TimeSamplesFullShutterDifferent)
 
 TEST_F (AlembicExportTest, TimeSamples180degShutter)
 
 TEST (abc_matrix, CreateRotationMatrixY_YfromZ)
 
 TEST (abc_matrix, CreateRotationMatrixZ_YfromZ)
 
 TEST (abc_matrix, CreateRotationMatrixXYZ_YfromZ)
 
 TEST (abc_matrix, CreateRotationMatrixXYZ_ZfromY)
 
 TEST (abc_matrix, CopyM44AxisSwap_YfromZ)
 
 TEST (abc_matrix, CopyM44AxisSwapWithScale_YfromZ)
 
 TEST (abc_matrix, CopyM44AxisSwap_ZfromY)
 
 TEST (abc_matrix, CopyM44AxisSwapWithScale_ZfromY)
 
 TEST (abc_matrix, CopyM44AxisSwapWithScale_gimbal_ZfromY)
 

Variables

const std::string ABC_CURVE_RESOLUTION_U_PROPNAME
 

Typedef Documentation

◆ index_time_pair_t

using blender::io::alembic::index_time_pair_t = typedef std::pair<Alembic::AbcCoreAbstract::index_t, float>

Definition at line 138 of file abc_util.cc.

Enumeration Type Documentation

◆ AbcAxisSwapMode

Enumerator
ABC_ZUP_FROM_YUP 
ABC_YUP_FROM_ZUP 

Definition at line 74 of file abc_axis_conversion.h.

◆ AbcMatrixMode

Enumerator
ABC_MATRIX_WORLD 
ABC_MATRIX_LOCAL 

Definition at line 89 of file abc_axis_conversion.h.

Function Documentation

◆ ABC_CURVE_RESOLUTION_U_PROPNAME()

const std::string blender::io::alembic::ABC_CURVE_RESOLUTION_U_PROPNAME ( "blender:resolution"  )

◆ add_customdata_cb()

static void* blender::io::alembic::add_customdata_cb ( Mesh *  mesh,
const char *  name,
int  data_type 
)
static

◆ begins_with()

template<class TContainer >
bool blender::io::alembic::begins_with ( const TContainer &  input,
const TContainer &  match 
)

Definition at line 56 of file abc_util.h.

◆ blend_matrices()

static Imath::M44d blender::io::alembic::blend_matrices ( const Imath::M44d &  m0,
const Imath::M44d &  m1,
const float  weight 
)
static

Definition at line 115 of file abc_reader_object.cc.

References interp_m4_m4m4(), and ret.

Referenced by get_matrix().

◆ build_depsgraph()

static void blender::io::alembic::build_depsgraph ( Depsgraph *  depsgraph,
const bool  visible_objects_only 
)
static

◆ convert_matrix_datatype() [1/2]

void blender::io::alembic::convert_matrix_datatype ( const Imath::M44d &  xform,
float  r_mat[4][4] 
)

Definition at line 106 of file abc_util.cc.

◆ convert_matrix_datatype() [2/2]

Imath::M44d blender::io::alembic::convert_matrix_datatype ( float  mat[4][4])

◆ copy_m44_axis_swap()

void blender::io::alembic::copy_m44_axis_swap ( float  dst_mat[4][4],
float  src_mat[4][4],
AbcAxisSwapMode  mode 
)

◆ copy_yup_from_zup() [1/2]

BLI_INLINE void blender::io::alembic::copy_yup_from_zup ( float  yup[3],
const float  zup[3] 
)

◆ copy_yup_from_zup() [2/2]

BLI_INLINE void blender::io::alembic::copy_yup_from_zup ( short  yup[3],
const short  zup[3] 
)

Definition at line 64 of file abc_axis_conversion.h.

◆ copy_zup_from_yup() [1/2]

BLI_INLINE void blender::io::alembic::copy_zup_from_yup ( float  zup[3],
const float  yup[3] 
)

◆ copy_zup_from_yup() [2/2]

BLI_INLINE void blender::io::alembic::copy_zup_from_yup ( short  zup[3],
const short  yup[3] 
)

Definition at line 46 of file abc_axis_conversion.h.

◆ create_abc_metadata()

static MetaData blender::io::alembic::create_abc_metadata ( const Main *  bmain,
double  scene_fps 
)
static

◆ create_archive()

static OArchive* blender::io::alembic::create_archive ( std::ofstream *  abc_ostream,
const std::string &  filename,
MetaData &  abc_metadata 
)
static

◆ create_reader()

AbcObjectReader * blender::io::alembic::create_reader ( const Alembic::AbcGeom::IObject &  object,
ImportSettings &  settings 
)

Definition at line 174 of file abc_util.cc.

Referenced by CacheReader_open_alembic_object().

◆ create_swapped_rotation_matrix()

void blender::io::alembic::create_swapped_rotation_matrix ( float  rot_x_mat[3][3],
float  rot_y_mat[3][3],
float  rot_z_mat[3][3],
const float  euler[3],
AbcAxisSwapMode  mode 
)

◆ create_time_sampling()

static TimeSamplingPtr blender::io::alembic::create_time_sampling ( double  scene_fps,
const AlembicExportParams &  params,
int  nr_of_samples 
)
static

Definition at line 137 of file abc_archive.cc.

References get_shutter_samples(), and params.

Referenced by blender::io::alembic::ABCArchive::ABCArchive().

◆ create_transform_matrix()

void blender::io::alembic::create_transform_matrix ( Object *  obj,
float  r_yup_mat[4][4],
AbcMatrixMode  mode,
Object *  proxy_from 
)

◆ export_endjob()

static void blender::io::alembic::export_endjob ( void *  customdata)
static

Definition at line 184 of file abc_export_capi.cc.

References BLI_delete(), BLI_exists(), data, DEG_graph_free(), G, and WM_set_locked_interface().

Referenced by ABC_export().

◆ export_startjob()

static void blender::io::alembic::export_startjob ( void *  customdata,
short *  stop,
short *  do_update,
float *  progress 
)
static

◆ find_edge()

BLI_INLINE MEdge* blender::io::alembic::find_edge ( MEdge *  edges,
int  totedge,
int  v1,
int  v2 
)

Definition at line 769 of file abc_reader_mesh.cc.

References e, v1, MEdge::v1, v2, and MEdge::v2.

Referenced by blender::io::alembic::AbcSubDReader::readObjectData().

◆ get_config()

CDStreamConfig blender::io::alembic::get_config ( Mesh *  mesh,
const bool  use_vertex_interpolation 
)

◆ get_creases()

static void blender::io::alembic::get_creases ( struct Mesh *  mesh,
std::vector< int32_t > &  indices,
std::vector< int32_t > &  lengths,
std::vector< float > &  sharpnesses 
)
static

Definition at line 491 of file abc_writer_mesh.cc.

References MEdge::crease, e, indices, Mesh::medge, mesh, Mesh::totedge, v1, and v2.

◆ get_frames()

static void blender::io::alembic::get_frames ( double  scene_fps,
const AlembicExportParams &  params,
unsigned int  nr_of_samples,
std::set< double > &  r_frames 
)
static

Definition at line 153 of file abc_archive.cc.

References get_shutter_samples(), and params.

Referenced by blender::io::alembic::ABCArchive::ABCArchive().

◆ get_id_name() [1/2]

std::string blender::io::alembic::get_id_name ( const ID *const  id)

Definition at line 52 of file abc_util.cc.

References get_valid_abc_name(), id, and ID::name.

◆ get_id_name() [2/2]

std::string blender::io::alembic::get_id_name ( const Object *const  ob)

Definition at line 43 of file abc_util.cc.

References Object::id.

Referenced by get_object_dag_path_name().

◆ get_knots()

static void blender::io::alembic::get_knots ( std::vector< float > &  knots,
const int  num_knots,
float *  nu_knots 
)
static

Definition at line 104 of file abc_writer_nurbs.cc.

Referenced by blender::io::alembic::ABCNurbsWriter::do_write().

◆ get_loop_normals()

static void blender::io::alembic::get_loop_normals ( struct Mesh *  mesh,
std::vector< Imath::V3f > &  normals,
bool  has_flat_shaded_poly 
)
static

◆ get_matrix() [1/2]

Imath::M44d blender::io::alembic::get_matrix ( const Alembic::AbcGeom::IXformSchema &  schema,
const float  time 
)

◆ get_matrix() [2/2]

Imath::M44d blender::io::alembic::get_matrix ( const IXformSchema &  schema,
const float  time 
)

◆ get_min_max_time()

template<typename Schema >
void blender::io::alembic::get_min_max_time ( const Alembic::AbcGeom::IObject &  object,
const Schema &  schema,
chrono_t &  min,
chrono_t &  max 
)

◆ get_min_max_time_ex()

template<typename Schema >
void blender::io::alembic::get_min_max_time_ex ( const Schema &  schema,
chrono_t &  min,
chrono_t &  max 
)

Definition at line 62 of file abc_util.h.

References max, and min.

Referenced by get_min_max_time().

◆ get_object_dag_path_name()

std::string blender::io::alembic::get_object_dag_path_name ( const Object *const  ob,
Object *  dupli_parent 
)

get_object_dag_path_name returns the name under which the object will be exported in the Alembic file. It is of the form "[../grandparent/]parent/object" if dupli_parent is NULL, or "dupli_parent/[../grandparent/]parent/object" otherwise.

Parameters
ob
dupli_parent
Returns

Definition at line 75 of file abc_util.cc.

References get_id_name(), and Object::parent.

◆ get_shutter_samples()

static void blender::io::alembic::get_shutter_samples ( double  scene_fps,
const AlembicExportParams &  params,
int  nr_of_samples,
bool  time_relative,
std::vector< double > &  r_samples 
)
static

Definition at line 116 of file abc_archive.cc.

References params, blender::compositor::sample(), and time.

Referenced by create_time_sampling(), and get_frames().

◆ get_topology()

static void blender::io::alembic::get_topology ( struct Mesh *  mesh,
std::vector< int32_t > &  poly_verts,
std::vector< int32_t > &  loop_counts,
bool &  r_has_flat_shaded_poly 
)
static

◆ get_uv_sample()

const char * blender::io::alembic::get_uv_sample ( UVSample &  sample,
const CDStreamConfig &  config,
CustomData *  data 
)

◆ get_uvs()

static void blender::io::alembic::get_uvs ( const CDStreamConfig &  config,
std::vector< Imath::V2f > &  uvs,
std::vector< uint32_t > &  uvidx,
void *  cd_data 
)
static

◆ get_valid_abc_name()

std::string blender::io::alembic::get_valid_abc_name ( const char *  name)

Definition at line 57 of file abc_util.cc.

Referenced by get_id_name().

◆ get_vertices()

static void blender::io::alembic::get_vertices ( struct Mesh *  mesh,
std::vector< Imath::V3f > &  points 
)
static

Definition at line 448 of file abc_writer_mesh.cc.

References copy_yup_from_zup(), e, mesh, Mesh::mvert, Mesh::totvert, and verts.

◆ get_weight_and_index() [1/2]

static void blender::io::alembic::get_weight_and_index ( CDStreamConfig &  config,
Alembic::AbcCoreAbstract::TimeSamplingPtr  time_sampling,
size_t  samples_number 
)
static

◆ get_weight_and_index() [2/2]

float blender::io::alembic::get_weight_and_index ( float  time,
const Alembic::AbcCoreAbstract::TimeSamplingPtr &  time_sampling,
int  samples_number,
Alembic::AbcGeom::index_t &  i0,
Alembic::AbcGeom::index_t &  i1 
)

Definition at line 140 of file abc_util.cc.

References fabs(), i1, max, and time.

◆ has_animated_geom_params()

static bool blender::io::alembic::has_animated_geom_params ( const ICompoundProperty  arbGeomParams)
static

Definition at line 502 of file abc_reader_mesh.cc.

Referenced by has_animations().

◆ has_animations() [1/2]

template<>
bool blender::io::alembic::has_animations ( Alembic::AbcGeom::IPolyMeshSchema &  schema,
ImportSettings *  settings 
)

◆ has_animations() [2/2]

template<typename Schema >
static bool blender::io::alembic::has_animations ( Schema &  schema,
ImportSettings *  settings 
)
static

◆ has_property()

bool blender::io::alembic::has_property ( const Alembic::Abc::ICompoundProperty &  prop,
const std::string &  name 
)

◆ is_valid_animated()

template<class typedGeomParam >
bool blender::io::alembic::is_valid_animated ( const ICompoundProperty  arbGeomParams,
const PropertyHeader &  prop_header 
)

Definition at line 492 of file abc_reader_mesh.cc.

◆ mcols_out_of_bounds_check()

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

Definition at line 294 of file abc_customdata.cc.

Referenced by read_custom_data_mcols().

◆ open_archive()

static IArchive blender::io::alembic::open_archive ( const std::string &  filename,
const std::vector< std::istream * > &  input_streams 
)
static

Definition at line 44 of file abc_reader_archive.cc.

References e.

Referenced by blender::io::alembic::ArchiveReader::ArchiveReader().

◆ operator<<()

std::ostream & blender::io::alembic::operator<< ( std::ostream &  os,
const SimpleLogger &  logger 
)

Pass the content of the logger's stream to the specified std::ostream.

Definition at line 256 of file abc_util.cc.

References blender::io::alembic::SimpleLogger::str().

◆ process_loop_normals()

static void blender::io::alembic::process_loop_normals ( CDStreamConfig &  config,
const N3fArraySamplePtr  loop_normals_ptr 
)
static

◆ process_no_normals()

static void blender::io::alembic::process_no_normals ( CDStreamConfig &  config)
static

◆ process_normals()

static void blender::io::alembic::process_normals ( CDStreamConfig &  config,
const IN3fGeomParam &  normals,
const ISampleSelector &  selector 
)
static

◆ process_vertex_normals()

static void blender::io::alembic::process_vertex_normals ( CDStreamConfig &  config,
const N3fArraySamplePtr  vertex_normals_ptr 
)
static

◆ read_custom_data()

void blender::io::alembic::read_custom_data ( const std::string &  iobject_full_name,
const ICompoundProperty &  prop,
const CDStreamConfig &  config,
const Alembic::Abc::ISampleSelector &  iss 
)

◆ read_custom_data_mcols()

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

◆ read_custom_data_uvs()

static void blender::io::alembic::read_custom_data_uvs ( const ICompoundProperty &  prop,
const PropertyHeader &  prop_header,
const CDStreamConfig &  config,
const Alembic::Abc::ISampleSelector &  iss 
)
static

◆ read_mesh_sample()

static void blender::io::alembic::read_mesh_sample ( const std::string &  iobject_full_name,
ImportSettings *  settings,
const IPolyMeshSchema &  schema,
const ISampleSelector &  selector,
CDStreamConfig &  config 
)
static

◆ read_mpolys()

static void blender::io::alembic::read_mpolys ( CDStreamConfig &  config,
const AbcMeshData &  mesh_data 
)
static

◆ read_mverts() [1/3]

static void blender::io::alembic::read_mverts ( CDStreamConfig &  config,
const AbcMeshData &  mesh_data 
)
static

◆ read_mverts() [2/3]

void blender::io::alembic::read_mverts ( MVert *  mverts,
const Alembic::AbcGeom::P3fArraySamplePtr  positions,
const Alembic::AbcGeom::N3fArraySamplePtr  normals 
)

◆ read_mverts() [3/3]

void blender::io::alembic::read_mverts ( MVert *  mverts,
const P3fArraySamplePtr  positions,
const N3fArraySamplePtr  normals 
)

◆ read_mverts_interp()

static void blender::io::alembic::read_mverts_interp ( MVert *  mverts,
const P3fArraySamplePtr &  positions,
const P3fArraySamplePtr &  ceil_positions,
const float  weight 
)
static

Definition at line 128 of file abc_reader_mesh.cc.

References MVert::bweight, MVert::co, copy_zup_from_yup(), and interp_v3_v3v3().

Referenced by read_mverts().

◆ read_points_sample() [1/2]

void blender::io::alembic::read_points_sample ( const Alembic::AbcGeom::IPointsSchema &  schema,
const Alembic::AbcGeom::ISampleSelector &  selector,
CDStreamConfig &  config 
)

◆ read_points_sample() [2/2]

void blender::io::alembic::read_points_sample ( const IPointsSchema &  schema,
const ISampleSelector &  selector,
CDStreamConfig &  config 
)

◆ read_subd_sample()

static void blender::io::alembic::read_subd_sample ( const std::string &  iobject_full_name,
ImportSettings *  settings,
const ISubDSchema &  schema,
const ISampleSelector &  selector,
CDStreamConfig &  config 
)
static

◆ read_uvs()

static void blender::io::alembic::read_uvs ( const CDStreamConfig &  config,
void *  data,
const Alembic::AbcGeom::V2fArraySamplePtr &  uvs,
const Alembic::AbcGeom::UInt32ArraySamplePtr &  indices 
)
static

◆ read_uvs_params()

BLI_INLINE void blender::io::alembic::read_uvs_params ( CDStreamConfig &  config,
AbcMeshData &  abc_data,
const IV2fGeomParam &  uv,
const ISampleSelector &  selector 
)

◆ set_knots()

static bool blender::io::alembic::set_knots ( const FloatArraySamplePtr &  knots,
float *&  nu_knots 
)
static

Definition at line 74 of file abc_reader_nurbs.cc.

References MEM_callocN.

Referenced by blender::io::alembic::AbcNurbsReader::readObjectData().

◆ split()

void blender::io::alembic::split ( const std::string &  s,
const char  delim,
std::vector< std::string > &  tokens 
)

◆ TEST() [1/9]

blender::io::alembic::TEST ( abc_matrix  ,
CopyM44AxisSwap_YfromZ   
)

Definition at line 145 of file abc_matrix_test.cc.

References ABC_YUP_FROM_ZUP, copy_m44_axis_swap(), and result.

◆ TEST() [2/9]

blender::io::alembic::TEST ( abc_matrix  ,
CopyM44AxisSwap_ZfromY   
)

Definition at line 205 of file abc_matrix_test.cc.

References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), and result.

◆ TEST() [3/9]

blender::io::alembic::TEST ( abc_matrix  ,
CopyM44AxisSwapWithScale_gimbal_ZfromY   
)

Definition at line 261 of file abc_matrix_test.cc.

References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), and result.

◆ TEST() [4/9]

blender::io::alembic::TEST ( abc_matrix  ,
CopyM44AxisSwapWithScale_YfromZ   
)

Definition at line 176 of file abc_matrix_test.cc.

References ABC_YUP_FROM_ZUP, copy_m44_axis_swap(), and result.

◆ TEST() [5/9]

blender::io::alembic::TEST ( abc_matrix  ,
CopyM44AxisSwapWithScale_ZfromY   
)

Definition at line 232 of file abc_matrix_test.cc.

References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), and result.

◆ TEST() [6/9]

blender::io::alembic::TEST ( abc_matrix  ,
CreateRotationMatrixXYZ_YfromZ   
)

Definition at line 65 of file abc_matrix_test.cc.

References ABC_YUP_FROM_ZUP, create_swapped_rotation_matrix(), and unit_m3().

◆ TEST() [7/9]

blender::io::alembic::TEST ( abc_matrix  ,
CreateRotationMatrixXYZ_ZfromY   
)

Definition at line 105 of file abc_matrix_test.cc.

References ABC_ZUP_FROM_YUP, create_swapped_rotation_matrix(), and unit_m3().

◆ TEST() [8/9]

blender::io::alembic::TEST ( abc_matrix  ,
CreateRotationMatrixY_YfromZ   
)

◆ TEST() [9/9]

blender::io::alembic::TEST ( abc_matrix  ,
CreateRotationMatrixZ_YfromZ   
)

◆ TEST_F() [1/3]

blender::io::alembic::TEST_F ( AlembicExportTest  ,
TimeSamples180degShutter   
)

Definition at line 137 of file abc_export_test.cc.

References e, EXPECT_EQ(), and params.

◆ TEST_F() [2/3]

blender::io::alembic::TEST_F ( AlembicExportTest  ,
TimeSamplesFullShutterDifferent   
)

Definition at line 99 of file abc_export_test.cc.

References e, EXPECT_EQ(), and params.

◆ TEST_F() [3/3]

blender::io::alembic::TEST_F ( AlembicExportTest  ,
TimeSamplesFullShutterUniform   
)

Definition at line 71 of file abc_export_test.cc.

References e, EXPECT_EQ(), and params.

◆ write_custom_data()

void blender::io::alembic::write_custom_data ( const OCompoundProperty &  prop,
CDStreamConfig &  config,
CustomData *  data,
int  data_type 
)

◆ write_mcol()

static void blender::io::alembic::write_mcol ( const OCompoundProperty &  prop,
const CDStreamConfig &  config,
void *  data,
const char *  name 
)
static

◆ write_uv()

static void blender::io::alembic::write_uv ( const OCompoundProperty &  prop,
CDStreamConfig &  config,
void *  data,
const char *  name 
)
static

Variable Documentation

◆ ABC_CURVE_RESOLUTION_U_PROPNAME

const std::string blender::io::alembic::ABC_CURVE_RESOLUTION_U_PROPNAME
extern