|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/desktop/dotmatrx.h |
source navigation diff markup identifier search freetext search file search |
1 /**************************************************************************
2 * *
3 * COPYRIGHT NOTICE *
4 * *
5 * This software/database is categorized as "United States Government *
6 * Work" under the terms of the United States Copyright Act. It was *
7 * produced as part of the author's official duties as a Government *
8 * employee and thus can not be copyrighted. This software/database is *
9 * freely available to the public for use without a copyright notice. *
10 * Restrictions can not be placed on its present or future use. *
11 * *
12 * Although all reasonable efforts have been taken to ensure the accuracy *
13 * and reliability of the software and data, the National Library of *
14 * Medicine (NLM) and the U.S. Government do not and can not warrant the *
15 * performance or results that may be obtained by using this software, *
16 * data, or derivative works thereof. The NLM and the U.S. Government *
17 * disclaim any and all warranties, expressed or implied, as to the *
18 * performance, merchantability or fitness for any particular purpose or *
19 * use. *
20 * *
21 * In any work or product derived from this material, proper attribution *
22 * of the author(s) as the source of the software or data would be *
23 * appreciated. *
24 * *
25 **************************************************************************/
26 /* $Revision 1.0$ *
27 * $Log: dotmatrx.h,v $
28 * Revision 6.2 1999/03/17 17:05:49 madden
29 * removed comment from within comment
30 *
31 * Revision 6.1 1998/01/26 17:23:42 madden
32 * Changes to allow color-coding of alignments
33 *
34 * Revision 6.0 1997/08/25 18:21:46 madden
35 * Revision changed to 6.0
36 *
37 * Revision 1.2 1997/01/06 19:26:42 madden
38 * Changed FnPtr to (LIBCALLBACK *callback... in DotMatrixSearch and CreateDotMatrixForm.
39 *
40 * Revision 1.1 1997/01/03 22:01:27 madden
41 * Initial revision
42 *
43 * Initial revision
44 *
45 */
46
47 #include <vibrant.h>
48 #include <picture.h>
49 #include <viewer.h>
50 #include <objseq.h>
51 #include <objsset.h>
52
53 #ifndef __DOTMATRIX__
54 #define __DOTMATRIX__
55
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59
60 typedef struct dotmatrix_alignment {
61 struct dotmatrix_alignment PNTR next;
62 SeqAlignPtr sap;
63 Uint1Ptr color; /* Defined in picture.[ch] */
64 } DotMatrixAlignment, PNTR DotMatrixAlignmentPtr;
65
66 DotMatrixAlignmentPtr LIBCALL DotMatrixAlignmentNew (SeqAlignPtr sap, Uint1Ptr color, DotMatrixAlignmentPtr PNTR old);
67
68 Int2 LIBCALLBACK DotMatrixGenFunc (Pointer data);
69
70 ForM LIBCALL CreateDotMatrixForm PROTO((SeqAlignPtr sap, int (LIBCALLBACK *callback)PROTO((SeqAlignPtr seqalign))));
71
72 ForM LIBCALL CreateDotMatrixFormEx (DotMatrixAlignmentPtr dmap, int (LIBCALLBACK *callback)PROTO((SeqAlignPtr seqalign)));
73
74 Int2 LIBCALL DotMatrixSearch PROTO((SeqIdPtr sip1, SeqIdPtr sip2, int (LIBCALLBACK *callback)PROTO((SeqAlignPtr seqalign))));
75
76 #define REGISTER_SEQALIGN_DOT_MATRIX ObjMgrProcLoad (OMPROC_FILTER, \
77 "Dot Matrix", "DotMatrix", OBJ_SEQALIGN, 0, OBJ_SEQALIGN, 0, NULL, \
78 DotMatrixGenFunc, PROC_PRIORITY_DEFAULT)
79
80 #ifdef __cplusplus
81 }
82 #endif
83 #endif /* !__DOTMATRIX__ */
84 |
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |