35 BCAnimationCurveMap::iterator it;
40 if (reference && reference->
id.
us == 0) {
67 BCSampleMap::iterator it;
68 for (it = sampleMap.begin(); it != sampleMap.end(); ++it) {
132 int get_frames(std::vector<int> &frames)
const;
143 BCExportSettings &export_settings;
148 void generate_transforms(
Object *ob,
149 const std::string prep,
161 BCSample &sample_object(
Object *ob,
int frame_index,
bool for_opensim);
162 void update_animation_curves(
BCAnimation &animation,
166 void check_property_is_animated(
167 BCAnimation &animation,
float *ref,
float *val, std::string data_path,
int length);
175 void sample_scene(BCExportSettings &export_settings,
bool keyframe_at_end);
186 std::set<Object *> &candidates);
189 std::set<Object *> &animated_objects);
std::map< BCCurveKey, BCAnimationCurve * > BCAnimationCurveMap
std::vector< float > BCFrames
std::set< float > BCFrameSet
std::map< Object *, BCAnimation * > BCAnimationObjectMap
std::map< int, BCSampleFrame > BCSampleFrameMap
std::map< int, const BCSample * > BCFrameSampleMap
std::map< Object *, BCSample * > BCSampleMap
std::map< int, const BCMatrix * > BCMatrixSampleMap
Blender kernel action and pose functionality.
struct Main * CTX_data_main(const bContext *C)
struct ID * BKE_id_copy(struct Main *bmain, const struct ID *id)
void id_us_min(struct ID *id)
void BKE_id_delete(struct Main *bmain, void *idv) ATTR_NONNULL()
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to curves
void get_object_frames(BCFrames &frames, Object *ob)
static void find_depending_animated(std::set< Object * > &animated_objects, std::set< Object * > &candidates)
bool get_bone_samples(BCMatrixSampleMap &samples, Object *ob, Bone *bone)
static void get_animated_from_export_set(std::set< Object * > &animated_objects, LinkNode &export_set)
void get_bone_frames(BCFrames &frames, Object *ob, Bone *bone)
BCAnimationSampler(BCExportSettings &export_settings, BCObjectSet &object_set)
void add_object(Object *ob)
void sample_scene(BCExportSettings &export_settings, bool keyframe_at_end)
static bool is_animated_by_constraint(Object *ob, ListBase *conlist, std::set< Object * > &animated_objects)
bool get_object_samples(BCMatrixSampleMap &samples, Object *ob)
BCAnimationCurveMap * get_curves(Object *ob)
BCAnimation(bContext *C, Object *ob)
BCAnimationCurveMap curve_map
BCSample & add(Object *ob, int frame_index)
int get_frames(std::vector< int > &frames) const
BCSampleFrame * get_frame(int frame_index)
int get_samples(Object *ob, BCFrameSampleMap &samples) const
~BCSampleFrameContainer()
int get_matrices(Object *ob, BCMatrixSampleMap &samples) const
const BCMatrix * get_sample_matrix(Object *ob) const
bool has_sample_for(Object *ob) const
const BCSample * get_sample(Object *ob) const
BCSample & add(Object *ob)
std::set< Object * > BCObjectSet
T length(const vec_base< T, Size > &a)