#include "seam.h"
#include "blobs.h"
#include "callcpp.h"
#include "structures.h"
Defines | |
#define | NUM_STARTING_SEAMS 20 |
Functions | |
makestructure (newseam, free_seam, SEAM) | |
point_in_split | |
bool | point_in_split (SPLIT *split, EDGEPT *point1, EDGEPT *point2) |
point_in_seam | |
bool | point_in_seam (SEAM *seam, SPLIT *split) |
point_used_by_split | |
Return whether this particular EDGEPT * is used in a given split.
| |
bool | point_used_by_split (SPLIT *split, EDGEPT *point) |
point_used_by_seam | |
Return whether this particular EDGEPT * is used in a given seam.
| |
bool | point_used_by_seam (SEAM *seam, EDGEPT *point) |
add_seam | |
SEAMS | add_seam (SEAMS seam_list, SEAM *seam) |
combine_seam | |
void | combine_seams (SEAM *dest_seam, SEAM *source_seam) |
delete_seam | |
void | delete_seam (void *arg) |
start_seam_list | |
SEAMS | start_seam_list (TBLOB *blobs) |
free_seam_list | |
void | free_seam_list (SEAMS seam_list) |
test_insert_seam | |
bool | test_insert_seam (SEAMS seam_list, int index, TBLOB *left_blob, TBLOB *first_blob) |
insert_seam | |
SEAMS | insert_seam (SEAMS seam_list, int index, SEAM *seam, TBLOB *left_blob, TBLOB *first_blob) |
account_splits_right | |
int | account_splits_right (SEAM *seam, TBLOB *blob) |
account_splits_left | |
int | account_splits_left (SEAM *seam, TBLOB *blob, TBLOB *end_blob) |
void | account_splits_left_helper (SEAM *seam, TBLOB *blob, TBLOB *end_blob, inT32 *depth, inT8 *width, inT8 *found_em) |
find_split_in_blob | |
bool | find_split_in_blob (SPLIT *split, TBLOB *blob) |
join_two_seams | |
SEAM * | join_two_seams (SEAM *seam1, SEAM *seam2) |
new_seam | |
SEAM * | new_seam (PRIORITY priority, const TPOINT &location, SPLIT *split1, SPLIT *split2, SPLIT *split3) |
new_seam_list | |
SEAMS | new_seam_list () |
print_seam | |
void | print_seam (const char *label, SEAM *seam) |
print_seams | |
void | print_seams (const char *label, SEAMS seams) |
shared_split_points | |
int | shared_split_points (SEAM *seam1, SEAM *seam2) |
void | break_pieces (TBLOB *blobs, SEAMS seams, inT16 start, inT16 end) |
void | join_pieces (TBLOB *piece_blobs, SEAMS seams, inT16 start, inT16 end) |
void | hide_seam (SEAM *seam) |
void | hide_edge_pair (EDGEPT *pt1, EDGEPT *pt2) |
void | reveal_seam (SEAM *seam) |
void | reveal_edge_pair (EDGEPT *pt1, EDGEPT *pt2) |
#define NUM_STARTING_SEAMS 20 |
void account_splits_left_helper | ( | SEAM * | seam, | |
TBLOB * | blob, | |||
TBLOB * | end_blob, | |||
inT32 * | depth, | |||
inT8 * | width, | |||
inT8 * | found_em | |||
) |
void delete_seam | ( | void * | arg | ) |
void free_seam_list | ( | SEAMS | seam_list | ) |
void hide_seam | ( | SEAM * | seam | ) |
SEAMS insert_seam | ( | SEAMS | seam_list, | |
int | index, | |||
SEAM * | seam, | |||
TBLOB * | left_blob, | |||
TBLOB * | first_blob | |||
) |
makestructure | ( | newseam | , | |
free_seam | , | |||
SEAM | ||||
) |
SEAM* new_seam | ( | PRIORITY | priority, | |
const TPOINT & | location, | |||
SPLIT * | split1, | |||
SPLIT * | split2, | |||
SPLIT * | split3 | |||
) |
SEAMS new_seam_list | ( | ) |
void print_seam | ( | const char * | label, | |
SEAM * | seam | |||
) |
void print_seams | ( | const char * | label, | |
SEAMS | seams | |||
) |
void reveal_seam | ( | SEAM * | seam | ) |