Blender V4.3
abc_util.h File Reference
#include "abc_reader_object.h"
#include <Alembic/Abc/Foundation.h>
#include <Alembic/Abc/ICompoundProperty.h>
#include <Alembic/Abc/IObject.h>
#include <Alembic/Abc/ISampleSelector.h>
#include <Alembic/Abc/TypedArraySample.h>
#include <Alembic/AbcCoreAbstract/Foundation.h>
#include <Alembic/AbcCoreAbstract/TimeSampling.h>
#include <Alembic/AbcGeom/IXform.h>
#include <fstream>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  blender::io::alembic::SampleInterpolationSettings
 
class  blender::io::alembic::ScopeTimer
 
class  blender::io::alembic::SimpleLogger
 

Namespaces

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

Macros

#define SCOPE_TIMER(message)
 
#define ABC_LOG(logger)   logger.stream()
 

Functions

std::string blender::io::alembic::get_id_name (const ID *const id)
 
std::string blender::io::alembic::get_id_name (const Object *const ob)
 
std::string blender::io::alembic::get_valid_abc_name (const char *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.
 
Imath::M44d blender::io::alembic::convert_matrix_datatype (const float mat[4][4])
 
void blender::io::alembic::convert_matrix_datatype (const Imath::M44d &xform, float r_mat[4][4])
 
void blender::io::alembic::split (const std::string &s, const char delim, std::vector< std::string > &tokens)
 
template<class TContainer >
bool blender::io::alembic::begins_with (const TContainer &input, const TContainer &match)
 
template<typename Schema >
void blender::io::alembic::get_min_max_time_ex (const Schema &schema, chrono_t &min, chrono_t &max)
 
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)
 
bool blender::io::alembic::has_property (const Alembic::Abc::ICompoundProperty &prop, const std::string &name)
 
V3fArraySamplePtr blender::io::alembic::get_velocity_prop (const Alembic::Abc::ICompoundProperty &schema, const Alembic::AbcGeom::ISampleSelector &selector, const std::string &name)
 
std::optional< SampleInterpolationSettingsblender::io::alembic::get_sample_interpolation_settings (const Alembic::AbcGeom::ISampleSelector &selector, const Alembic::AbcCoreAbstract::TimeSamplingPtr &time_sampling, size_t samples_number)
 
AbcObjectReaderblender::io::alembic::create_reader (const Alembic::AbcGeom::IObject &object, ImportSettings &settings)
 
std::ostream & blender::io::alembic::operator<< (std::ostream &os, const SimpleLogger &logger)
 

Macro Definition Documentation

◆ ABC_LOG

#define ABC_LOG ( logger)    logger.stream()

Definition at line 178 of file abc_util.h.

◆ SCOPE_TIMER

#define SCOPE_TIMER ( message)

Definition at line 143 of file abc_util.h.

Referenced by import_endjob(), and import_file().