aaf2.misc module

class aaf2.misc.TaggedValueHelper(poperty_vector)

Bases: object

get(key, default=None)
items()
append(value)
class aaf2.misc.TaggedValue(name=None, value=None, value_typedef=None)

Bases: aaf2.core.AAFObject

class_id = 0d010101-0101-3f00-060e-2b3402060101
name
value
value_typedef
encode_value(value, value_typedef=None)
class aaf2.misc.Parameter(*args, **kwargs)

Bases: aaf2.core.AAFObject

class_id = 0d010101-0101-3c00-060e-2b3402060101
auid
parameterdef
name
unique_property
unique_key
class aaf2.misc.ConstantValue(parameterdef=None, value=None)

Bases: aaf2.misc.Parameter

class_id = 0d010101-0101-3d00-060e-2b3402060101
typedef
value_at(t)
value
aaf2.misc.lerp(p0, p1, t)
aaf2.misc.cubic_bezier(p0, p1, p2, p3, t)
aaf2.misc.cubic_bezier_interpolate(p0, p1, p2, p3, t)
aaf2.misc.sign_no_zero(v)
aaf2.misc.calculate_tangent(p0, p1, p2, in_tangent=False)
aaf2.misc.cubic_interpolate(p0, p1, p2, p3, t)
aaf2.misc.mc_trapezoidal_integrate(f, a, b, n=5)
aaf2.misc.integrate_iter(speed_map, start, end)
aaf2.misc.generate_offset_map(speed_map, start=0, end=None)
class aaf2.misc.VaryingValue(parameterdef=None, interperlationdef=None)

Bases: aaf2.misc.Parameter

class_id = 0d010101-0101-3e00-060e-2b3402060101
interpolationdef
interpolation
typedef
add_keyframe(time, value, edit_hint=None)
value_at(t)
nearest_index(t)

binary search for index of point.time <= t

class aaf2.misc.ControlPoint(*args, **kwargs)

Bases: aaf2.core.AAFObject

class_id = 0d010101-0101-1900-060e-2b3402060101
time
value
point_properties
base_frame
tangents