All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
chopper.h
Go to the documentation of this file.
1 /* -*-C-*-
2  ********************************************************************************
3  *
4  * File: chopper.h (Formerly chopper.h)
5  * Description:
6  * Author: Mark Seaman, SW Productivity
7  * Created: Fri Oct 16 14:37:00 1987
8  * Modified: Wed May 15 14:24:26 1991 (Mark Seaman) marks@hpgrlt
9  * Language: C
10  * Package: N/A
11  * Status: Reusable Software Component
12  *
13  * (c) Copyright 1987, Hewlett-Packard Company.
14  ** Licensed under the Apache License, Version 2.0 (the "License");
15  ** you may not use this file except in compliance with the License.
16  ** You may obtain a copy of the License at
17  ** http://www.apache.org/licenses/LICENSE-2.0
18  ** Unless required by applicable law or agreed to in writing, software
19  ** distributed under the License is distributed on an "AS IS" BASIS,
20  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  ** See the License for the specific language governing permissions and
22  ** limitations under the License.
23  *
24  *********************************************************************************/
25 
26 #ifndef CHOPPER_H
27 #define CHOPPER_H
28 
29 #include "cutil.h"
30 #include "matrix.h"
31 #include "seam.h"
32 #include "stopper.h"
33 
34 
35 void preserve_outline(EDGEPT *start);
36 
37 void preserve_outline_tree(TESSLINE *srcline);
38 
40 
41 void restore_outline_tree(TESSLINE *srcline);
42 
43 int any_shared_split_points(const GenericVector<SEAM*>& seams, SEAM *seam);
44 
45 int check_blob(TBLOB *blob);
46 
47 inT16 total_containment(TBLOB *blob1, TBLOB *blob2);
48 #endif
Definition: blobs.h:261
inT16 total_containment(TBLOB *blob1, TBLOB *blob2)
Definition: chopper.cpp:656
void preserve_outline(EDGEPT *start)
Definition: chopper.cpp:67
int check_blob(TBLOB *blob)
Definition: chopper.cpp:298
Definition: blobs.h:76
void preserve_outline_tree(TESSLINE *srcline)
Definition: chopper.cpp:83
Definition: seam.h:44
EDGEPT * restore_outline(EDGEPT *start)
Definition: chopper.cpp:97
int any_shared_split_points(const GenericVector< SEAM * > &seams, SEAM *seam)
Definition: chopper.cpp:282
void restore_outline_tree(TESSLINE *srcline)
Definition: chopper.cpp:123
short inT16
Definition: host.h:100