//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(979, "MovieTrackingSettings", 64)] public struct MovieTrackingSettings { [DNAFieldAttribute(0, "short", "default_motion_model", "short", 2, false, 0)] public short default_motion_model; [DNAFieldAttribute(1, "short", "default_algorithm_flag", "short", 2, false, 2)] public short default_algorithm_flag; [DNAFieldAttribute(2, "float", "default_minimum_correlation", "float", 4, false, 4)] public float default_minimum_correlation; [DNAFieldAttribute(3, "short", "default_pattern_size", "short", 2, false, 8)] public short default_pattern_size; [DNAFieldAttribute(4, "short", "default_search_size", "short", 2, false, 10)] public short default_search_size; [DNAFieldAttribute(5, "short", "default_frames_limit", "short", 2, false, 12)] public short default_frames_limit; [DNAFieldAttribute(6, "short", "default_margin", "short", 2, false, 14)] public short default_margin; [DNAFieldAttribute(7, "short", "default_pattern_match", "short", 2, false, 16)] public short default_pattern_match; [DNAFieldAttribute(8, "short", "default_flag", "short", 2, false, 18)] public short default_flag; [DNAFieldAttribute(9, "float", "default_weight", "float", 4, false, 20)] public float default_weight; [DNAFieldAttribute(10, "short", "motion_flag", "short", 2, false, 24)] public short motion_flag; [DNAFieldAttribute(11, "short", "speed", "short", 2, false, 26)] public short speed; [DNAFieldAttribute(12, "int", "keyframe1", "int", 4, false, 28)] public int keyframe1; [DNAFieldAttribute(13, "int", "keyframe2", "int", 4, false, 32)] public int keyframe2; [DNAFieldAttribute(14, "int", "reconstruction_flag", "int", 4, false, 36)] public int reconstruction_flag; [DNAFieldAttribute(15, "int", "refine_camera_intrinsics", "int", 4, false, 40)] public int refine_camera_intrinsics; [DNAFieldAttribute(16, "float", "dist", "float", 4, false, 44)] public float dist; [DNAFieldAttribute(17, "int", "clean_frames", "int", 4, false, 48)] public int clean_frames; [DNAFieldAttribute(18, "int", "clean_action", "int", 4, false, 52)] public int clean_action; [DNAFieldAttribute(19, "float", "clean_error", "float", 4, false, 56)] public float clean_error; [DNAFieldAttribute(20, "float", "object_distance", "float", 4, false, 60)] public float object_distance; public MovieTrackingSettings() { this.default_motion_model = default; this.default_algorithm_flag = default; this.default_minimum_correlation = default; this.default_pattern_size = default; this.default_search_size = default; this.default_frames_limit = default; this.default_margin = default; this.default_pattern_match = default; this.default_flag = default; this.default_weight = default; this.motion_flag = default; this.speed = default; this.keyframe1 = default; this.keyframe2 = default; this.reconstruction_flag = default; this.refine_camera_intrinsics = default; this.dist = default; this.clean_frames = default; this.clean_action = default; this.clean_error = default; this.object_distance = default; } public MovieTrackingSettings( short default_motion_model, short default_algorithm_flag, float default_minimum_correlation, short default_pattern_size, short default_search_size, short default_frames_limit, short default_margin, short default_pattern_match, short default_flag, float default_weight, short motion_flag, short speed, int keyframe1, int keyframe2, int reconstruction_flag, int refine_camera_intrinsics, float dist, int clean_frames, int clean_action, float clean_error, float object_distance) { this.default_motion_model = default_motion_model; this.default_algorithm_flag = default_algorithm_flag; this.default_minimum_correlation = default_minimum_correlation; this.default_pattern_size = default_pattern_size; this.default_search_size = default_search_size; this.default_frames_limit = default_frames_limit; this.default_margin = default_margin; this.default_pattern_match = default_pattern_match; this.default_flag = default_flag; this.default_weight = default_weight; this.motion_flag = motion_flag; this.speed = speed; this.keyframe1 = keyframe1; this.keyframe2 = keyframe2; this.reconstruction_flag = reconstruction_flag; this.refine_camera_intrinsics = refine_camera_intrinsics; this.dist = dist; this.clean_frames = clean_frames; this.clean_action = clean_action; this.clean_error = clean_error; this.object_distance = object_distance; } } }