~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina6/tina-tools/tinatool/tlmedical/tlmed_TalDef.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**********
  2  * 
  3  * Copyright (c) 2003, Division of Imaging Science and Biomedical Engineering,
  4  * University of Manchester, UK.  All rights reserved.
  5  * 
  6  * Redistribution and use in source and binary forms, with or without modification, 
  7  * are permitted provided that the following conditions are met:
  8  * 
  9  *   . Redistributions of source code must retain the above copyright notice, 
 10  *     this list of conditions and the following disclaimer.
 11  *    
 12  *   . Redistributions in binary form must reproduce the above copyright notice,
 13  *     this list of conditions and the following disclaimer in the documentation 
 14  *     and/or other materials provided with the distribution.
 15  * 
 16  *   . Neither the name of the University of Manchester nor the names of its
 17  *     contributors may be used to endorse or promote products derived from this 
 18  *     software without specific prior written permission.
 19  * 
 20  * 
 21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
 25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
 26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 31  * POSSIBILITY OF SUCH DAMAGE.
 32  *
 33  **********
 34  * 
 35  * Program :    TINA
 36  * File    : 
 37  * Date    :  
 38  * Version : 
 39  * CVS Id  : 
 40  *
 41  * Author  : Legacy TINA
 42  *
 43  * Notes :
 44  *
 45  *********
 46 */
 47 
 48 #ifndef TINA_TAL_DEF_HDR
 49 #define TINA_TAL_DEF_HDR
 50 
 51 #include <stdio.h>
 52 
 53 #ifdef __cplusplus
 54 extern "C" {
 55 #endif /* __cplusplus */
 56 
 57 
 58 /* structures definitions */
 59 
 60 /* For holding database data */
 61 typedef struct listentry {
 62   int x;
 63   int y;
 64   int z;
 65   int field1;
 66   int field2;
 67   int field3;
 68   int field4;
 69   int field5;
 70 } ListEntry;
 71 
 72 /* For keeping track of loaded files */
 73 typedef struct Loadedfiles {
 74   char file_x[5];
 75   ListEntry *top;
 76   struct Loadedfiles *next;
 77 }Loaded_Files;
 78 
 79 /* For holding data input manually using gui */
 80 typedef struct inputdata {
 81   char x_file[5];
 82   int x;
 83   int y;
 84   int z;
 85   struct inputdata *next;
 86 } InputData;
 87 
 88 /* define definitions */
 89 
 90 #define MAXRECORDS 42210
 91 #define MINXFILES -70
 92 #define MAXXFILES 71
 93 #define MINYFILES -102
 94 #define MAXYFILES 70
 95 #define MINZFILES -42
 96 #define MAXZFILES 68
 97 #define LEXSIZE 153
 98 #define BUFSIZE 80
 99 #define DB_RECORD 0
100 #define FILE_RECORD 1
101 #define COORD_RECORD 2
102 #define FINAL 0
103 #define INLIST 1
104 
105 
106 static char *pLexRecords[LEXSIZE]= { "No data", "Inter-Hemispheric", "Left Cerebrum",
107 "Right Cerebrum", "Right Cerebellum", "Right Brainstem",
108 "Left Brainstem", "Left Cerebellum", "Posterior Lobe",
109 "Anterior Lobe", "Frontal-Temporal Space", "Limbic Lobe",
110 "Medulla", "Pons", "Midbrain", "Sub-lobar", "Occipital Lobe",
111 "Temporal Lobe", "Parietal Lobe", "Frontal Lobe",
112 "Posterior Cingulate", "Anterior Cingulate", "Subcallosal Gyrus",
113 "Sub-Gyral", "Transverse Temporal Gyrus", "Uncus",
114 "Rectal Gyrus", "Fusiform Gyrus", "Inferior Occipital Gyrus",
115 "Inferior Temporal Gyrus", "Insula", "Parahippocampal Gyrus",
116 "Lingual Gyrus", "Middle Occipital Gyrus", "Orbital Gyrus",
117 "Middle Temporal Gyrus", "Superior Temporal Gyrus",
118 "Superior Occipital Gyrus", "Precentral Gyrus",
119 "Inferior Frontal Gyrus", "Cuneus", "Angular Gyrus",
120 "Supramarginal Gyrus", "Cingulate Gyrus",
121 "Inferior Parietal Lobule","Precuneus",
122 "Superior Parietal Lobule", "Middle Frontal Gyrus",
123 "Paracentral Lobule", "Postcentral Gyrus", "Precentral Gyrus",
124 "Superior Frontal Gyrus", "Medial Frontal Gyrus",
125 "Uvula of Vermis", "Pyramis of Vermis", "Tuber of Vermis",
126 "Declive of Vermis", "Culmen of Vermis",
127 "Cerebellar Tonsil", "Inferior Semi-Lunar Lobule", "Fastigium",
128 "Nodule", "Uvula", "Pyramis" , "Tuber", "Declive", "Culmen",
129 "Cerebellar Lingual", "Hippocampus", "Extra-Nuclear",
130 "Lentiform Nucleus", "Amygdala", "Hypothalamus",
131 "Red Nucleus", "Substania Nigra", "Claustrum", "Thalamus",
132 "Caudate", "Cerebro-Spinal Fluid", "Gray Matter",
133 "White Matter", "Brodmann area 1", "Brodmann area 2",
134 "Brodmann area 3", "Brodmann area 4", "Brodmann area 5",
135 "Brodmann area 6", "Brodmann area 7", "Brodmann area 8",
136 "Brodmann area 9", "Brodmann area 10", "Brodmann area 11",
137 "Brodmann area 12", "Brodmann area 13", "Brodmann area 17",
138 "Brodmann area 18", "Brodmann area 19", "Brodmann area 20",
139 "Brodmann area 21", "Brodmann area 22", "Brodmann area 23",
140 "Brodmann area 24", "Brodmann area 25", "Brodmann area 27",
141 "Brodmann area 28", "Brodmann area 29", "Brodmann area 30",
142 "Brodmann area 31", "Brodmann area 32", "Brodmann area 33",
143 "Brodmann area 34", "Brodmann area 35", "Brodmann area 36",
144 "Brodmann area 37", "Brodmann area 38", "Brodmann area 39",
145 "Brodmann area 40", "Brodmann area 41", "Brodmann area 42",
146 "Brodmann area 43", "Brodmann area 44", "Brodmann area 45",
147 "Brodmann area 46", "Brodmann area 47", "Caudate Tail",
148 "Caudate Body", "Caudate Head", "Dentate",
149 "Ventral Anterior Nucleus", "Ventral Posterior Medial Nucleus",
150 "Ventral Posterior Lateral Nucleus", "Medial Dorsal Nucleus",
151 "Lateral Dorsal Nucleus", "Pulvinar",
152 "Lateral Posterior Nucleus", "Ventral Lateral Nucleus",
153 "Midline Nucleus", "Anterior Nucleus", "Mammillary Body",
154 "Fourth Ventricle", "Optic Tract", "Anterior Commissure",
155 "Corpus Callosum", "Third Ventricle", "Medial Globus Pallidus",
156 "Lateral Globus Pallidus", "Nucleus Accumbens Septi",
157 "Medial Geniculum Body", "Lateral Geniculum Body",
158 "Subthalamic Nucleus", "Lateral Ventricle", "Putamen",
159 "No Data" };
160 
161 
162 
163 
164 #ifdef __cplusplus
165 }
166 #endif /* __cplusplus */
167 
168 #endif /* TINA_TAL_DEF_HDR */
169 
170 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.