14#include <Alembic/Abc/Foundation.h>
15#include <Alembic/Abc/ICompoundProperty.h>
16#include <Alembic/Abc/IObject.h>
17#include <Alembic/Abc/ISampleSelector.h>
18#include <Alembic/Abc/TypedArraySample.h>
19#include <Alembic/AbcCoreAbstract/Foundation.h>
20#include <Alembic/AbcCoreAbstract/TimeSampling.h>
21#include <Alembic/AbcGeom/IXform.h>
29using Alembic::Abc::chrono_t;
30using Alembic::Abc::V3fArraySamplePtr;
42 "blender:active_color_attribute";
44 "blender:default_color_attribute";
60void split(
const std::string &s,
char delim, std::vector<std::string> &tokens);
62template<
class TContainer>
bool begins_with(
const TContainer &input,
const TContainer &match)
64 return input.size() >= match.size() && std::equal(match.begin(), match.end(), input.begin());
67bool has_property(
const Alembic::Abc::ICompoundProperty &prop,
const std::string &name);
69 const Alembic::AbcGeom::ISampleSelector &selector,
70 const std::string &name);
78 Alembic::AbcGeom::index_t
index;
92 const Alembic::AbcGeom::ISampleSelector &selector,
93 const Alembic::AbcCoreAbstract::TimeSamplingPtr &time_sampling,
94 size_t samples_number);
bool begins_with(const TContainer &input, const TContainer &match)
std::string get_valid_abc_name(const char *name)
AbcFaceVaryingInterpolateBoundary
static const std::string ABC_ACTIVE_COLOR_ATTRIBUTE_PROPNAME
V3fArraySamplePtr get_velocity_prop(const Alembic::Abc::ICompoundProperty &schema, const Alembic::AbcGeom::ISampleSelector &selector, const std::string &name)
AbcObjectReader * create_reader(const AbcReaderConstructorArgs &args)
bool is_reserved_attribute_name(const StringRefNull name)
static const std::string ABC_CURVE_RESOLUTION_U_PROPNAME
Imath::M44d convert_matrix_datatype(const float mat[4][4])
bool has_property(const Alembic::Abc::ICompoundProperty &prop, const std::string &name)
static const std::string ABC_DEFAULT_COLOR_ATTRIBUTE_PROPNAME
static const std::string propNameOriginalCoordinates
std::optional< SampleInterpolationSettings > get_sample_interpolation_settings(const Alembic::AbcGeom::ISampleSelector &selector, const Alembic::AbcCoreAbstract::TimeSamplingPtr &time_sampling, size_t samples_number)
void split(const std::string &s, const char delim, std::vector< std::string > &tokens)
Alembic::AbcGeom::index_t index
Alembic::AbcGeom::index_t ceil_index